News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Adjust AV Sync in Xine/Mplayer?

Started by chrisbirkinshaw, December 19, 2008, 02:27:07 PM

Previous topic - Next topic

chrisbirkinshaw

Is it possible to adjust the AV sync? I have some recordings where it is a bit off. Also I have a lot of external signal processing which adds delay to the audio.

Regards,

Chris

indulis

IN mplayer the + and - keys on your keyboard are supposed to adjust the audio sync.

For Xine the m and n keys are supposed to do it.

Couldn't see an option for the /etc/pluto/xine.conf configuration file to set it permanently though,

chrisbirkinshaw

You sure this isn't referring to the normal version of the Xine-GUI? LMCE uses its own, which does not seem to support that many of the functions of the standard Xine GUI.

colinjones

Quote from: chrisbirkinshaw on December 24, 2008, 12:20:51 AM
You sure this isn't referring to the normal version of the Xine-GUI? LMCE uses its own, which does not seem to support that many of the functions of the standard Xine GUI.

I would say that you are right. LMCE merely uses the same xine libraries that the Xine player GUI uses. It doesn't use the GUI itself thus I would doubt very much that any of those keyboard shortcuts work. the Xine_player wrapper would have to implement the key presses. There is no reason why it couldn't issue the same calls to the xinelib libraries that the GUI version does. However, how you intercept those key presses is a different matter. I remember having a conversation with Thom about this on a different matter - I assumed that the Orbiter received the key presses and somehow you had to hook into that perhaps using DCE messages. Thom explained, and I didn't really get it then, and can't remember now! Functionally, it seems it would be easy to add, as long as you understood how this part of the architecture worked, and could track down the calls to xinelib you need to make, then updated the wrapper code and any other part that you need to capture the key presses....

totallymaxed

Quote from: indulis on December 22, 2008, 01:44:19 AM
IN mplayer the + and - keys on your keyboard are supposed to adjust the audio sync.

For Xine the m and n keys are supposed to do it.

Couldn't see an option for the /etc/pluto/xine.conf configuration file to set it permanently though,

As Chris & Colin have pointed out the xine libs are use and not xine gui. So none of those keyboard controls are available inside the Orbiter.

All the best

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

indulis

Thanks guys I sort of thought that would be the case.

chrisbirkinshaw

I have now ditched my external room correction kit, which was adding the 100ms delay, and got an Onkyo receiver with Audessey MultEQ XT. Their technology promises to perform FIR based room correction filtering but through some undescribed enhancements be able to reduce the number of filter taps (correction bands) required and therefore the processing power and delay. Reviews look promising.