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
<pre>
+
cd $SOURCEDIR
cd $SOURCEDIR
+
tar -xvzf ffmpeg-<VERSION>.tar.gz
tar -xvzf ffmpeg-<VERSION>.tar.gz
+
cd ffmpeg-<VERSION>
cd ffmpeg-<VERSION>
+
./configure --prefix=/usr/local \
./configure --prefix=/usr/local \
+
            --enable-shared
            --enable-shared
+
make
make
+
make install
make install
+
ldconfig
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
<pre>
+
cd $SOURCEDIR
cd $SOURCEDIR
+
tar xvzf em8300-<VERSION>.tar.gz
tar xvzf em8300-<VERSION>.tar.gz
+
cd em8300-<VERSION>
cd em8300-<VERSION>
+
./configure --prefix=/usr/local
./configure --prefix=/usr/local
+
make
make
+
make install
make install
+
cd modules
cd modules
+
make
make
+
make install
make install
+
make devices
make devices
+
</pre>
+
  
 
if the CVS version (recommended) is used
 
if the CVS version (recommended) is used
<pre>
+
cd $SOURCEDIR
cd $SOURCEDIR
+
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/dxr3 login
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/dxr3 login
+
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/dxr3 co em8300
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/dxr3 co em8300
+
cd em8300/modules
cd em8300/modules
+
make
make
+
make install
make install
+
 
+
cd ../em8300setup
cd ../em8300setup
+
gcc em8300setup.c -o em8300setup -I../include
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
<pre>
+
- DVBDIR = ../../../../DVB
- 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==
<pre>
+
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/dxr3plugin login
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 23: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