summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2014-09-26 17:38:49 +0200
committerJonas Smedegaard <dr@jones.dk>2014-09-26 17:38:49 +0200
commit78d582c85a5b9e1d628a20194aaa2ffc751f9082 (patch)
tree30c71f4b0fc761a52a20e156e83603f5d004b704
parentb807ed09d06ec2fbed5bab20f6b819f585211041 (diff)
Drop support for passing melt-specific options.
-rwxr-xr-xlocalvideowebencode17
1 files changed, 1 insertions, 16 deletions
diff --git a/localvideowebencode b/localvideowebencode
index 51e665b..7586d08 100755
--- a/localvideowebencode
+++ b/localvideowebencode
@@ -95,9 +95,6 @@ Examples:
$PRG -s qvga -t "Funny guy" intro.dv myvideo.dv
$PRG -p 480p --stem funny --filter "grain noise=20" myvideo.dv
-Options before input files are passed to melt producer, and after to
-melt avformat consumer.
-
Recommendations for best results:
* Use square-pixel max. 480 width (vga 480p).
* Use a modulus 16 profile (qvga vga 480p 720p).
@@ -156,19 +153,7 @@ done
# TODO: drop when melt 0.9.2 is stable
melt_recent=$(melt -query filter=loudness | grep -qi R128 && echo yes)
-while [ $# -gt 0 ] ; do
- case "$1" in
- *=*) _melt_in="${_melt_in:+$_melt_in }$1"; shift;;
- *) break;;
- esac
-done
-
-while [ $# -gt 0 ] ; do
- case "$1" in
- *=*) _melt_out="${_melt_out:+$_melt_out }$1"; shift;;
- *) infiles="${infiles:+$infiles }$1"; shift;;
- esac
-done
+infiles=$*
if [ -z "$infiles" ]; then
showhelp