Syntax of channels.conf

From VDR Wiki
Revision as of 20:09, 29 September 2004 by Wirbel (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Parameters of VDR channel config file

In this example below there are three different channels definitions: the first is an example for satellite, the second is terrestrian dvb, the third is an channel definition for the analogTV plugin.

Name Frequenz Parameter Quelle SRate VPID APID TPID CA SID NID TID RID
RTL
Das Erste
VHF K10
12188
522000
210250
h
I0C23D0M16B8T8G8Y0
C0D45B6
S19.2E
T
C
27500
27500
0
163
1401
301
104
1402
300
105
1404
0
0
1
A0
12003
14
28106
0
0
0
0
0
0
0
0
0

The VDR reads at startup all channel definitions from the config file ($CONFIGDIR/vdr/channels.conf) and writes any changig onto that file back. Changings on channels.conf are useless if VDR is running, VDR has to be stopped if you want to edit this file!
The meaning of the 13 fields:

Name

Name of that channel. If the name enthält includs a ":" it will be automatically replaced by "|". If you use VDR-1.2.x please do NOT include komma or semikolon. Starting at VDR version 1.3.12 this field also includes the service providers name(aka "bouquet"), separated by semikolon.

Frequency

Transponder Frequency as Integer.

DVB-S:           Frequency in MHz. 
DVB-C: Frequency in MHz, kHz or Hz.
DVB-T: Frequency in MHz, kHz or Hz.
analogue TV: Frequency in MHz. (analogTV plugin)

The value here will be multiplied by 1000 until it's bigger than 1000000.


Parameters

The Parameters in this field depends on the type of DVB you use: DVB-S, DVB-C ,DVB-T or analogue TV.
Each Parameter starts with an letter, followed by an Integer which represends the value of that parameter.
valid identifiers and their ranges:

Identifier  Value   	Meaning 
I        (0, 1)	        Inversion 
C	(0, 12, 23, 34, 45, 56, 67, 78, 89)	Data rate high priority 
for analogue TV is C the capture device: C0 = /dev/video0 C12 = /dev/video1 C23 = /dev/video2 C34 = /dev/video3 C45 = /dev/video4
D	(0, 12, 23, 34, 45, 56, 67, 78, 89)	Data rate low priority 
for analogue TV is D the video source used: D0 = Television D12 = Composite1 D23 = Composite2 D34 = S-Video D0 = S-Video ext. (Hauppauge PVR250/350-cards only) D45 = Tuner 0 (Hauppauge PVR250/350-cards only) D56 = Composite ext. (Hauppauge PVR250/350-cards only)


M	(0, 16, 32, 64, 128, 256)	Modulation 
B	(6, 7, 8)	Bandwidth in MHz 
for analogue TV is B the Video norm: B6 = PAL B7 = NTSC

B8 = SECAM

T	(2, 8)	Transmission mode 
G	(4, 8, 16, 32)	Guard intervall 
Y	(0, 1, 2, 4)	Hierarchy 
H		Horizontal Polarization 
V		Vertical Polarization 

The Polarisation Parameter is *not* followed by an value for compatibility reasons.

The values "999" is used for automatic. If possible the driver will find the best settings.

Example for dvb-t:

I0C23D0M16B8T8G8Y0
Inversion off, Data Rate High=23, Data Rate High=0, QAM16, Bandwidth 8MHz,
Transmission Mode 8, Guard 1/8, Hierarchy 0

Source

Signal source ot that channel, as defined in sources.conf. Sxxxx, C, T

For compatbility reasons numeric values are accepted here, but preferred are literals.

Symbol Rate

Symbol Rate of the channel. Valid only for DVB-S and DVB-C, as DVB-T uses another modulation COFDM (Coded Orthogonal Frequency Division Multiplex).

VPID

Video PID (Program Identification).

0 for Radio channels 
1 for encryted channels (pay tv)

If that channel uses an separate PCR PID this PCR PID follows the Video PID, separated by "+"
(i.e. ...:164+17:...) Für analogue TV: mostly 301 or 160 (older versions)

APID

Audio PID. Either one or more numbers separated by comma. Each value stands for an language oder two-channel audio. If that channel has AC3 ("Dolby Digital Sound"), the Dolby PIDs follows the analog audio PIDs, both lists are separated by semikolon.
(z.B.:...:101,102;103,104:...)
For analogue TV: mostly 300 or 80 (older versions) The development VDR-1.3.x (but not VDR-1.2.x) accepts language markers like "APID=eng", "APID=deu", "APID=2ch".

TPID

Teletext PID.

CA - Conditional access

This Integer describes how to access the encrypted channel.

0	                Free To Air 
1..4 use DVB-Karte with that number.
5..100 use this method for decrypting.
32001 analogue TV (VDR-1.2.x)
A0 analogue TV (VDR-1.3.x)

The methods are described in ca.conf.

SID

Service ID of channel. For analogue TV: see ChannelMap.h from Analogtv-Plugin source package.

NID

Network ID. Placeholder for future development.
Currently 0. (VDR-1.2.x only)

TID

Transport Stream ID. Placeholder for future development.
Currently 0. (VDR-1.2.x only)

RID

Radio ID. Typical 0. Can be used for differntiate between channels having the same SID, NID and TID.

Differnces

VDR-1.2.x: NID=0, TID=0, RID=0
VDR-1.2.x with AutoPID-Patch: NID<>0, TID<>0, RID<>0 valid
VDR-1.3.x: NID<>0, TID<>0, RID<>0 valid, starting from version 1.3.12 also service provider included in Name, in Audio-PID also language marker valid.

Links

[1] http://www.zwez.com/sat/vdr Sorted Lists for VDR => www.zwez.com
[2] http://free.pages.at/cleditor Channel Editor
[3] DVB-T