Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-01-2006, 03:43 PM   #1
LQ Newbie
Registered: Dec 2005
Posts: 17

Rep: Reputation: 0
Mplayer with multiple audio languages


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
mplayer -identify
all I get is something like

[Ogg] stream 0: video (FOURCC DX50), -vid 0
[Ogg] stream 1: audio (Vorbis), -aid 0
[Ogg] stream 2: audio (Vorbis), -aid 1
[Ogg] stream 3: subtitles (SRT-like text subtitles), -sid 0
Opening audio decoder: [libvorbis] Ogg/Vorbis audio decoder
[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?


Old 06-01-2006, 11:37 PM   #2
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 845

Rep: Reputation: 33
mplayer -aid 128 works for me
Old 06-11-2006, 04:29 PM   #3
LQ Newbie
Registered: Dec 2005
Posts: 17

Original Poster
Rep: Reputation: 0
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?


Old 07-26-2006, 05:06 AM   #4
Registered: Oct 2005
Location: Hungary
Distribution: FC6 , freeBSD
Posts: 87

Rep: Reputation: 15
Try to increase the verbosity level of mplayer (mplayer -v something.ogm) or use the -msglevel option. They might help.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
languages of linux: which languages can be choosen in suse and red-hat distributions? Klaus Schnorr Linux - Software 3 09-10-2005 03:19 AM
Using multiple languages in a project Chrax Programming 2 01-30-2005 09:07 PM
Using Multiple Languages belorion Programming 1 12-10-2004 12:23 PM
Multiple Audio/Video ? Zero-0-Effect Linux From Scratch 0 05-28-2004 12:48 PM
use multiple languages on your system eye Linux - Software 3 09-08-2003 09:47 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:59 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration