Difference between revisions of "Analogtv-plugin"

From VDR Wiki
Jump to: navigation, search
(initial)
m
Line 18: Line 18:
 
==Installation==
 
==Installation==
 
There are two changes to libdvb. First, in ''libdvbmpeg/transform.c'' replace
 
There are two changes to libdvb. First, in ''libdvbmpeg/transform.c'' replace
<pre>
+
static void pes_in_ts(p2p *p)
static void pes_in_ts(p2p *p)
+
 
</pre>
+
 
with
 
with
<pre>
+
void pes_in_ts(p2p *p)
void pes_in_ts(p2p *p)
+
</pre>
+
  
 
and in ''dvb-mpegtools/Makefile'' replace
 
and in ''dvb-mpegtools/Makefile'' replace
<pre>
+
install -m 755 dvb_show_image $(PREFIX)/bin/
install -m 755 dvb_show_image $(PREFIX)/bin/
+
 
</pre>
+
 
with
 
with
<pre>
+
install -m 755 show_dvb_image $(PREFIX)/bin/
install -m 755 show_dvb_image $(PREFIX)/bin/
+
</pre>
+
  
 
Now libdvb can be installed
 
Now libdvb can be installed
<pre>
+
cd $SOURCEDIR
cd $SOURCEDIR
+
tar xvzf libdvb-<VERSION>.tar.gz
tar xvzf libdvb-<VERSION>.tar.gz
+
cd libdvb-<VERSION>
cd libdvb-<VERSION>
+
make
make
+
make install
make install
+
ldconfig
ldconfig
+
</pre>
+
  
 
For the rest of the installation see the README file and See [[plugin installation]].
 
For the rest of the installation see the README file and See [[plugin installation]].
Line 51: Line 43:
  
 
==CVS==
 
==CVS==
<pre>
+
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vdr-analogtv login
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vdr-analogtv login
+
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vdr-analogtv co analogtv
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vdr-analogtv co analogtv
+
</pre>
+
  
 
==Links==
 
==Links==
Line 77: Line 67:
 
| http://www.metzlerbros.org/dvb/index.html
 
| http://www.metzlerbros.org/dvb/index.html
 
| Libdvb
 
| Libdvb
|-
 
| [6]
 
| Channel list PAL
 
| Zuordnung Kanal-Frequenz
 
 
|}
 
|}
  

Revision as of 23:17, 30 November 2004

Description

Setup

The analogtv plugin makes it possible to use analog TV with VDR. The DVB card is used as output device. For VDR, the analogtv plugin behaves like a DVB budget card.

Supported are analog-TV cards (with or without hardware MPEG encoder) and video-grabber cards. So not only a TV tuner can be used, one can record from webcams or VCRs as well.

Hardware requirements

  • analog TV card (BTTV or ivtv driver)
  • realtime MPEG encoder, hardware (e.g. Hauppauge PVR250/350, or software)

Software requirements

  • Software MPEG encoder if no supported hardware encoder is present
  • For the PVR250/350 the newest drivers are needed.
  • libdvb
  • Video4Linux2 (v4l2)
  • ALSA sound driver

Installation

There are two changes to libdvb. First, in libdvbmpeg/transform.c replace

static void pes_in_ts(p2p *p)

with

void pes_in_ts(p2p *p)

and in dvb-mpegtools/Makefile replace

install -m 755 dvb_show_image $(PREFIX)/bin/

with

install -m 755 show_dvb_image $(PREFIX)/bin/

Now libdvb can be installed

cd $SOURCEDIR
tar xvzf libdvb-<VERSION>.tar.gz
cd libdvb-<VERSION>
make
make install
ldconfig

For the rest of the installation see the README file and See plugin installation.

Problems

  • For ivtv > 0.1.9, set VPID=301 and APID=300 in the channels.conf

CVS

cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vdr-analogtv login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vdr-analogtv co analogtv

Links

[1] http://akool.bei.t-online.de/vdr/analogtv Plugin homepage
[2] http://sourceforge.net/projects/vdr-analogtv Projekt site on Sourceforge
[3] http://www.koneczny.info/AnalogTV HOWTO for Hauppauge PVR250 und 350
[4] http://67.18.1.101/~ckennedy new IVTV driver
[5] http://www.metzlerbros.org/dvb/index.html Libdvb