Difference between revisions of "Analogtv-plugin"

From VDR Wiki
Jump to: navigation, search
(initial)
(Hardware requirements)
(14 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
==Description==
 
==Description==
 
[[Image:Analogtv-plugin(setup).jpg|thumb|Setup]]
 
[[Image:Analogtv-plugin(setup).jpg|thumb|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.
 
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.
 
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.
 +
 +
If you use an ivtv based TV card, you may use one of the other plugins as well: [http://www.linuxtv.org/vdrwiki/index.php/Category:AnalogTV Category:AnalogTV]
  
 
==Hardware requirements==
 
==Hardware requirements==
 
* analog TV card (BTTV or ivtv driver)
 
* analog TV card (BTTV or ivtv driver)
* realtime MPEG encoder, hardware (e.g. Hauppauge PVR250/350, or software)
+
* realtime MPEG encoder: hardware (e.g. Hauppauge PVR250/350) or software
  
 
==Software requirements==
 
==Software requirements==
 
* Software MPEG encoder if no supported hardware encoder is present
 
* Software MPEG encoder if no supported hardware encoder is present
* For the PVR250/350 the newest [http://67.18.1.101/~ckennedy/ivtv/ drivers] are needed.
+
* For the PVR250/350 the newest [http://www.ivtv.tv/releases/ drivers] are needed.
 
* libdvb
 
* libdvb
 
* Video4Linux2 (v4l2)
 
* Video4Linux2 (v4l2)
Line 18: Line 21:
 
==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 49: Line 44:
 
==Problems==
 
==Problems==
 
* For ivtv > 0.1.9, set ''VPID=301'' and ''APID=300'' in the '''channels.conf'''
 
* For ivtv > 0.1.9, set ''VPID=301'' and ''APID=300'' in the '''channels.conf'''
 +
* If analogtv plugin compilation fails with a "ISO C++ forbids cast to non-reference type used as lvalue" error, then edit the Makefile in PLUGINS/src/analogtv and comment out the line "HAVE_FAST_MEMCPY = 1"
  
 
==CVS==
 
==CVS==
<pre>
+
cvs -d:pserver:anonymous@vdr-analogtv.cvs.sourceforge.net:/cvsroot/vdr-analogtv login
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vdr-analogtv login
+
cvs -z3 -d:pserver:anonymous@vdr-analogtv.cvs.sourceforge.net:/cvsroot/vdr-analogtv co analogtv
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vdr-analogtv co analogtv
+
</pre>
+
  
 
==Links==
 
==Links==
 
{|
 
{|
 
| [1]
 
| [1]
| http://akool.bei.t-online.de/vdr/analogtv
+
| http://www.akool.homepage.t-online.de/index.html
 
| Plugin homepage
 
| Plugin homepage
 
|-
 
|-
Line 71: Line 65:
 
|-
 
|-
 
| [4]
 
| [4]
| http://67.18.1.101/~ckennedy
+
| http://www.ivtv.tv/
| new IVTV driver
+
| (new) IVTV driver
 
|-
 
|-
 
| [5]
 
| [5]
Line 79: Line 73:
 
|-
 
|-
 
| [6]
 
| [6]
| Channel list PAL
+
| [[channels.conf analogue]]
| Zuordnung Kanal-Frequenz
+
| channels.conf examples for analogue TV
 +
|-
 +
| [7]
 +
| [[freqlist PAL-europe]]
 +
| List of all pal-europe frequencies
 
|}
 
|}
  
[[Category:Plugins]]
+
[[Category:Plugins]][[Category:AnalogTV]]
  
<!-- Link to german wiki page -->
+
{{i18n|analogtv-plugin}}
[[de:Analogtv-plugin]]
+

Revision as of 12:21, 14 November 2006

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.

If you use an ivtv based TV card, you may use one of the other plugins as well: Category:AnalogTV

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
  • If analogtv plugin compilation fails with a "ISO C++ forbids cast to non-reference type used as lvalue" error, then edit the Makefile in PLUGINS/src/analogtv and comment out the line "HAVE_FAST_MEMCPY = 1"

CVS

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

Links

[1] http://www.akool.homepage.t-online.de/index.html 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://www.ivtv.tv/ (new) IVTV driver
[5] http://www.metzlerbros.org/dvb/index.html Libdvb
[6] channels.conf analogue channels.conf examples for analogue TV
[7] freqlist PAL-europe List of all pal-europe frequencies