[MPlayer-dev-eng] [PATCH] dump output format in mencoder
danny
guru at digitalfantasy.it
Tue Dec 9 21:55:27 CET 2003
Alle 12:35, lunedì 8 dicembre 2003, Attila Kinali ha scritto:
I> On Sun, 23 Nov 2003 19:12:47 +0100
>
> danny <guru at digitalfantasy.it> wrote:
> > With this patch another output format is added to mencoder, -of dump
> >
> > The good:
> > You can write directly the audio (Ac3 or Mp2) and video (mpeg1 or mpeg2)
> > stream to files to be combined by mplex / tcmplex to create files to burn
> > a Video CD, a Super Video CD or a DVD, in one pass and without running
> > mplayer to extract the stream(s).
> >
> > You can put the size of each packet before the packet (like mplayer
> > -dumpvideo option, for examples) or you can write only the stream (if you
> > want to use them with mplex)
> >
> > The Bad:
> > I don't like very much how is done. I modify (a little!) mencoder to
> > export mencoder_exit(...) and i have to add a file pointer (we got 2
> > output file) to the muxer_t structure, with some code in the muxer init
> > code (the opening of the audio file, using out_filename from mencoder to
> > create the audio file name) that belongs to the mencoder source (the
> > opening of the audio file should be after the opening of the video file,
> > in the same source).
>
> Any comments on this patch ?
>
> Attila Kinali
I can modify the patch to enable the main part of it only if asked by the
configure script so, for normal users, nothing strange will happen (only the
FILE * in the muxer_t struct and the fact that the exit function from
mencoder will be public should be keep).
This will be acceptable?
Thanks
Daniele Forghieri
More information about the MPlayer-dev-eng
mailing list