| View previous topic :: View next topic |
| Author |
Message |
James H. Newman Guest
|
Posted: Wed Nov 19, 2008 9:52 pm Post subject: HandBrakeCLI + Mplayer |
|
|
I am using HandBrakeCLI in order to make reduced copies of my
DVDs. The way I invoke is as follows:
HandBrakeCLI -e xvid -E ac3 -2 -S 1400 -a 1,2 -i /dev/cdrom -o
movie.avi
This works fine, ending up with an AVI file with two sound tracks
(assuming that the original DVD has two sound tracks, that is.) The
problem I have is that I seem to be unable to get sound track number 2
under mplayer. xine allows me to select either track all right, but not
so mplayer, at least not from the keyboard.
Anybody know how to get mplayer to do it? |
|
| |
|
Back to top |
andrew Guest
|
Posted: Thu Nov 20, 2008 4:40 am Post subject: Re: HandBrakeCLI + Mplayer |
|
|
On 2008-11-19, James H. Newman <NewJames@exicite.com> wrote:
| Quote: | HandBrakeCLI -e xvid -E ac3 -2 -S 1400 -a 1,2 -i /dev/cdrom -o
movie.avi
This works fine, ending up with an AVI file with two sound tracks
(assuming that the original DVD has two sound tracks, that is.) The
problem I have is that I seem to be unable to get sound track number 2
under mplayer. xine allows me to select either track all right, but not
so mplayer, at least not from the keyboard.
Anybody know how to get mplayer to do it?
|
Well MPlayer is little cumbersome to identify audio streams but the
following syntax will show the audio streams available:
$ mplayer movie.avi -identify -frames 0 -vo null | grep -i 'audio stream'
and it can then be played using:
$ mplayer -aid xxx movie.avi
Andrew
--
echo 'http://www.andrews-corner.org/matrix.html' | \
sed -e 's/\///g' -e 's/.\{14\}$/com/' \
-e 's/s-.\{6\}/@gmail/' -e 's/^.\{8\}/usenet/' |
|
| |
|
Back to top |
|