www.smartbusinesschoices.com

Leading Business and Technology,
News and information


Part of the Identityscape.com network...

getxfactor.com jmoodmusic.com smartbusinesschoices.com mintdepot.com lowfaresalways.com evangelicalview.com shoppingpodder.com soproudlywehail.com webnews.ws currenthumor.com

 

 

HandBrakeCLI + Mplayer
   Smart Linux Business Choices! - the Best of UseNet Postings! Forum Index -> Linux Miscellaneous Topics  
View previous topic :: View next topic  
Author Message
James H. Newman
Guest






PostPosted: Wed Nov 19, 2008 9:52 pm    Post subject: HandBrakeCLI + Mplayer Reply with quote

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






PostPosted: Thu Nov 20, 2008 4:40 am    Post subject: Re: HandBrakeCLI + Mplayer Reply with quote

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
Display posts from previous:   
   Smart Linux Business Choices! - the Best of UseNet Postings! Forum Index -> Linux Miscellaneous Topics  
Page 1 of 1
All times are GMT

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum