Project

General

Profile

Tvheadend internals » History » Version 11

Adam Sutton, 2013-04-05 12:16

1 9 Andreas Smas
h1. Tvheadend technical overview
2
3
4 1 Andreas Smas
This page is very much work-in-progress.
5
6
7 11 Adam Sutton
h2. Nomenclature
8 1 Andreas Smas
9 9 Andreas Smas
10
11
h3. Channel
12
13
14 1 Andreas Smas
A channel is what's typically perceived as a TV-channel by ordinary people. A channel will receive data from one or many Transports. If Tvheadend has multiple DVB adapters, connected to the same or different networks, where the same channel exists, multiple transports will map to the same channel.
15
16
see: channel.[ch]
17
18
19 9 Andreas Smas
h3. Service / Transport
20
21
22 6 Andreas Smas
A Service / Transport is a specific source for a channel.
23
24 1 Andreas Smas
The term service and transport is used interchangeably in Tvheadend. ie. It's the same thing. This is something that should be fixed in the future.
25
26
see: transport.[ch]
27
28
29 9 Andreas Smas
h3. Multiplex
30
31
32 1 Andreas Smas
A Multiplex is analogous to a DVB MPEG Transport Stream. For a given Adapter, only one Multiplex can be received (i.e tuned) at the same time. A DVB Multiplex carries a number of services.
33
However, all services/transports on that particular multiplex can be decoded and fed further into Tvheadend.
34
35
see: dvb/dvb_multiplex.[ch]
36
37
38 9 Andreas Smas
h3. Adapter
39
40
41 1 Andreas Smas
Represents a piece of hardware.
42
43
see: dvb/dvb_adapter.[ch]
44 4 Andreas Smas
45 1 Andreas Smas
46 9 Andreas Smas
h3. Subscription
47
48
49 3 Andreas Smas
This is what temporary binds a transport to a channel when someone wants to receive data from it.
50
51 1 Andreas Smas
All subscriptions are sorted according to weight. Subscriptions with higher weight will outrank lower weighted subscriptions.
52
53
If two subscriptions competes for the same resource (typically a DVB-adapter in order to tune a specific multiplex) the one with higher with will win.
54 3 Andreas Smas
Of course, a lower weighted subscription can "sneak" on a multiplex as long as the higher weighted subscription keeps it tuned.
55
56 1 Andreas Smas
see: subscriptions.[ch]
57
58
59 11 Adam Sutton
h2. Locking and concurrency
60 9 Andreas Smas
61
62 1 Andreas Smas
 TBA
63
64
65 11 Adam Sutton
h2. Video recording
66 9 Andreas Smas
67 1 Andreas Smas
68
 TBA
69
70 3 Andreas Smas
71 11 Adam Sutton
h2. Supported codecs
72 3 Andreas Smas
73
74 9 Andreas Smas
* MPEG2 Video
75
* MPEG2 Audio
76
* H.264
77
* AC/3