diff options
author | Frank Schmirler <vdr@schmirler.de> | 2010-12-02 09:57:17 +0100 |
---|---|---|
committer | Mikko Matilainen <mikkom@iki.fi> | 2011-03-22 21:16:18 +0200 |
commit | 6ea5efe93960fc761dbb5e0b2d93d9b5818d5d7c (patch) | |
tree | 836d96c9a4688a01745719787a7a0e83804356f8 /streamdev | |
parent | 0a860a1e3e45ee83563b09beb93ede0e99eb75fb (diff) | |
download | vdr-plugin-streamdev-6ea5efe93960fc761dbb5e0b2d93d9b5818d5d7c.tar.gz vdr-plugin-streamdev-6ea5efe93960fc761dbb5e0b2d93d9b5818d5d7c.tar.bz2 |
Snapshot 2010-09-15
Diffstat (limited to 'streamdev')
-rwxr-xr-x | streamdev/externremux.sh | 48 | ||||
-rw-r--r-- | streamdev/streamdevhosts.conf | 14 |
2 files changed, 0 insertions, 62 deletions
diff --git a/streamdev/externremux.sh b/streamdev/externremux.sh deleted file mode 100755 index e2b4156..0000000 --- a/streamdev/externremux.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh -# -# externremux.sh - sample remux script using mencoder for remuxing. -# -# Install this script as VDRCONFDIR/plugins/streamdev/externremux.sh -# -# The parameter STREAMQUALITY selects the default remux parameters. Adjust -# to your needs and point your web browser to http://servername:3000/extern/ -# To select different remux parameters on the fly, insert a semicolon and -# the name of the requested quality: http://servername:3000/extern;WLAN11/ - -# CONFIG START - STREAMQUALITY="DSL6000" # DSL{1,2,3,6}000, LAN10, WLAN{11,54}, IPAQ - TMP=/tmp/externremux-${RANDOM:-$$} - MENCODER=mencoder -# CONFIG END - -mkdir -p $TMP -mkfifo $TMP/out.avi -(trap "rm -rf $TMP" EXIT HUP INT TERM ABRT; cat $TMP/out.avi) & - -case ${1:-$STREAMQUALITY} in - DSL1000) exec $MENCODER -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=100 \ - -oac mp3lame -lameopts preset=15:mode=3 -vf scale=160:104 \ - -o $TMP/out.avi -- - &>$TMP/out.log ;; - DSL2000) exec $MENCODER -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=128 \ - -oac mp3lame -lameopts preset=15:mode=3 -vf scale=160:104 \ - -o $TMP/out.avi -- - &>$TMP/out.log ;; - DSL3000) exec $MENCODER -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=250 \ - -oac mp3lame -lameopts preset=15:mode=3 -vf scale=320:208 \ - -o $TMP/out.avi -- - &>$TMP/out.log ;; - DSL6000) exec $MENCODER -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=350 \ - -oac mp3lame -lameopts preset=15:mode=3 -vf scale=320:208 \ - -o $TMP/out.avi -- - &>$TMP/out.log ;; - LAN10) exec $MENCODER -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=4096 \ - -oac mp3lame -lameopts preset=standard \ - -o $TMP/out.avi -- - &>$TMP/out.log ;; - WLAN11) exec $MENCODER -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=768 \ - -oac mp3lame -lameopts preset=standard -vf scale=640:408 \ - -o $TMP/out.avi -- - &>$TMP/out.log ;; - WLAN54) exec $MENCODER -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=2048 \ - -oac mp3lame -lameopts preset=standard \ - -o $TMP/out.avi -- - &>$TMP/out.log ;; - IPAQ) exec $MENCODER -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=350 \ - -oac mp3lame -lameopts preset=15:mode=3 -vf scale=320:208 \ - -o $TMP/out.avi -- - &>$TMP/out.log ;; - *) touch $TMP/out.avi ;; -esac diff --git a/streamdev/streamdevhosts.conf b/streamdev/streamdevhosts.conf deleted file mode 100644 index 49882a2..0000000 --- a/streamdev/streamdevhosts.conf +++ /dev/null @@ -1,14 +0,0 @@ -# -# streamdevhosts This file describes a number of host addresses that -# are allowed to connect to the streamdev server running -# with the Video Disk Recorder (VDR) on this system. -# Syntax: -# -# IP-Address[/Netmask] -# - -127.0.0.1 # always accept localhost -#192.168.100.0/24 # any host on the local net -#204.152.189.113 # a specific host -#239.255.0.0/16 # uncomment for IGMP multicast streaming -#0.0.0.0/0 # any host on any net (USE THIS WITH CARE!) |