LinHES Forums
http://forum.linhes.org/

xine audio sync problem (audio lags behind video)
http://forum.linhes.org/viewtopic.php?f=11&t=13667
Page 1 of 1

Author:  Martian [ Sat Jan 20, 2007 2:32 pm ]
Post subject:  xine audio sync problem (audio lags behind video)

I recently re-installed and went to R5E50. I use xine for DVD playback as well as playing DVD .iso images. Last night I noticed that the audio in xine was lagging by about half a second.

I have xine set to passthrough audio to my Dolby Digital receiver however I have tried setting the audio to 2.0 channel and it lags as well. I have tried both DVD discs as well as playing from an .iso image and both lag. I then tried using MythTV's internal player for DVD's and the audio was in sync however it did not work in Dolby Digital and the Video was a bit jumpy so this is not an effective solution. I have also tried playing with the settings in alsamixer but nothing there helped either. I also tried disabling and enabling the AC3 passthrough in myth setup but that didn't seem to change anything.

I did find that you can use the "N" and "M" keys to control audio offset in xine but they didn't have any effect. They did produce an on screen display but the audio offset did not change at all even when set to more than 2 seconds.

I've pretty much run out of ideas so I thought I'd throw it out to the collective Knoppmyth mind and see if anyone can help.

Thanks,

Martian

Author:  Martian [ Sun Jan 21, 2007 7:56 am ]
Post subject: 

Sorry for the double post. After further investigation it appears that most or ALL audio lags by a fairly significant amount (no I don't have any BTTV cards). Any help in resolving this would be greatly appreciated. I'm pretty much dead in the water at this point. Watching anything is so painful do to the audio lag.

Martian

Author:  Martian [ Sun Jan 21, 2007 7:57 am ]
Post subject: 

EDIT: Doh! triple post. I'll surely burn for this. In my defense the forums were acting up....yeah that's the story I'm sticking with.

Author:  tjc [ Sun Jan 21, 2007 10:48 am ]
Post subject: 

Go into the xine setup menus (this requires a mouse & keyboard) and dial the config mode up to expert. The available configuration options are leveled, and at the default level you may not be able to adjust things like audio sync. My first guess is that you want to adjust "synchronization.passthrough_offset". You can also edit these directly in the configuration file... /home/mythtv/.xine/config

Author:  Martian [ Sun Jan 21, 2007 1:42 pm ]
Post subject: 

/bows

Once again tjc, you have set me straight. I've no idea why the audio was suddenly so far off (it never has been before) but at least for DVDs I was able to correct it.

I know you can adjust audio offset on a per program basis through the menu in the internal player but is there a setting to configure a global offset? Sorry if this has been already answered.

Martian

Author:  tjc [ Sun Jan 21, 2007 3:18 pm ]
Post subject: 

Not that I'm aware of. I went looking last time this came up and couldn't find anything. Your best bet would be to search for "audio" or "sound" "sync" in the mythtv mailing lists to see if you can find anything.

Author:  mihanson [ Wed Feb 14, 2007 11:37 pm ]
Post subject: 

Martain -
See this post for a possible fix. I have the same problems as you. I'm trying out the solution now.

http://www.mysettopbox.tv/phpBB2/viewtopic.php?t=14181

Author:  Martian [ Thu Feb 15, 2007 11:45 am ]
Post subject: 

I did see that. Please post your results in that thread once you try it. I'm sure there are others besides myself who will be interested in your report.

Martian

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/