This is a "plugin" for the Video Disk Recorder (VDR).

Written by:                  Andreas <andreas.regel@powarman.de>

Project's homepage:          www.powarman.de

Latest version available at: www.powarman.de/files/pvrinput

See the file COPYING for license information.


Description:
------------

This plugin uses a Hauppauge PVR card as an input device. All cards
supported by the ivtv driver should work. I am using the stable driver
version 0.4.0 with recommended encoder firmware 2.05.032. I cannot say
whether the plugin works with ivtv versions lower than 0.4.0, at least
VBI teletext will not work with older versions due to a changed API. I
really recommend version 0.4.0 as with it there seem to be no errors in
teletext any longer.

Take the channels.conf in example dir as a reference for your own
channels.conf. You can also take a channels.conf from the analogtv plugin
and modify parameter, teletext and CA values. It is important to have the
following values for the channels:
 Video PID: 301
 Audio PID: 300
 Teletext PID: 305
 CA identifier: A1

for example:
RTL:217250:C0:C:0:301:300:305:A1:12003:1:1089:0
       |   |       |   |   |  |    |   |   |
       |   |       |   |   |  |    |   |   --> Transport Stream ID
       |   |       |   |   |  |    |   --> Network ID
       |   |       |   |   |  |    --> Service ID
       |   |       |   |   |  --> CA identifier
       |   |       |   |   --> Teletext PID
       |   |       |   --> Audio PID
       |   |       --> Video PID (set to 0 for radio stations)
       |   --> Parameters (see below)
       --> Frequency

Parameters:
With a frequency higher than 10000 kHz the tuner input of the PVR card is used.
The number of the tuner input should be detected automatically during startup
of the plugin. If this doesn't work you can specify it by setting the "C"
parameter of the channel entry to the right value. You also have to specify
this value if you want to use another input of the PVR card:
  C0   - Input 0
  C12  - Input 1
  C23  - Input 2
  C34  - Input 3
  C45  - Input 4
  C56  - Input 5
  C67  - Input 6
  C78  - Input 7
  C89  - Input 8
  C999 - Input 9

The video norm can be chosen in a similar way using the "I" parameter:
  I0   - NTSC
  I1   - SECAM
  I999 - PAL
With no "I" parameter, PAL is used.


There is a small OSD window for setting up the picture parameters (brightness,
contrast, saturation, hue). It can be reached from the main menu. Use the
Up/Down keys to switch between the parameters and Left/Right to change a
value. Press Ok to save the settings and close the window. Menu/Back just
closes the window without saving the values.

Some parts of the plugin's source are based on the analogtv plugin by
Andreas Kool.
