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

How To: Fix Xine DVD audio sync in R5E50
http://forums.linhes.org/viewtopic.php?f=3&t=14181
Page 1 of 1

Author:  MrFahrenheit [ Wed Feb 14, 2007 10:40 pm ]
Post subject:  How To: Fix Xine DVD audio sync in R5E50

the version of xine-lib in R5E50 has a bug in it that was introduced in version 1.1.2. The audio and video are out of sync in NTSC DVDs. This problem is fixed in xine-lib version 1.1.4.

All these commands are meant to be run as root.

First download the source:
Code:
wget http://prdownloads.sourceforge.net/xine/xine-lib-1.1.4.tar.bz2


Then unpack the source:
Code:
tar -xvjf xine-lib-1.1.4.tar.bz2


cd into the directory and run configure:
Code:
cd xine-lib-1.1.4/
./configure


add /usr/local/lib to the file /etc/ld.so.conf so that the new file looks like this:
Code:
/usr/X11R6/lib
/usr/local/lib


run make install and ldconfig(still in the xine-lib-1.1.4/ directory):
Code:
make install
ldconfig


After doing this, the audio and video were in sync for me when watching NTSC DVDs.

Author:  mihanson [ Wed Feb 14, 2007 11:49 pm ]
Post subject:  Re: How To: Fix Xine DVD audio sync in R5E50

MrFahrenheit wrote:
cd into the directory and run configure:
Code:
cd xine-lib-1.1.4/
./configure


add /usr/local/lib to the file /etc/ld.so.conf so that the new file looks like this:
Code:
/usr/X11R6/lib
/usr/local/lib



MrFahrenheit thank you very much for posting this info. I just followed your instructions (more or less) and it seems to have fixed my problems with NTSC material. I was watching .vob's and they were out of sync. After your fix, they are back in sync! :D

The only steps I took that differ from yours was the following:
Code:
cd xine-lib-1.1.4/
./configure --prefix=/usr

and I then added
Code:
/usr/lib
to /etc/ld.so.conf
Adding the --prefix=/usr kept my install consistent with the original 1.2 version and the /usr/lib was added due to the path change that --prefix=/usr envokes from configure (although I don't know if I needed to). Thanks again!

Author:  lantz [ Thu Feb 15, 2007 11:06 am ]
Post subject: 

This is awesome, thanks for sharing!

It also appears to have fixed another problem I was having with Xine, and I wanted to add it here so if anyone searches with the problem they will see this:

This fixed my problem where on R5E50 with updated Nvidia 9xxx drivers, Xine playback was slow and was giving this error:
No accelerated IMDCT transform found

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

Excellent! I had spent days trying to resolve this issue and never did. I ended up temporarily moving to a different distribution due to Xorg issues that I couldn't get resolved which also corrected the audio sync issue but it's nice to know that I wasn't the only one having this issue and that there is a fix. Great find and thanks for posting!

In other news: I'm not crazy - there really was a bug.

Martian

Author:  cecil [ Thu Feb 15, 2007 1:40 pm ]
Post subject: 

If the update has made it into the repos...
Code:
apt-get update && apt-get install libxine
should work. Thanks for pointing this out, I'll ensure it is updated for the next release.

Author:  aa1979 [ Sat Feb 17, 2007 9:49 pm ]
Post subject: 

Works great - fixes all xine sync issues. Thanks!!

Author:  jimmyfergus [ Wed Feb 21, 2007 1:53 pm ]
Post subject: 

cecil wrote:
If the update has made it into the repos...
Code:
apt-get update && apt-get install libxine
should work. Thanks for pointing this out, I'll ensure it is updated for the next release.


It seems to be "libxine1" (I think?), and the repository seems to have "1.1.2+dfsg-2"

Author:  jigawho [ Fri Feb 23, 2007 5:48 pm ]
Post subject: 

like jimmyfergus said, I had to "apt-get libxine1".

That noticeably improved the audio sync, but it appears there's still a slight delay in audio. Has anyone else seen this, or is it unique to my setup (spdif passthrough to my receiver)? I tired playing around with the "digital audio delay setting in xine, but even with it set to -100 I didn't notice any difference. Has anyone had success with it?

Author:  jimmyfergus [ Fri Feb 23, 2007 7:18 pm ]
Post subject: 

jigawho wrote:
like jimmyfergus said, I had to "apt-get libxine1".


... though it wasn't v 1.1.4, so perhaps the fix isn't in there - I haven't looked into it to find out. It might be worth doing the build listed above.

Author:  AnusFace [ Wed Feb 28, 2007 3:14 am ]
Post subject:  audio sync lags

I've tried to follow these directions but am getting errors from make install..
running as root.. I've tried the original instructions as well as with the ./configure --prefix=/usr


checking X11/extensions/XvMC.h usability... no
checking X11/extensions/XvMC.h presence... yes
configure: WARNING: X11/extensions/XvMC.h: present but cannot be compiled
configure: WARNING: X11/extensions/XvMC.h: check for missing prerequisite headers?
configure: WARNING: X11/extensions/XvMC.h: see the Autoconf documentation
configure: WARNING: X11/extensions/XvMC.h: section "Present But Cannot Be Compiled"
configure: WARNING: X11/extensions/XvMC.h: proceeding with the preprocessor's result
configure: WARNING: X11/extensions/XvMC.h: in the future, the compiler will take precedence
checking for X11/extensions/XvMC.h... yes
*** Enabling xxmc plugin with vld extensions.


any hints?

Author:  mihanson [ Wed Apr 11, 2007 3:19 pm ]
Post subject: 

Just noticed a new xine-lib version was released a few days ago...
Code:
wget http://prdownloads.sourceforge.net/xine/xine-lib-1.1.5.tar.bz2

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