Le tridi 13 prairial, an CCXX, jettoblack a écrit : > I used the output-example.c as a starting point, but it generates fake > video/audio data in temporal order. In my case I am demuxing a IPB encoded > video so the frames are decoded out of order.
The frames are decoded out of order internally, but you do not need to know that: avcodec_decode_video42() returns them in presentation order. And, on the other direction, avcodec_encode_video42() accepts the frames in presentation order and returns the packets in muxing order. Regards, -- Nicolas George _______________________________________________ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user