Project

General

Profile

Actions

Feature #871

closed

Use libdvbcsa instead of FFdecsa

Added by Alain Kalker about 13 years ago. Updated over 12 years ago.

Status:
Rejected
Priority:
Low
Assignee:
-
Category:
Descrambling
Target version:
-
Start date:
2012-02-09
Due date:
% Done:

0%

Estimated time:

Description

Please consider switching Tvheadend to using libdvbcsa instead of FFdecsa.

libdvbcsa (http://www.videolan.org/developers/libdvbcsa.html) has a number of advantages:
Atheros AR7161
- It is faster (higher throughput in packets(#Mbits)/sec), important for use on low-end or embedded hardware
- It works on both big-endian and little-endian architectures, verified on Atheros AR7161 (big-endian MIPS) router
- It is being actively development/maintained, while development of FFdecsa seems all but halted

There are some minor problems:

API difference. While both libraries have a concept of 'packet clusters' (array of pointers to packet info), FFdecsa uses the raw packet data, while libdvbcsa uses the packet payload(sp?) meaning one has to add a 4-byte offset.
Also, libdvbcsa doesn't have a concept of 'even' or 'odd' keys, it can decrypt a packet cluster with any given key. One needs to manually assign packets to 2 clusters, one for 'even', 'one' for odd key decryption.
Also, libdvbcsa is normally an Autotools project, so the integration in standalone Tvheadend will need to be done.

Kind regards,

Alain


Files

libdvbcsa.patch (12 KB) libdvbcsa.patch Alain Kalker, 2012-02-11 19:57
Actions

Also available in: Atom PDF