Analogtv-plugin

From VDR Wiki
Revision as of 18:58, 23 November 2013 by Wirbel (talk | contribs)
Jump to navigation Jump to search

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