diff options
-rwxr-xr-x | localvideowebencode | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/localvideowebencode b/localvideowebencode index 3eecc98..a4a930e 100755 --- a/localvideowebencode +++ b/localvideowebencode @@ -800,9 +800,9 @@ if [ -n "${ogv:+$multipass_theora}${webm:+$multipass_vp8}${webm_vp9:+$multipass_ ${ogv:+${use_melt_theora:+-consumer avformat:$stem.ogv $_melt_ogv \ pass=1 passlogfile=${stem}_theora}} \ ${webm:+${use_melt_vp8:+-consumer avformat:$stem.webm $_melt_webm \ - pass=1 passlogfile=${stem}_vp8}} \ + pass=1 cpu-used=4 passlogfile=${stem}_vp8}} \ ${webm_vp9:+${use_melt_vp9:+-consumer avformat:${stem}_vp9.webm $_melt_webm_vp9 \ - pass=1 passlogfile=${stem}_vp9}} \ + pass=1 cpu-used=4 passlogfile=${stem}_vp9}} \ ${mp4:+${use_melt_avc:+-consumer avformat:$stem.mp4 $_melt_mp4 \ pass=1 passlogfile=${stem}_avc}} \ ${use_any_nomelt_video:+$_melt_stdout} \ @@ -811,15 +811,15 @@ if [ -n "${ogv:+$multipass_theora}${webm:+$multipass_vp8}${webm_vp9:+$multipass_ ${ogv:+${use_ffmpeg_theora:+$_ffmpeg_rawvideo $_ffmpeg_ogv -an \ -pass 1 -passlogfile ${stem}_theora /dev/null}} \ ${webm:+${use_ffmpeg_vp8:+$_ffmpeg_rawvideo $_ffmpeg_vp8 -an \ - -pass 1 -passlogfile ${stem}_vp8 /dev/null}} \ + -pass 1 -cpu-used 4 -passlogfile ${stem}_vp8 /dev/null}} \ ${webm_vp9:+${use_ffmpeg_vp9:+$_ffmpeg_rawvideo $_ffmpeg_vp9 -an \ - -pass 1 -passlogfile ${stem}_vp9 /dev/null}} \ + -pass 1 -cpu-used 4 -passlogfile ${stem}_vp9 /dev/null}} \ ${mp4:+${use_ffmpeg_avc:+$_ffmpeg_rawvideo $_ffmpeg_avc -an \ -pass 1 -passlogfile ${stem}_avc /dev/null}})"} \ ${webm:+${use_vpxenc:+"$(render vpxenc-chained-echo - $_vpxenc_vp8 \ - --pass=1 --fpf=${stem}_vp8.log -o /dev/null)"}} \ + --pass=1 --cpu-used=4 --fpf=${stem}_vp8.log -o /dev/null)"}} \ ${webm_vp9:+${use_vpxenc:+"$(render vpxenc-chained-echo - $_vpxenc_vp9 \ - --pass=1 --fpf=${stem}_vp9.log -o /dev/null)"}} + --pass=1 --cpu-used=4 --fpf=${stem}_vp9.log -o /dev/null)"}} fi echo >&2 "Encoding video${channels:+ and audio}..." |