xine-vdpau – the first contact

The only thing I get is this here:

load_plugins: plugin /usr/local/lib/xine/plugins/2.0/ found
main: probing  video output plugin
video_out_xv: using Xv port 280 from adaptor NV17 Video Texture for hardware colour space conversion and scaling.
video_out_xv: ignoring broken XV_HUE settings on NVidia cards
video_out_xv: this adaptor supports the YUY2 format.
video_out_xv: this adaptor supports the YV12 format.
main: probing  audio output plugin
audio_alsa_out : supported modes are 8bit 16bit 24bit 32bit mono stereo (4-channel not enabled in xine config) (4.1-channel not enabled in xine config) (5-channel not enabled in xine config) (5.1-channel not enabled in xine config) (a/52 and DTS pass-through not enabled in xine config)
video_out_xv: VO_PROP_ASPECT_RATIO(0)
        mrl: 'astrahd+.m2t',
        sub 'NONE',
        start_pos 0, start_time 0, av_offset 0, spu_offset 0.
xine: found input plugin  : file input plugin
ebml: Invalid EBML length size (0x0) at position 3
ebml: invalid master element
xine: found demuxer plugin: MPEG Transport Stream demuxer
av_offset=0 pts
spu_offset=0 pts

It’s also strange, that perfoming a

xine --list-plugins | grep -i vdpau

returns nothing back.

Btw. Please read the README-VDPAU, there’s is mention a modification. You’ve got to find in ~/.xine/config the line


and replace the 15 with a 22.

The README also states, it’s all very buggy and atm only m2t files are supported. Matroska (.mkv) and .mov aren’t working. Since the Xine developer team has a diffrent approach, they aren’t as fast as the MythTV team.

Ah, one goody left: They also mention VDR, and how one can get it to work 😉 :
(I think it’s about vdr-xine and xineliboutput plugin as server and client front-end)

How do i get it working with VDR, Kaffeine, whatever.
Ask VDR, Kaffeine, whatever developers.
(Note: for kaffeine you are lucky, i’m going to tell you the tip.
Build kaffeine like that: ./configure –without-xcb && make && make install)

to be continued…

The reason why it’s not working for me, is quite simple (thanks Lorenzo@#xine-vdpau on on 2008-12-20).
My xine-ui is using /usr/lib/xine/plugins/2.0/. You can check this easily yourself by running:

xine --verpobe --no-logo

But my libraries resides in /usr/lib/xine/plugins/1.25/.
One must know, xine-vdpau is branch 1.1.16 (->plugin.dir: 1.25) and not 1.2.0 (->plugin.dir:2.0). You can verify the paths yourself in this file:
/usr/local/lib/pkgconfig/libxine.pc or /usr/lib/pkgconfig/libxine.pc.
This all came because of my previous xine-lib-1.2 installation for the VDR (Video Disk Recorder) for HD playback. See here. If you are affected too, read ahead how I solved it.

11 thoughts on “xine-vdpau – the first contact

  1. vdr-sxfe is usable out of the box without any problems. No need for patches.

  2. ./ –prefix=/usr CPPFLAGS=”-I/usr/local/src/xine-vdpau/src/libffmpeg -I/usr/local/src/xine-vdpau/src/libffmpeg/libavutil -I/usr/local/src/xine-vdpau/src/libffmpeg/libavcodec -I/usr/local/src/xine-vdpau/src/libffmpeg/libavcodec/libpostproc”

    ./configure: line 2000: syntax error near unexpected token `”xine-lib”,’
    ./configure: line 2000: `AM_INIT_AUTOMAKE(“xine-lib”, $SPEC_VERSION)’

    can you help me ?

  3. @Bluray
    your “” have to be in
    or you have to update the CPPFLAGS accordingly to the location where your xine-vdpau currently on your hdd is.
    But that’s only a guess.

  4. I’m using Ubuntu 8.10 64bit, I spent the folder “xine-vdpau” to” / usr / local / src” but had to use sudo to run. /, because the folder where is the xine-vdpau is root
    /usr/share/automake-1.7/am/ AMDEP does not appear in AM_CONDITIONAL
    + Running autoconf: done.
    + Running ‘configure –prefix=/usr CPPFLAGS=-I/usr/local/src/xine-vdpau/src/libffmpeg -I/usr/local/src/xine-vdpau/src/libffmpeg/libavutil -I/usr/local/src/xine-vdpau/src/libffmpeg/libavcodec -I/usr/local/src/xine-vdpau/src/libffmpeg/libavcodec/libpostproc’:
    ./configure: line 2000: syntax error near unexpected token `”xine-lib”,’
    ./configure: line 2000: `AM_INIT_AUTOMAKE(“xine-lib”, $SPEC_VERSION)’

    gave the same thing

  5. @Bluray
    Hmm, difficult to diagnose this, but here are my 2cent:

    1st, remove your xine installation:

    apt-get remove libxine1 libxine1-bin libxine1-dbg

    The following packages will be REMOVED:
    gxine gxineplugin libxine1 libxine1-bin libxine1-console libxine1-ffmpeg libxine1-misc-plugins libxine1-plugins
    libxine1-x libxine1-xvdr

    2nd, install at least these pachages:

    apt-get install autoconf libtool automake autoconf pkg-config gettext subversion
    apt-get install liba52-0.7.4-dev libmp3lame-dev libvorbis-dev zlib1g-dev libpng12-dev libx11-dev libxv-dev libasound2-dev libogg-dev
    apt-get install libxvidcore4-dev libtheora-dev libgsm1-dev libfaac-dev libfaad-dev

    3rd, you can also check the dependencies by

    apt-get build-dep xine-lib --dry-run

    4th. I'm using automake1.9, but this could be irrelevant.

    5th, use Google, if all above fails. I've read something about running 'aclocal' before compilation or stuff.


    PS: using /usr/local/src isn't really a good idea of mine, that's true. I've just wanted you to check the CPPFLAGS against your installed xine-vdpau path, that's all.

  6. How did you get your xine-lib-1.2 libraries linked properly so the vdpau got built?

    I can start xine with :
    xine –verbose=2 -V vdpau -A alsa –post vdr_video –post 001.vdr
    but it plays in xv “video_out_xv”

    I can even start with xine –verbose=2 -V biggirlsblouse -A alsa –post
    vdr_video –post vdr_audio –post upmix_mono 001.vdr
    and it still plays in xv with no errors.

    I’m using xine-lib-1.2 and patching with xine-lib-1.2-vdpau-r286.diff which
    was configured with:
    ./ –with-vdpau –enable-debug –disable-optimizations –with-mpc=no

    then using xine-ui xine-ui-cvs-20090617220000 built with
    ./ –enable-vdr-keys –disable-lirc

    My only library plugins are now xine-lib-1.2:
    ldconfig -p | grep xine (libc6,x86-64) => /usr/local/lib/ (libc6,x86-64) => /usr/local/lib/

    ls -l /usr/local/lib/libxine*
    -rwxr-xr-x 1 root root 825 2010-01-09 11:59 /usr/local/lib/
    lrwxrwxrwx 1 root root 16 2010-01-09 11:59 /usr/local/lib/ ->
    lrwxrwxrwx 1 root root 16 2010-01-09 11:59
    /usr/local/lib/ ->
    -rwxr-xr-x 1 root root 1118042 2010-01-09 11:59

    Kernel is:

    nvidia drivers are:

    Video card is:
    00:0d.0 VGA compatible controller: nVidia Corporation GeForce 6150SE nForce
    430 (rev a2) (prog-if 00 [VGA controller])
    Subsystem: Giga-byte Technology Device d000
    Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
    Memory at f2000000 (32-bit, non-prefetchable) [size=16M]
    Memory at e0000000 (64-bit, prefetchable) [size=256M]
    Memory at f3000000 (64-bit, non-prefetchable) [size=16M]
    [virtual] Expansion ROM at 50000000 [disabled] [size=128K]
    Capabilities: [48] Power Management version 2
    Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+
    Count=1/1 Enable-
    Kernel driver in use: nvidia
    Kernel modules: nvidia, nvidiafb

    Any ideas?? What am I doing wrong?

  7. Oh yeah, I’m also getting this…

    Everything appears to compile fine, but if I do:

    xine –list-plugins | grep vdpau

    I get nothing.


  8. @Simon

    I’m not building xine myself anymore, since it’s – and you know it now also – a real PITA. I’m using the “the-vdr-team” PPA repo for Ubuntu (Karmic Koala). This blog article is quite old, regarding the rapid development going on in this sector.
    But I guess you suffer the same, I suffered from the first time I’ve tried to build libxine on my own. Thas was, that I had to get rid off the libxine-1.x somehow. I was always linking against the old plugin libs, and there is no vdpau plugin.
    Run “xine –verpobe –no-logo” and be sure the plugins are 2.x and not 1.x or something. And check out the second page of this article carefully, especially where it comes to versions (2.0 and 1.x).

    Hope I could help.


Comments are closed.