diff options
author | Jonas Smedegaard <dr@jones.dk> | 2014-09-24 22:36:23 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2014-09-24 22:36:23 +0200 |
commit | e268cbbd07b6ba31c00f4172c5b52d27ea614c0e (patch) | |
tree | c23c57942bd95d45b91a31f28971659d67c66cae | |
parent | db1696b55cf4e308877b1938157194e2b570f89a (diff) |
Relax quality on VP8 and VP9 to achieve encoding speed on par with H.264.
-rwxr-xr-x | localvideowebencode | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/localvideowebencode b/localvideowebencode index 12f7ce2..9a71d8f 100755 --- a/localvideowebencode +++ b/localvideowebencode @@ -346,9 +346,9 @@ _melt_in="${_melt_in:+$_melt_in }${sample:+in=${samplestart:-0} out=$((${samples _melt_video="progressive=1${framerate:+ frame_rate_den="$framerate_den" frame_rate_num="$framerate_num"}${size:+ s=${width:+$width}x${height:+$height}}${aspect:+ aspect=$aspect}" _melt_ogg="$_melt_video f=ogg vcodec=libtheora${bitrate:+ vb=$bitrate}${bitrate_fixed:- qscale=5}" _melt_h264="$_melt_video f=mp4 vcodec=libx264${bitrate:+ vb=$bitrate} threads=0 movflags=+faststart vpre=baseline${x264tune:+ tune=$x264tune}${bitrate_fixed:- crf=23}" -_melt_webm="$_melt_video f=webm vcodec=libvpx${bitrate:+ vb=$bitrate} vpre=libvpx-$webmpreset${bitrate_fixed:- crf=10}" +_melt_webm="$_melt_video f=webm vcodec=libvpx${bitrate:+ vb=$bitrate} vpre=libvpx-$webmpreset${bitrate_fixed:- crf=10} cpu-used=3" # CRF ignored with libvpx 1.3 -_melt_vp9="$_melt_video f=webm vcodec=libvpx-vp9${bitrate:+ vb=$bitrate_half} vpre=libvpx-$webmpreset${bitrate_fixed:- crf=10}" +_melt_vp9="$_melt_video f=webm vcodec=libvpx-vp9${bitrate:+ vb=$bitrate_half} vpre=libvpx-$webmpreset${bitrate_fixed:- crf=10} cpu-used=5" _melt_audio="${channels:+ac=$channels}" # limit (i.e. avoid peaks "clipping") _melt_postfilters_audio="${limit:+-filter ladspa.1077}" |