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

mslama at email.cz mslama at email.cz
Wed Jul 23 13:28:41 CEST 2003


> 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)

'mencoder hun.avi -oac copy -ovc copy -o eng.avi' works :). (It takes audio from frameno.avi and replaces existing audio in hyn.avi.) Thanks a lot.

Marek.





________________________________________________________________________________
Aktuálně: Prázdninová soutěž o DVD přehrávač Panasonic S 35E-S stříbrný na http://www.email.cz/obchodnidum




More information about the MPlayer-users mailing list