[MPlayer-users] Re: -dumpvideo: does it create raw video stream?
yoshi watanabe
yoshi3 at autograf.pl
Mon Dec 4 21:52:35 CET 2006
On 16:11 Mon 04 Dec , Enzo wrote:
> > I have a large x264 encoded avifile created by MEncoder
> > dev-SVN-r21398-3.4.4 that I'd like to convert to Matroska. To do this,
> > the suggested procedure is:
> >
> > 1) convert the avi to raw with avi2raw
> > 2) use mp4box or a similar tool to wrap the raw stream into mp4
> > 3) feed the resulting mp4 into a Matroska merger
> >
> > Problem is that avi2raw failed, producing an incomplete video stream. So
> > I decided to use mplayer with -dumpvideo, which indeed produced a
> > complete video stream. Unfortunately both mp4box and mp3creator failed
> > to recognize the video stream dumped by mplayer. Is there any
> > explanation for this? Is the -dumpvideo'ed stream not fully compliant to
> > the raw avi specifications? Any assistanc will be greatly appreciated --
> > thank you very much.
> >
> > Kind regards,
> >
> > Enzo
> >
> >
> > Use mencoder -of rawvideo
> >
> It doesn't seem to work. I think Nico's right:
>
> > yes, for some idiot reason -dumpvideo applied to avi, asf and mov
> > dumps 4 bytes (len) before every video packet.
> > It should really be removed
>
> If you let me know the format of the output I could write a little filter.
>
> Thank you, cheers
>
> Enzo
i use mkvmerge from mkvtoolnix toolkit for this.
i think it's needlessly complicated the way it's put in the mentioned 3-step procedure.
More information about the MPlayer-users
mailing list