Author Topic: Changing audio track in Xine during playback AVI file  (Read 3440 times)

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Changing audio track in Xine during playback AVI file
« on: March 10, 2010, 09:31:45 pm »
Hi,

I spent some time to understand howto change the audio track in the AVI movie with more then one audio tracks during Xine playback. The short key - + and - work on the standalone Xine and doesn't work under LinuxMCE. However, the DCE router command can be used for that:
Code: [Select]
/usr/pluto/bin/MessageSend localhost 0 23 1 140 5 "<audio track number>" 41 ""
where audio track number is the track number, i.e. 0 (default one), 1, 2 etc. Sure it'd be nice to add it to the LMCE GUI menu. Because I'm not sure that it'd be possible to do that for LIRC.
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: Changing audio track in Xine during playback AVI file
« Reply #1 on: March 10, 2010, 09:37:36 pm »
Great news!
Will it also work with mplayer (when playing .mkv renamed to .m2ts files)?
Having the possibility of selecting audio track in the menu (orbiter) would be really great.

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: Changing audio track in Xine during playback AVI file
« Reply #2 on: March 10, 2010, 10:35:54 pm »
Great news!
Will it also work with mplayer (when playing .mkv renamed to .m2ts files)?
Having the possibility of selecting audio track in the menu (orbiter) would be really great.

For mplayer the following command should work:
Code: [Select]
/usr/pluto/bin/MessageSend localhost 0 26 1 140 5 "<audio track number>" 41 ""But you can use the key # to change between available audio tracks. As I mentioned in my previous post the appropriate short key for Xine doesn't work under LinuxMCE. Sure possibility to choose desire audio track from the menu during playback will be perfect.
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: Changing audio track in Xine during playback AVI file
« Reply #3 on: March 11, 2010, 11:39:45 am »
It'd be also great to have in LinuxMCE something similar to VDR keymacros where you can define macrokey and corresponded command(s):
Code: [Select]
Red       Recordings
Green     Schedule
Yellow    Info
Blue      Timers

In that case it'd very easy to assign any command - LinuxMCE or system, to some keys on the remote control.
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

pw44

  • Addicted
  • *
  • Posts: 666
    • View Profile
Re: Changing audio track in Xine during playback AVI file
« Reply #4 on: March 11, 2010, 05:30:50 pm »
With the help of mkvinfo, you can see which audio tracks are available for mkv (m2ts) file. For mp4 and others i don't know yet which utilities can show this kind of info.....

How could we make a suggestion to the developer team about that?