LinuxMCE Forums

General => Users => Topic started by: nite_man on March 10, 2010, 09:31:45 pm

Title: Changing audio track in Xine during playback AVI file
Post by: nite_man 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.
Title: Re: Changing audio track in Xine during playback AVI file
Post by: pw44 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.
Title: Re: Changing audio track in Xine during playback AVI file
Post by: nite_man 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.
Title: Re: Changing audio track in Xine during playback AVI file
Post by: nite_man 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.
Title: Re: Changing audio track in Xine during playback AVI file
Post by: pw44 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?