View Single Post
  #1   (View Single Post)  
Old 7th June 2008
Grizzly Grizzly is offline
New User
 
Join Date: Jun 2008
Posts: 1
Default mplayer osd - set label of audio channel

Hello together,

I've created a avi (mpeg4) with multiple audio channels.
The first one is original sound und the second are comments. When i switch the channel the osd of mplayer shows me
'audio (0) unknown'.
Is it possible to edit this output?
I want to see something like 'Audio: (0) original' and at the second channel 'Audio: (1) comments'. The sound works fine.

I've done this
---------------------
Rip the DVD
% mencoder -dvd-device /media/cdrom0/movie dvd://1 -aid 1 -oac copy -ovc lavc -lavcopts vcodec=mpeg4: \
trell=yes:qpel=yes:mbd=2:vpass=1:turbo=1: autoaspect=yes -o /dev/null &&
mencoder -dvd-device /media/cdrom0/movie dvd://1 -aid 1 -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=4500: \
trell=yes:qpel=yes:mbd=2: vpass=2:autoaspect=yes -forceidx -o /data/myVideo.avi


Extract second sound channel
% mplayer -dvd-device /media/cdrom0/movie dvd://1 -aid 2 -dumpaudio -dumpfile /data/myVideo.aac

Append soundfile to avi
% avimerge -i /data/myVideo.avi -o /data/myVideo2.avi -p /data/myVideo.aac
Reply With Quote