[MPlayer-users] Problems with h.264 and lavf demuxer (paff/mbaff?)

Marco Munderloh munderl at tnt.uni-hannover.de
Wed Mar 5 18:35:22 CET 2014

> If I remove all NALUs at the beginning of the h264 elementary
> stream until the SPS/PPS (offset 17756), the file is played from
> the first IDR frame on error free with both demuxer!

Same error-free behavior can be achieved by removing the
TS packets until the second video PES header.

So is it the philosophy of ffmpeg / lavf demuxer to be able to play
mpeg TS error free, sync to the next PPS until playback, and consider
this a bug or is it assumed to be a task of the user to provide TS
streams in which the first video PES must necessarily start with an
SSP/PPS/IDR? In the later case I would write a little tool that syncs
the TS for me...


More information about the MPlayer-users mailing list