# Configuration file for FFdecsawrapper, containing all important variables to pass on to FFdecsawrapper. # # Most users only have to set these items: # # ADAPTERS, NUMADAPTERS, JOIN and when you are done: ENABLED # # Author: Bas-t # Number of real adapters installed in your system # Count starts at 0 (zero), so if you have 2, choose 1 ADAPTERS="4" # Number of adapters dedicated to ffdecsawrapper # Maximum is 4 because max 8 adapters are permitted in your system. # (4 real + 4 loopback) If you need more, like me, recompile your kernel. # So if you have 2 adapters, you need to set "-j a:c -j b:d" in JOIN=" " # In this case, count starts at 1. I know, it's a bit confusing... NUMADAPTERS="2" # Number of seconds delay you need before (re)loading dvbloopback and other components. # On Debian 2 or 3 is fine DELAY="3" # How nice we are. (must be positive or 0, we don't run as root # Setting it to a positive value makes sure that your system will be # accessible, even when things go wrong. #NICE="3" NICE="5" # I/O priotity setting. Either idle, best-effort or real-time, followed by a colon and # the priority level number. Lower numbers are higher priority. Default for normal # programs is best-effort:4. IONICE="real-time:5" # Run as , don't run as root. # USER must be member of the video group in order to get access to adapters # Do: usermod -a -G video to add USER to the video group. USER="mythtv" # Combine (some of) your real adapters with loopback adapters # Example: assuming you have 5 real adapters installed in your system # The first two of them are in use with Tvheadend or some other program # Number 3, 4 and 5 will be used by MythTV # Then you should set: -j 2:5 -j 3:6 -j 4:7 JOIN="--join 3:5 --join 4:6" # We are going to check if the dvbloopback module is loaded before we start ffdecsawrapper. # If it is not loaded, we are attempting to load the module several times again. # Max times to try RUNLOOP="10" # Time between two attempts to load dvbloopback module (in seconds) # Reccomended minimum is 5 secs SECLOOP="5" # The directory in which you have placed the cam files needed # to communicate with Oscam or other cardserver CAMDIR="/etc/camfiles" # Other options to pass to ffdecsawrapper # N.B.: One user reported that --buffer 8M works, and --buffer 16M crashes ffdecsawrapper. # This probably has something to do with the (lack of) 'vmalloc' settings in /etc/default/grub. # But I did not test it yet. #OPTS="--daemon --cam-budget --sid-allpid --sid-filt 20 --buffer 16M" OPTS="--daemon --cam-budget --sid-allpid --sid-filt 60 --buffer 20M--debug 0x00000000" #OPTS="--daemon --cam-budget --sid-allpid --sid-filt 60 --buffer 20M --debug 0xFFFFFFFF" # Pid dir PIDDIR="/var/run/ffdecsawrapper" # Pid file PID="ffdecsawrapper.pid" # ffdecsawrapper logfile LOG="ffdecsawrapper.log" # where to put the ffdecsawrapper log #LOGDIR="/var/log/ffdecsawrapper" LOGDIR="/var/log/" # Name of the database for MythTV DATABASENAME="mythconverg" # Set this to 1 once you are done configuring. ENABLED="1"