Author Topic: mkv video - How to switch audio streams?  (Read 3532 times)

Lexje

  • Guru
  • ****
  • Posts: 230
    • View Profile
mkv video - How to switch audio streams?
« on: January 29, 2010, 07:50:08 pm »
Hi all,

I have an video.mkv file containing multiple audio streams (French, English etc.)
LMCE starts to play the French stream.
When I use VLC to test, (XP) I can choose which audio stream to play.

Is there a way to select the available audio streams in Xine?
Am I missing something obvious here?

Thanks for your help!

Erwin

Lexje

  • Guru
  • ****
  • Posts: 230
    • View Profile
Re: mkv video - How to switch audio streams?
« Reply #1 on: January 30, 2010, 01:47:04 am »
Any pointer as to what specific strings may be entered here?
I'm looking at #92 Subtitles and #93 Audio Tracks.

How would I add command #140 (Audio Track) and make it 'usable' / controllable by the Media Handler / Xine Player?

Thanks for any pointer!

Erwin

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: mkv video - How to switch audio streams?
« Reply #2 on: January 31, 2010, 09:55:38 pm »
If you play MKV file using mplayer (renaming to mkv to m2ts does it) then the audio stream can be changed by pressing key '#'. Not sure how to do this with Xine. But I'm very interested to know it as well. Also AVI file can have more then one audio track. It'd be nice to have possibility switch between them as well.
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

Lexje

  • Guru
  • ****
  • Posts: 230
    • View Profile
Re: mkv video - How to switch audio streams?
« Reply #3 on: January 31, 2010, 09:59:26 pm »
Michael,

Thx for replying, I was not aware off the #-key;
Will try this out, also changing extension.
I'd like to make this work.

Also be able to have the 'resume from here' function pick up on:
- the previous subtitle choice
- the previous audio track

Let's do it!

Erwin

macaroni

  • Regular Poster
  • **
  • Posts: 33
    • View Profile
Re: mkv video - How to switch audio streams?
« Reply #4 on: February 01, 2010, 05:55:42 pm »
There is a program in ubuntu that you can strip off the unwanted audio tracks. The program is called mkvtoolnix.

Lexje

  • Guru
  • ****
  • Posts: 230
    • View Profile
Re: mkv video - How to switch audio streams?
« Reply #5 on: February 01, 2010, 06:49:19 pm »
Macaroni,

(I'll have some now :-) )
I'd rather be able to select audiotrack & subtitle than remove or add it.

Thanks,

Erwin