Log in

View Full Version : Frame Accurate Editing


DarkZeros
21st November 2010, 13:56
I'm currently trying to encode a h264 video with qpfile, because after the encode, i will add chapters and I need to be able to jump exactly to that frame.
But My problem is not with the h264 coding.

When I decode (play) the original video (AVC, BR video), I can't do a frame accurate play. I open the video with a avs script, and mark the frame with "ShowFrameNumber()". The problem is that when I jump to X frame in the video, for example, the first time I jump i get the frame I want at 900. But If I close the video and open it again, I get the same frame at 910 (I could be 898 o 902, just an example).

Is there any way I can have a frame accorate decoding? So I can pick my desired "I" frames for qpfile?

Thanks!

Gavino
22nd November 2010, 01:19
Use a frame-accurate source filter (eg FFMS2) to open the file in your script.
(I expect you are using DirectShowSource which is often not frame-accurate.)

DarkZeros
22nd November 2010, 10:00
Thank you, I supose it was smt like that.
I am now using DGAVCIndex and I think I get what I needed.