[MPlayer-users] mplayer and joined mpg files by mpgtx -j

Jouni.Lohikoski@iki.fi jlohikos at cc.hut.fi
Sat Apr 16 14:31:52 CEST 2005


On Wed, Apr 13, 2005 at 10:16:45PM +0300, Jouni.Lohikoski at iki.fi wrote:
> ...and it works. So it is a bug in libmpeg2-v0.4.0b (?)

>From libmpeg-dev mailing list:
On Fri, Apr 15, 2005 at 02:37:25AM +0200, Christophe Massiot wrote:
> Hello,
>
> At 11:08 +0300 14/04/05, Jouni.Lohikoski at iki.fi wrote:
>
> >The MPEG file made by joining several clips with mpgtx -j fails to be
> >shown with libmpeg2 but works with ffmpeg and xine.
>
> Many MPEG-1 video sequences end with a SEQUENCE_END_CODE. libmpeg2
> will return STATE_END when it encounters such a start code. Joining
> several MPEG-1 files with mpgtx will insert SEQUENCE_END_CODEs in the
> middle of the stream, which is invalid according to the MPEG-1 spec,
> but you should be able to recover easily.
>
> I'm not sure the bug is related to libmpeg2, it is possible that the
> wrapper around libmpeg2 which is in MPlayer incorrectly considers
> that upon STATE_END the file must be closed. STATE_END should be
> ignored. Could you check that there is no problem with STATE_END ?

Anyone knows/remembers out of the hat?

// jouni




More information about the MPlayer-users mailing list