[MPlayer-users] Problems with h.264 and lavf demuxer (paff/mbaff?)
Carl Eugen Hoyos
cehoyos at ag.or.at
Wed Mar 5 17:22:55 CET 2014
Marco Munderloh <munderl <at> tnt.uni-hannover.de> writes:
> When playing the video using mplayers default demuxer,
> all is fine.
I played the video you provided with -demuxer mpegts and
whenever I seek back to the beginning, I see one or two
broken frames before the first keyframe.
> But if I use the lavf demuxer, the first GOPs are totally
> broken until the next IDR frame arrives.
This is to some degree the expected behaviour, use
"-lavdopts wait_keyframe" if you don't like it.
> ffmpeg shows the same behavior on transcoding
> as the mplayer lavf demuxer;
I tested the following:
$ ffmpeg -i DVB_testvideo.ts -qscale 2 out.avi
out.avi does not show broken initial frames.
(You can use -flags2 +showall to get the MPlayer
behaviour, but this apparently is not what you want.)
If it does something else for you, please consider
reporting it, it would be a bug (possible regression).
All this said, there is a difference between
mplayer -demuxer mpegts and mplayer -demuxer lavf for
the given sample but since it is a dvb stream (cut at
a random position), I don't know if the different
behaviour can be "fixed".
Carl Eugen
More information about the MPlayer-users
mailing list