summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2014-10-03 22:49:35 +0200
committerJonas Smedegaard <dr@jones.dk>2014-10-03 22:49:35 +0200
commit489b4217405ef24177d204eca31e69051a277d84 (patch)
treecd0c4eee57d13a593906fb6776f5b65ae95227d9
parent15ea830797fd3b1364f7b90660bb5d785da9d4c7 (diff)
Tidy: List video and audio options as filters.
-rwxr-xr-xlocalvideowebencode4
1 files changed, 2 insertions, 2 deletions
diff --git a/localvideowebencode b/localvideowebencode
index 23d8fc0..ad6b15c 100755
--- a/localvideowebencode
+++ b/localvideowebencode
@@ -394,12 +394,12 @@ vpxenc="vpxenc --quiet ${processors:+-t $((processors-1))}"
oggenc="oggenc --quiet"
opusenc="opusenc --quiet"
_melt_sample="$infile_first ${sample:+in=${samplestart:-0} out=$((${samplestart:-0} + samplelength))}"
+
+# filter options
_melt_video="progressive=1${framerate:+ frame_rate_num="$framerate_num" frame_rate_den="$framerate_den"}${size:+ s=${width:+$width}x${height:+$height}}${aspect:+ aspect=$aspect}"
_avconv_video="${do_deinterlace:+-filter:v yadif}${framerate:+ -r $framerate_num/$framerate_den}${size:+ -s ${width:+$width}x${height:+$height}}${aspect:+ -aspect $aspect}"
_melt_audio="${channels:+ac=$channels}"
_avconv_audio="${channels:+-ac $channels}"
-
-# filter options
# limit (i.e. avoid peaks "clipping")
_melt_postfilters_audio="${limit:+-filter ladspa.1077}"