Mplayer with multiple audio languages
Hi!
I am currently using mplayer as my video player and ever so often theres an ogm video file I want to play. However up to now I have not been able to really find out which ID maps to which language short of trying every available audio ID. If I use Code:
mplayer -identify ... ID_VIDEO_ID=0 [Ogg] stream 0: video (FOURCC DX50), -vid 0 ID_AUDIO_ID=0 [Ogg] stream 1: audio (Vorbis), -aid 0 ID_AUDIO_ID=1 [Ogg] stream 2: audio (Vorbis), -aid 1 [Ogg] stream 3: subtitles (SRT-like text subtitles), -sid 0 ID_SUBTITLE_ID=0 ... Opening audio decoder: [libvorbis] Ogg/Vorbis audio decoder ID_AID_0_LANG=English ID_SID_0_LANG=English [Ogg] Language for -sid 0 is '-slang "English"' ... so I know the language of the default track (or whatever track I selected using -aid), but not of all the other tracks. Anyone know a way to find out which ID corresponds to which language without going through all -aid possibilities? Regards Whizz |
mplayer -aid 128 works for me
|
Did a few tests with different files and different options, and it seems that Matroska files display information on the language of the different audio and subtitle tracks, however every .ogm file I tried I only got the selected audio and subtitle to display information other than its id.
Anybody have an idea what this might be? Regards Whizz |
Try to increase the verbosity level of mplayer (mplayer -v something.ogm) or use the -msglevel option. They might help.
|
All times are GMT -5. The time now is 07:32 AM. |