VDR-Xine Plugin now with VDPAU support (HOWTO)

[UPDATE]Read here, how to install VDR on Karmic Koala with Binary Packages.[/UPDATE] Reinhard Nissl managed to get his vdr-xine plugin going with Nvidia’s vdpau hardware acceleration support. What does mean HDTV and H.264 (mpeg4/avc) hardware acceleration is reality now on Linux! YES!
He instructed me on IRC#xine-vdpau and guided me through the installation process. He had enormous patience, and didn’t stop to help me, although my whole system is a real mess now, because of all my try-outs regarding xine, mlayer and vdpau compilations and installations. I still have difficulties with two channels. Some reported a flawless playback.

Note: Before you continue: If you’ve got an already more or less working VDR with xineliboutput plugin, then this will most likely break it!!
Xineliboutput is working with xine-lib-1.1.x, but vdr-xine runs only with xine-lib-1.2.

Prerequisites


For the following you need an already running DVB-S2 driver, and patched 1.7.0 VDR and the NVidias VDPAU driver >= 180.16. (look up the latest version for x86 or x86_64 version)

Basically this whole procudere is done in three steps and against xine-lib-1.2 (thanks god!)
HOWTO in 3 steps


  1. install latest ffmpeg trunc:
    svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
    configure --arch=x86_64 --cpu=core2    --enable-pthreads --enable-shared --enable-gpl --enable-postproc --disable-stripping
    make  && make install
  2. install xine-lib-1.2 and patch it.
    hg clone http://hg.debian.org/hg/xine-lib/xine-lib-1.2 xine-lib-1.2
    cd xine-lib-1.2
    wget http://www.jusst.de/vdpau/xine-lib-1.2-vdpau-r135.diff.bz2
    bunzip2 xine-lib-1.2-vdpau-r135.diff.bz2
    patch -p1 -i xine-lib-1.2-vdpau-r135.diff
    ./autogen.sh --with-external-ffmpeg --disable-dxr3 --enable-debug --disable-optimizations
    make
    make install
  3. download the latest (0.8.2) vdr-xine plugins in your ~/VDR/PLUGINS/src directory
    wget http://home.vrweb.de/rnissl/vdr-xine-0.8.2.tgz
    tar xfvz vdr-xine-0.8.2.tgz
    cd ../../..
    make plugins
    

Starting


start now your VDR with this additional plugin

-P'xine -r'

and start your front-end like this:

xine --verbose=2 -V vdpau -A alsa -L --post vdr_video --post vdr_audio --post upmix_mono "vdr:/tmp/vdr-xine/stream#demux:mpeg_pes"

that’s it.

Look in this Blog for the detailed command line on how to start VDR and available HDTV channels on the satellites Astra and Hotbird.

Read on the next page: Troubleshooting; Known problems; Notes; UPDATE!

2 thoughts on “VDR-Xine Plugin now with VDPAU support (HOWTO)

Comments are closed.