mencoder not using the correct audio stream
I whipped up a script to convert VOBs to AVIs for storage on ym NFS backend. I'm using mencoder on CentOS5 to do the conversion.
For 9 out of 10 videos, this works great. There is the occasional 1 that will not have the correct audio stream however. I've tried -alang, -slang, aid, etc. to no avail. Here is my script (also in case anyone else finds it useful), but can anyone offer any suggestions on how to get the correct audio in my avi? When I open the vob in mplayer, I get English. When I run it through mencoder, I get Spanish. Anyway, here's the script: Code:
#!/bin/sh |
Remove pass 1, and Add -oac mp3lame -lameopts abr:br=128 -alang en to your current pass 2 and 3. (or just 3)
Quote:
Code:
echo "Pass 1...." You may have to code in a prompt to identify which aid to use. mplayer -identify blah.vob will list the audio streams. |
Took some tinkering, but finally got it.
Thanks! |
All times are GMT -5. The time now is 11:24 AM. |