On Wed, 28 Jan 2015 14:34:57 +0100
Nicolas George <[email protected]> wrote:

> Le nonidi 9 pluviôse, an CCXXIII, Max Vlasov a écrit :
> > The idea was to read all packets saving pts and keyframe flag (without
> > decoding) and make a list of them in order of ptses. After this we have a
> > ready FrameCount and when one needs to jump to an exact frame number
> 
> Why do people here always want to work with frame numbers? Frame numbers are
> unreliable, they are a remnant of the time where containers could only do
> constant FPS.
> 
> The correct way of identifying a frame is not its number, it is its
> timestamp.
> 
> Regards,
> 

Except when they're not unique. Try seeking in a file that has
timestamp resets with lavf.
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to