Here is an ebuild for xine-lib-1.2 with vdpau support. The ebuild pulls the latest xine-lib-1.2 from mercurial and applies the specified xine-vdpau patch from here: http://www.jusst.de/vdpau/files/xine-lib-1.2/ Reproducible: Always
Created attachment 208434 [details] xine-lib-1.2 ebuild with vdpau support
Created attachment 208435 [details, diff] patch
Created attachment 208436 [details, diff] patch
Created attachment 208437 [details, diff] patch
Works OK with gxine-0.5.903 (tested playing avi file with xvid video and mp3 audio) in AMD64 arch. Xine-ui don't compile due to a missing function error.
It works with miro too. xine-ui in portage isn't compatible with xine-lib-1.2, but the latest should be.
As far as VDPAU depends, you should really depend on x11-libs/libvdpau from now on.
Using nvidia-settings-180.60, Xserver Xvideo settings don't works. Downgrading xine-lib to 1.2.9999_p247 in overlay solves the problem.
I read that xine-vdpau has been merged with xine-lib-1.2, but I commented out the patches in the ebuild and emerged and I don't seem to get vdpau acceleration.
To make the latest ebuild posted here pull the merged vdpau, change all instances of "xine-lib-1.2" to "xine-lib-1.2-vdpau" (except for SRC_URI) and remove all epatch references. I tried to rename the ebuild and clean it up properly but I couldn't get it to work.
Just compiled xine-lib from xine-lib-1.2-vdpau with adapted ebuild and vdpau works just great out of the box here.
Hello, it will not compile... Emerging (1 of 1) media-libs/xine-lib-1.2.9999_p284 from unknown repo * xine-lib-1.2-vdpau-r284.diff.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... * Updating /usr/portage/distfiles/hg-src/xine-lib/xine-lib-1.2 from http://hg.debian.org/hg/xine-lib/xine-lib-1.2 * Creating working directory in /var/tmp/portage/media-libs/xine-lib-1.2.9999_p284/work/xine-lib-1.2 (revision: tip) >>> Unpacking xine-lib-1.2-vdpau-r284.diff.bz2 to /var/tmp/portage/media-libs/xine-lib-1.2.9999_p284/work * Applying xine-lib-1.2-vdpau-r284.diff ... * Failed Patch: xine-lib-1.2-vdpau-r284.diff ! * ( /var/tmp/portage/media-libs/xine-lib-1.2.9999_p284/work/xine-lib-1.2-vdpau-r284.diff ) * * Include in your bugreport the contents of: * * /var/tmp/portage/media-libs/xine-lib-1.2.9999_p284/temp/xine-lib-1.2-vdpau-r284.diff-15754.out * * ERROR: media-libs/xine-lib-1.2.9999_p284 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 3015: Called epatch '/var/tmp/portage/media-libs/xine-lib-1.2.9999_p284/work/xine-lib-1.2-vdpau-r284.diff' * environment, line 1604: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!"; * The die message: * Failed Patch: xine-lib-1.2-vdpau-r284.diff! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-libs/xine-lib-1.2.9999_p284/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/xine-lib-1.2.9999_p284/temp/environment'. *
Created attachment 214865 [details] Error log Here is the Output
R. May, I think you need to comment out all instances of epatch like I said in my previous post. Make sure you follow the instructions in that post.
VDPAU support has been merged with xine-lib so it's no longer necessary to specify the vdpau branch in the ebuild. I tried to clean it up for posting here, but mine's a mess. Also, I don't have anything high def right now to test. Could someone else test and report back?
Hello, is there a working ebuild now for the new CVS xine-lib? Regards Roland
xine-lib-1.2.9999 is in CVS now.