Project

General

Profile

Tvheadend internals » History » Version 10

Christoffer Bergkvist, 2012-08-02 10:58

1 1 Andreas Smas
2 9 Andreas Smas
h1. Tvheadend technical overview
3
4
5 1 Andreas Smas
This page is very much work-in-progress.
6
7
8 9 Andreas Smas
h1. Nomenclature
9 1 Andreas Smas
10 9 Andreas Smas
11
12
h3. Channel
13
14
15 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.
16
17
see: channel.[ch]
18
19
20 9 Andreas Smas
h3. Service / Transport
21
22
23 6 Andreas Smas
A Service / Transport is a specific source for a channel.
24
25 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.
26
27
see: transport.[ch]
28
29
30 9 Andreas Smas
h3. Multiplex
31
32
33 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.
34
However, all services/transports on that particular multiplex can be decoded and fed further into Tvheadend.
35
36
see: dvb/dvb_multiplex.[ch]
37
38
39 9 Andreas Smas
h3. Adapter
40
41
42 1 Andreas Smas
Represents a piece of hardware.
43
44
see: dvb/dvb_adapter.[ch]
45 4 Andreas Smas
46 1 Andreas Smas
47 9 Andreas Smas
h3. Subscription
48
49
50 3 Andreas Smas
This is what temporary binds a transport to a channel when someone wants to receive data from it.
51
52 1 Andreas Smas
All subscriptions are sorted according to weight. Subscriptions with higher weight will outrank lower weighted subscriptions.
53
54
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.
55 3 Andreas Smas
Of course, a lower weighted subscription can "sneak" on a multiplex as long as the higher weighted subscription keeps it tuned.
56
57 1 Andreas Smas
see: subscriptions.[ch]
58
59
60 9 Andreas Smas
h1. Locking and concurrency
61
62
63 1 Andreas Smas
 TBA
64
65
66 9 Andreas Smas
h1. Video recording
67
68
69 1 Andreas Smas
 TBA
70
71 3 Andreas Smas
72 9 Andreas Smas
h1. Supported codecs
73 3 Andreas Smas
74
75 9 Andreas Smas
* MPEG2 Video
76
* MPEG2 Audio
77
* H.264
78
* AC/3
79
80
81
h1. [[ExtJS]] based web interface
82
83
84
Tvheadend currently uses [[ExtJs]] 2.2.1. The documentation is located "here":http://www.extjs.com/deploy/ext-2.2.1/docs/