[FFmpeg-user] How to get encoded AVPackets in display order?

Nicolas George nicolas.george at normalesup.org
Sun Jun 10 21:02:51 CEST 2012


Le tridi 23 prairial, an CCXX, Unga a écrit :
> The documentation for the avcodec_encode_video2() says:
> "The output packet does not necessarily contain data for the most recent 
> frame, as encoders can delay and reorder input frames internally as 
> needed."
> 
> I'm interested getting output AVPackets in display order, that is, same
> input order as input AVFrames.

Why would you want that, exactly?

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/ffmpeg-user/attachments/20120610/7b4ad5fe/attachment.asc>


More information about the ffmpeg-user mailing list