[Libav-user] Frame number

Nicolas George nicolas.george at normalesup.org
Thu Jun 28 10:52:46 CEST 2012


Le primidi 11 messidor, an CCXX, Jonas Elofsson a écrit :
> But, what I cannot find is a way to see what frame (displayed framenumber)
> I just decoded. Coded framenumber I can see, but they are (of course) not
> useable directly, and also are not available for all formats. Displayed
> framenumber is not working, either always 0, 0x80000000... or other
> none-telling values.

Please trim your code to the shortest possible example showing your problem
and post it here.

> What I need is a good, solid way to always be able to identify the current
> frame number.

Note that for most modern formats, "frame number" is an irrelevant
information. You need to look at the timestamps.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120628/3f95eea6/attachment.asc>


More information about the Libav-user mailing list