[MPlayer-users] How to switch audio in AVI file?

Bokor Norbert norbert.bokor at lebelier.hu
Wed Jul 23 12:25:46 CEST 2003

>                Hello,
> I have following problem. I have one AVI with hungarian audio 
> and I want to replace
> this audio with english. (I used encoder 3 pass encoding and 
> default audio channel
> was apparently hungarian). Now I have AVI with video and 
> hungarian audio and frameno.avi
> with (hopefully I used -aid 128 in 1st pass to get english 
> audio channel) english audio. 
> (MP3 VBR). Is it possible to somehow replace audio with this source?
> Additional problem: When I want to play frameno.avi with 
> mplayer mplayer crashes. Is it 
> normal? Is it possible somehow to detect what audio is in 
> frameno.avi??
> Thanks.
> Marek.

mplayer should play frameno.avi - once I did it :), but usually I don't need this, if you simply copy the audio file from frameno.avi to the final movie, it's quite fast (above 1000 fps for me)

I really don't know how to get only from a file with mencoder, mplayer can do it with '-dumpaudio'

I think 'mplayer hun.avi -oac copy -ovc copy -o eng.avi' should work (if the frameno.avi contains english audio and is in the same directory as hun.avi)

More information about the MPlayer-users mailing list