Author Topic: Adjust AV Sync in Xine/Mplayer?  (Read 8752 times)

chrisbirkinshaw

  • Guru
  • ****
  • Posts: 431
    • View Profile
Adjust AV Sync in Xine/Mplayer?
« on: December 19, 2008, 02:27:07 pm »
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

  • Veteran
  • ***
  • Posts: 147
    • View Profile
Re: Adjust AV Sync in Xine/Mplayer?
« Reply #1 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,

chrisbirkinshaw

  • Guru
  • ****
  • Posts: 431
    • View Profile
Re: Adjust AV Sync in Xine/Mplayer?
« Reply #2 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.

colinjones

  • Alumni
  • LinuxMCE God
  • *
  • Posts: 3003
    • View Profile
Re: Adjust AV Sync in Xine/Mplayer?
« Reply #3 on: December 24, 2008, 05:12:54 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

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Adjust AV Sync in Xine/Mplayer?
« Reply #4 on: December 24, 2008, 09:43:56 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 http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

indulis

  • Veteran
  • ***
  • Posts: 147
    • View Profile
Re: Adjust AV Sync in Xine/Mplayer?
« Reply #5 on: December 27, 2008, 03:19:39 am »
Thanks guys I sort of thought that would be the case.

chrisbirkinshaw

  • Guru
  • ****
  • Posts: 431
    • View Profile
Re: Adjust AV Sync in Xine/Mplayer?
« Reply #6 on: December 27, 2008, 01:09:05 pm »
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.