[MPlayer-dev-eng] [PATCH] -audiofile and rawaudio together
D Richard Felker III
dalias at aerifal.cx
Mon Jan 12 06:54:34 CET 2004
On Sun, Jan 11, 2004 at 11:58:57PM +0100, Nico wrote:
> Hi,
> this patch permits to use raw audio files (not recognized by
> demux_audio.c) together with -audiofile.
> The suboption to use is :audiofile: e.g.
>
> mplayer -rawaudio audiofile:format=0x2000 -audiofile file.ac3 file.m2v
>
> leaving the suboption :on: unset (as default).
>
> Tested with ac3, pcm and mp2 files.
>
> The patch is ugly, because I couldn't find a better way to make the code
> work with the ugly
> demux_open() demux_audio.c and especially demux_rawaudio.c , yet it
> works ok (at least for me).
Why do we need this patch? It already worked for me just by using
-audio-demuxer to select the rawaudio demuxer.
Rich
More information about the MPlayer-dev-eng
mailing list