diff options
Diffstat (limited to 'localvideowebencode')
-rwxr-xr-x | localvideowebencode | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/localvideowebencode b/localvideowebencode index c341466..26fcf2b 100755 --- a/localvideowebencode +++ b/localvideowebencode @@ -510,13 +510,13 @@ _melt_postfilters_audio="${limit:+-filter ladspa.1077}" # codec bitrate options _melt_bitrate_vp8="${no_q_vp8:+ vb=$bitrate_vp8} minrate=$((bitrate_vp8/20)) maxrate=$((bitrate_vp8*12))" _ffmpeg_bitrate_vp8="${no_q_vp8:+-b:v $bitrate_vp8} -minrate $((bitrate_vp8/20)) -maxrate $((bitrate_vp8*12))" -_vpxenc_bitrate_vp8="--target-bitrate=$((bitrate_vp8/1000))" +_vpxenc_bitrate_vp8="--target-bitrate=$((bitrate_vp8/1000)) --minsection-pct=5 --maxsection-pct=1200" _melt_bitrate_vp9="${no_q_vp9:+ vb=$bitrate_vp9} minrate=$((bitrate_vp9/20)) maxrate=$((bitrate_vp9*12))" _ffmpeg_bitrate_vp9="${no_q_vp9:+-b:v $bitrate_vp9} -minrate $((bitrate_vp9/20)) -maxrate $((bitrate_vp9*12))" -_vpxenc_bitrate_vp9="--target-bitrate=$((bitrate_vp9/1000))" +_vpxenc_bitrate_vp9="--target-bitrate=$((bitrate_vp9/1000)) --minsection-pct=5 --maxsection-pct=1200" # codec low-level options -_vpxenc_vpx="--min-q=$webm_qmin --max-q=$webm_qmax${multipass:+ --minsection-pct=5 --maxsection-pct=1200} --kf-max-dist=120 --auto-alt-ref=1 --lag-in-frames=$webm_lag --arnr-maxframes=7 --arnr-strength=5 --arnr-type=3" +_vpxenc_vpx="--min-q=$webm_qmin --max-q=$webm_qmax --kf-max-dist=120 --auto-alt-ref=1 --lag-in-frames=$webm_lag --arnr-maxframes=7 --arnr-strength=5 --arnr-type=3" # codec options _melt_theora="vcodec=libtheora${bitrate_theora:+ vb=$bitrate_theora} qscale=$q_theora" |