[MPlayer-users] Dumping specific audio stream from a DVD
Alexander Roalter
alex at roalter.it
Fri Jul 11 09:21:54 CEST 2008
petesea at bigfoot.com wrote:
> Is it possible to dump the video and only a specific audio stream from a
> DVD?
>
> I've used the following to dump a title from a DVD and it works fine,
> except it always dumps all the audio streams:
>
> mplayer dvd://1 -dumpstream -dumpfile movie.vob
>
> What I'd like to do is this, but it doesn't seem to work:
>
> mplayer dvd://1 -alang en -dumpstream -dumpfile movie.vob
>
> or in some cases, something like this, but it doesn't work either:
>
> mplayer dvd://1 -aid 131 -dumpstream -dumpfile movie.vob
>
> Here's example output from this last one, which was run on a MacBook Pro
> (OS X 10.5.2):
>
-dumpstream always dumps the entire stream, including all audio channels.
There is (or was) a -dumpaudio variant, which I'm not sure does what you
want, but your best shot is to dump the entire stream and later extract
the audio:
mplayer stream.dump -aid 131 -ao pcm
creates an audiofile.wav file. If you have enabled -channels 6, it is a
6-channel wav file
Or, you can use from the transcode project the tcextract tool:
tcextract -i stream.dump -x ac3 -t vob -a 131 > audio.ac3
which extracts the AC3-Stream from the file with id 131. MPlayer can
play back this ac3 stream with no problems.
--
cheers,
Alex
More information about the MPlayer-users
mailing list