1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00
dddvb/lib/README.md

50 lines
1.4 KiB
Markdown
Raw Normal View History

2021-03-08 14:29:27 +01:00
# LIBDDDVB
2021-03-09 22:06:10 +01:00
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.
2021-03-08 14:29:27 +01:00
2021-03-09 22:06:10 +01:00
In order to install the libdddvb library you need the dvben50221.
2021-03-08 14:29:27 +01:00
2021-03-09 22:06:10 +01:00
On an Ubuntu and other Debian based system you can install it like this:
2021-03-08 14:29:27 +01:00
`sudo apt-get install dvb-apps`
2021-03-09 22:06:10 +01:00
After that you can build the libdddvb:
`git clone https://github.com/DigitalDevices/dddvb.git`
2021-03-08 14:29:27 +01:00
`cd dddvb/lib/; make`
`sudo make install`
2021-03-09 22:06:10 +01:00
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.
2021-03-08 14:29:27 +01:00
# DDZAP
2021-03-09 22:06:10 +01:00
You can now use the example program ddzap to see how the library
is used or to test your cards.
2021-03-08 14:29:27 +01:00
2021-03-09 22:06:10 +01:00
A typical usage example would be the tuning of a
sattelite channel with a given LNB configuration.
2021-03-08 14:29:27 +01:00
2021-03-09 22:06:10 +01:00
`ddzap -d S2 -p h -f 11494000 -s 22000000 -c ~/dddvb/lib/config/`
2021-03-08 14:29:27 +01:00
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 -`