[Libav-user] Frame order from TS demux - mpeg2video vs h264

Carl Eugen Hoyos cehoyos at ag.or.at
Wed May 2 08:10:46 CEST 2012

jettoblack <jettoblack at ...> writes:

> When it contains H.264 video codec, the pts and
> incremental order from the demuxer are definitely not in 
> picture display order.  coded_picture_number is giving the 
> closest result but it is wrong on approx. every 150th 
> frame (key frames?).

Are you using the parser?
(Do you see the same results with ffmpeg if you configure 
with --disable-parser=h264 ?)

Carl Eugen

More information about the Libav-user mailing list