LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 0
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
all I get is something like

...
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
 
Old 06-01-2006, 10:37 PM   #2
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
mplayer -aid 128 works for me
 
Old 06-11-2006, 03:29 PM   #3
Whiskerz
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?

Regards

Whizz
 
Old 07-26-2006, 04:06 AM   #4
noware
Member
 
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.
 
  


Reply



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 02:19 AM
Using multiple languages in a project Chrax Programming 2 01-30-2005 08:07 PM
Using Multiple Languages belorion Programming 1 12-10-2004 11:23 AM
Multiple Audio/Video ? Zero-0-Effect Linux From Scratch 0 05-28-2004 11:48 AM
use multiple languages on your system eye Linux - Software 3 09-08-2003 08:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:41 PM.

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