Skip to content

Latest commit

 

History

History
60 lines (47 loc) · 2.4 KB

README.md

File metadata and controls

60 lines (47 loc) · 2.4 KB

vdr-plugin-web

A VDR plugin which works together with cefbrowser and remotetranscode to show HbbTV application and stream videos.

Build

At first the libraries for Apache Thrift to be build. This step is only once necessary. Choose either the build with or without the Thrift compiler. The build without the Thrift compiler is much faster.

build-thrift.sh
or
build-thrift-with-compiler.sh

Then the plugin can be build

make -j && make install

Optional patches

A patch for VDR and several output devices can be found in directory patches. These patches allows the usage of image scaling using OpenGL instead of the slower GraphicsMagick.

Configuration

A default configuration can be found in folder config: sockets.ini.

🔥 All ports/ip addresses in sockets.ini must be the same as for cefbrowser and remotetranscoder. It's safe to use the same sockets.ini for all of the three parts (vdr-plugin-web, cefbrowser, remotetranscoder).

Parameters of the plugin

-c / --config </path/to/sockets.ini>  (mandatory parameter)
-f / --fastscale                      (optional parameter)
-o / --dummyosd                       (optional parameter)
-s / --savets                         (optional parameter)       
-b / --bindall                        (optional parameter)     
-n / --name                           (optional parameter)

-c / --config

This parameter is mandatory and must point to a sockets.ini file which contains the host and port configuration of the other components.

-f / --fastscale

Let the outputdevice scale images from browser. Much faster than using GraphicsMagick. But it's only available if the VDR patch and the outputdevice patch has been applied. See patches/README.

-o / --dummyosd

Creates a dummy osd while streaming a video. It could be necessary.

-s / --savets

Used for debugging. The incoming TS streams will be saved in the recordings/web directory.

-b / --bindall

If set, then bind the internal HTTP server to all available network devices. Otherwise use the configured IP.

- / --name

If set, then the menu entry will have a different name. Instead default web another name can be choosed.

Logging

Uses the VDR logging mechanism. Log entries can be found in /var/log/syslog with [vdrweb] prefix.