[mythtv-users] Finally fix for wrong language on ripped dvds

Allan Wilson allanwilson at gmail.com
Wed Aug 17 12:51:28 UTC 2005


Correct, I was assuming English and we all know about assuming. You can run 
mplayer -v filename to see what languages that the rip supports. If it is 
something other than 128 the you place a config file in that users .mplayer 
directory located in their home directory. For most people this will be:

~/.mplayer/movietitle.ext.conf

So if you are trying to fix a language problem for a movie such as Bad Boys 
II, which is one that will not work correctly then you rip it and then run:

mplayer -v The\ Matrix.vob

The will show something like this about 10% down in the output:

found audio track 0
found audio track 129
found audio track 128

In this case since 129, french, is the first on in the list it defaults to 
that unless you specify 128 for english. So by adding the line

aid=128

to the mplayer config file located on most systems at

/etc/mplayer/mplayer.conf

It will default to 128 instead of 129. I had on movie that I was backing up 
that used 1 instead of 128, Reindeer Games. So to fix it on a movie by movie 
basis change in to your users home directory and then go in to the .mplayer 
directory. For most people this will be:

cd ~/.mplayer/

Once their you will create a custom config file for just that movie by 
creating a file with the full filename of the movie including the extension 
and adding config to the end. So for Reindeer Games it ended up being:

Reindeer_Games.avi.conf

Inside of that file you just need one line that says

aid=1

Good luck and I hope this helps some other people that where having this 
problem. I have to admit I had no idea how nice it was to be able to jump 
from movie to movie showing off action scenes to impress friends and family 
with your new surround sound or TV. Happy Mything

Allan Wilson

On 8/16/05, Fedor Pikus <fpikus at gmail.com> wrote:
> 
> On 8/16/05, Allan Wilson <allanwilson at gmail.com> wrote:
> > After working on it off and on I have all my dvd's, except one, with the
> > correct audio. The problem was that no matter what I did in the myth
> > configuration some dvd's would play the wrong audio. To fix this I just 
> had
> > to add the following line to /etc/mplayer/mplayer.conf file:
> >
> > aid=128
> 
> This speciifies which audio channel to use (you can see which ones you
> have by running lsdvd, or mplayer -v). You're expliting the fact that
> most DVDs start with aid 128, and most English-language DVDs, at least
> the ones sold in the US, have English sound track first. If at least
> one of these assumptions is false, your method won't work and you'll
> have to add an override on the command line.
> You can also try alang=en, this should work independently of aid as
> long as DVD has proper langiage codes. If you watch DVDs with no
> English track sometimes, you could even do alang=en,fr for example -
> English with fallback to French if no English track exists.
> 
> >
> > For some reason it would not read the line correctly in Myth but it 
> works
> > fine if you put it in mplayers config file. The only problem I have left 
> is
> > that one movie out of 13 is using 1 instead of 128. I read somewhere 
> that
> > you can specify a config file per movie while reading about subtitles. 
> Does
> > anyone have any details on this. I thought for the rare movie that 128
> > doesn't work on I can throw a quick config file for that movie and 
> specify
> > the correct aid. Thanks for everyone's help especially Ryan.
> >
> > Allan Wilson
> >
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
> >
> >
> 
> 
> --
> Fedor G Pikus (fpikus at gmail.com)
> http://www.pikus.net
> http://wild-light.com
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20050817/18c59b2f/attachment.htm


More information about the mythtv-users mailing list