-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathINSTALL
63 lines (50 loc) · 2.65 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Installation Instructions
*************************
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. This file is offered as-is,
without warranty of any kind.
Basic Installation
==================
1) Compile the plugin like any other vdr plugin - if you have vdr sources
then put the sources in the PLUGINS/src/dvbapi subdirectory and type
'make plugins' in vdr main source directory - the plugin should compile
and install
2) Start the VDR with dvbpi plugin, sample command:
/usr/local/bin/vdr -c /etc/vdr -E /var/vdr -L /usr/local/lib/vdr -P dvbapi
FFdecsa vs. libdvbcsa
=====================
This plugin is a SoftCAM - this means that it has to use Common Scrambling Algorithm
to decrypt the transport stream on so-called 'budget' DVB cards.
The plugin supports two common CSA implementations: FFdecsa and libdvbcsa.
FFdecsa is very fast on standard PCs (x86, x86_64), while libdvbcsa may be a better
choice for other platforms, such as ARM; little and big-endian architectures.
The default for the plugin is FFdecsa.
FFdecsa compilation flags
=========================
Makefile from this plugin comes with predefined FFdecsa compilation flags. It's
generally a good idea to adjust it to gain the best performance on running hardware.
FFdecsa has a test of correctness and speed during compilation, eg:
FFdecsa 1.0: testing correctness and speed
speed=536.984569 Mbit/s
Keep in mind that above speed value should be sufficient for your needs and bandwidth
of channels you're watching and recording, especially when using multiple adapters
at the same time (for live tv or recording).
A helper bash script (extra/FFdecsa-benchmark.sh) is provided to help find optimal
compilation flags (PARALLEL, CSAFLAGS) for the best performance on your hardware.
You have three options to adjust these flags:
a) edit plugin's Makefile (find FFdecsa section)
b) pass it manually during compilation, eg. like this:
PARALLEL=PARALLEL_128_SSE2 CSAFLAGS="-O3 -fexpensive-optimizations -funroll-loops -mmmx -msse -msse2 -msse3" make plugins
c) use common Makefile for plugins using PLGCFG variable, refer to VDR documentation
for more info
libdvbcsa library support
=========================
If you want to compile the plugin against libdvbcsa instead of default FFdecsa
then you need to pass additinal argument when compiling the plugin, eg:
make LIBDVBCSA=1
If you have libdvbcsa with icam support:
make LIBDVBCSA_NEW=1
libcrypto and libssl
====================
If you want decode AES keys, you need install libcrypto and libssl libraries.