Difference between revisions of "Dxr3-plugin"

From VDR Wiki
Jump to: navigation, search
(initial)
m
Line 13: Line 13:
 
==Installation==
 
==Installation==
 
To install FFMPEG
 
To install FFMPEG
  +
cd $SOURCEDIR
<pre>
 
  +
tar -xvzf ffmpeg-<VERSION>.tar.gz
cd $SOURCEDIR
 
tar -xvzf ffmpeg-<VERSION>.tar.gz
+
cd ffmpeg-<VERSION>
  +
./configure --prefix=/usr/local \
cd ffmpeg-<VERSION>
 
  +
--enable-shared
./configure --prefix=/usr/local \
 
  +
make
--enable-shared
 
make
+
make install
  +
ldconfig
make install
 
ldconfig
 
</pre>
 
   
 
Now the kernel sources has to be installed for the em8300 driver which is installed after it. If a normal release is used
 
Now the kernel sources has to be installed for the em8300 driver which is installed after it. If a normal release is used
  +
cd $SOURCEDIR
<pre>
 
  +
tar xvzf em8300-<VERSION>.tar.gz
cd $SOURCEDIR
 
tar xvzf em8300-<VERSION>.tar.gz
+
cd em8300-<VERSION>
  +
./configure --prefix=/usr/local
cd em8300-<VERSION>
 
  +
make
./configure --prefix=/usr/local
 
make
+
make install
  +
cd modules
make install
 
  +
make
cd modules
 
make
+
make install
make install
+
make devices
make devices
 
</pre>
 
   
 
if the CVS version (recommended) is used
 
if the CVS version (recommended) is used
  +
cd $SOURCEDIR
<pre>
 
  +
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/dxr3 login
cd $SOURCEDIR
 
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/dxr3 login
+
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/dxr3 co em8300
  +
cd em8300/modules
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/dxr3 co em8300
 
  +
make
cd em8300/modules
 
make
+
make install
  +
make install
 
  +
cd ../em8300setup
 
  +
gcc em8300setup.c -o em8300setup -I../include
cd ../em8300setup
 
gcc em8300setup.c -o em8300setup -I../include
+
cp em8300setup /usr/local/bin
cp em8300setup /usr/local/bin
 
</pre>
 
   
 
===Patches===
 
===Patches===
 
Before the plugin is installed after [[plugin installation]], the plugins '''Makefile''' has to be adapted
 
Before the plugin is installed after [[plugin installation]], the plugins '''Makefile''' has to be adapted
  +
- DVBDIR = ../../../../DVB
<pre>
 
- DVBDIR = ../../../../DVB
+
+ DVBDIR = ../../../DVB
  +
+ DVBDIR = ../../../DVB
 
  +
- FFMDIR = ../../../../ffmpeg
 
- FFMDIR = ../../../../ffmpeg
+
+ FFMDIR = /usr/local/include/ffmpeg
+ FFMDIR = /usr/local/include/ffmpeg
 
</pre>
 
   
 
==Problems==
 
==Problems==
Line 67: Line 59:
   
 
==CVS==
 
==CVS==
  +
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/dxr3plugin login
<pre>
 
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/dxr3plugin login
+
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/dxr3plugin co dxr3
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/dxr3plugin co dxr3
 
</pre>
 
   
 
==Links==
 
==Links==

Revision as of 22:25, 30 November 2004

Description

With the DXR3 plugin one can use DXR3/Hollywood+ cards as output devices for VDR. The bargain of a costly FullFeatured DVB card can be avoided.

Hardware requirements

  • DXR3/Hollywood+

Software requirements

  • em8300 driver
  • FFMPEG
  • Linux kernel sources

Installation

To install FFMPEG

cd $SOURCEDIR
tar -xvzf ffmpeg-<VERSION>.tar.gz
cd ffmpeg-<VERSION>
./configure --prefix=/usr/local \
            --enable-shared
make
make install
ldconfig

Now the kernel sources has to be installed for the em8300 driver which is installed after it. If a normal release is used

cd $SOURCEDIR
tar xvzf em8300-<VERSION>.tar.gz
cd em8300-<VERSION>
./configure --prefix=/usr/local
make
make install
cd modules
make
make install
make devices

if the CVS version (recommended) is used

cd $SOURCEDIR
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/dxr3 login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/dxr3 co em8300
cd em8300/modules
make
make install

cd ../em8300setup
gcc em8300setup.c -o em8300setup -I../include
cp em8300setup /usr/local/bin

Patches

Before the plugin is installed after plugin installation, the plugins Makefile has to be adapted

- DVBDIR = ../../../../DVB
+ DVBDIR = ../../../DVB

- FFMDIR = ../../../../ffmpeg
+ FFMDIR = /usr/local/include/ffmpeg

Problems

  • There are incompatibilities in combination with ac3overdvb-patch and a channles.conf with DD-Audio-Pids
  • The em8300 driver release cannot be compiled under SuSE 9.1, the CVS version is no problem

CVS

cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/dxr3plugin login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/dxr3plugin co dxr3

Links

[1] http://sourceforge.net/projects/dxr3plugin Plugin homepage
[2] http://dxr3.sourceforge.net Linux DXR3 and Hollywood+ driver projekt homepage
[3] http://ffmpeg.sourceforge.net FFMPEG homepage