diff options
author | Jonas Smedegaard <dr@jones.dk> | 2014-10-03 22:49:35 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2014-10-03 22:49:35 +0200 |
commit | 489b4217405ef24177d204eca31e69051a277d84 (patch) | |
tree | cd0c4eee57d13a593906fb6776f5b65ae95227d9 | |
parent | 15ea830797fd3b1364f7b90660bb5d785da9d4c7 (diff) |
Tidy: List video and audio options as filters.
-rwxr-xr-x | localvideowebencode | 4 |
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}" |