[MPlayer-dev-eng] Adding more muxers in a structure like libmpcodecs with muxer_internal.h ?

Fabian Franz FabianFranz at gmx.de
Wed Jan 8 22:50:15 CET 2003


Am Mittwoch, 8. Januar 2003 21:04 schrieb Moritz Bunkus:

While we speak about more muxers that are to come:

Wouldn't it be nice to have a muxer_internal.h and some muxer_functions_t like 
with the different vds ?

I think the solution with the case and MUXER_TYPE_RAW/AVI/MPEG works, but I 
think it could be nice to have a repeating structure to make working in for 
new ppl easier ...

And I think it is far the nicest solution with the MACRO and all ...

Just my 2 cents...

cu

Fabian

> Hi.
>
> This patch adds '-of raw'. This should do what the name indicates -
> dump the raw video/audio streams to different files. So you should be
> able to demultiplex an MPEG with
>
> mencoder -ovc -oac -of raw -o streams file.mpg
>
> and so on. Could be meant as a further replacement for the dumping
> functions of mplayer (e.g. -vo yuv4mpeg) or just to get raw XviD/FFmpeg
> streams.
>
> Unfortunately it does not work properly. A file I tested was
> demultiplexed, but only the video was ok - the audio file was totally
> messed up. Same with an OGM.
>
> I don't know all too much about the muxing/demuxing internals of
> mencoder, so I hope that some kind soul could take a look at this patch
> and help me a bit. I'd really appreciate that :)
>
> Oh... and another question: at the moment I take out_filename and
> append '-<streamid>', e.g. '-0', '-1' and so on. Any better
> suggestions?




More information about the MPlayer-dev-eng mailing list