[MPlayer-dev-eng] [PATCH] dump output format in mencoder

danny guru at digitalfantasy.it
Sun Nov 23 19:12:47 CET 2003


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).

	Daniele Forghieri

	

	
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ofdump.diff
Type: text/x-diff
Size: 12100 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20031123/5e227292/attachment.diff>


More information about the MPlayer-dev-eng mailing list