1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00
dddvb/lib
2023-07-31 22:07:40 +02:00
..
config more examples 2022-03-14 18:46:05 +01:00
src fix frontend allocation 2023-07-31 22:07:40 +02:00
COPYING.LGPLv2.1 add libdddvb 2018-09-17 13:46:27 +02:00
dddvb_test.c add libdddvb 2018-09-17 13:46:27 +02:00
ddzap.c fix frontend allocation 2023-07-31 22:07:40 +02:00
Makefile add --pam (-a) option for IQ data output in pam format to stdout. 2020-10-10 17:32:56 +02:00
README.md fixes 2021-03-09 22:06:10 +01:00

LIBDDDVB

The libdddvb provides a userspace library to simplify tuning and CI use. It detects DVB cards and their capabilities and selects free frontends depending on a given delivery system.

In order to install the libdddvb library you need the dvben50221.

On an Ubuntu and other Debian based system you can install it like this:

sudo apt-get install dvb-apps

After that you can build the libdddvb:

git clone https://github.com/DigitalDevices/dddvb.git

cd dddvb/lib/; make

sudo make install

If your distribution does not include a dvb-apps package, you can follow the instructions at

https://www.linuxtv.org/wiki/index.php/LinuxTV_dvb-apps

on how to build it yourself.

DDZAP

You can now use the example program ddzap to see how the library is used or to test your cards.

A typical usage example would be the tuning of a sattelite channel with a given LNB configuration.

ddzap -d S2 -p h -f 11494000 -s 22000000 -c ~/dddvb/lib/config/

where you would use the example configuration file for a unicable LNB given in the sources. If you leave out the -c option a standard universal LNB is assumed to be connected.

Additionally you can use ddzap to open the /dev/dvb/adaptorX/dvrY device that corresponds to the tuner that was automatically selected by the library and pipe it to a media player, e.g.

ddzap -d S2 -p h -f 11494000 -s 22000000 -c /home/dmocm/ddzapconf/ -o|vlc -