Difference between revisions of "Analogtv-plugin"

From VDR Wiki
Jump to: navigation, search
(Hardware requirements)
(8 intermediate revisions by 4 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==
Line 41: 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==
  cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vdr-analogtv login
+
  cvs -d:pserver:anonymous@vdr-analogtv.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@vdr-analogtv.cvs.sourceforge.net:/cvsroot/vdr-analogtv co analogtv
  
 
==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 67: Line 71:
 
| http://www.metzlerbros.org/dvb/index.html
 
| http://www.metzlerbros.org/dvb/index.html
 
| Libdvb
 
| Libdvb
 +
|-
 +
| [6]
 +
| [[channels.conf analogue]]
 +
| 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 13: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