summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2021-02-06 17:18:37 +0100
committerJonas Smedegaard <dr@jones.dk>2021-02-06 17:22:30 +0100
commitba180772f197d689ac9696a91f0f44cc5b52bcea (patch)
tree96f3dd1d25ed462ba80344d0cd2efd2102ff75c8
parent4f0c7122197bb84d8652de8be3b5033cd3e6a4bc (diff)
fix dual-pass h264 encoding: stop bogusly rename nonexistent logfile
-rwxr-xr-xlocalvideowebencode2
1 files changed, 0 insertions, 2 deletions
diff --git a/localvideowebencode b/localvideowebencode
index bb6c897..b140d64 100755
--- a/localvideowebencode
+++ b/localvideowebencode
@@ -710,7 +710,6 @@ if [ -n "$multipass" ] && [ -n "${webm:+$use_vpxenc$use_ffmpeg_vp8$use_oggenc}${
-p 2 --pass=1 --fpf=${stem}_vp9.log -o /dev/null"} \
${mp4:+${use_ffmpeg_h264:+$_ffmpeg_rawvideo $_ffmpeg_h264 -an \
-pass 1 -passlogfile ${stem}_h264 /dev/null}}
- [ -z "$mp4" ] || [ -n "$use_ffmpeg_h264" ] || mv -f ${stem}_h264-*.log ${stem}_h264_2pass.log
else
$melt $_melt_infiles $filters $_melt_stdout \
| $ffmpeg_chained $_ffmpeg_stdin \
@@ -722,7 +721,6 @@ if [ -n "$multipass" ] && [ -n "${webm:+$use_vpxenc$use_ffmpeg_vp8$use_oggenc}${
-pass 1 -passlogfile ${stem}_h264 /dev/null}}
[ -z "$webm" ] || [ -n "$use_ffmpeg_vp8" ] || mv -f ${stem}_vp8-*.log ${stem}_vp8_2pass.log
[ -z "$vp9" ] || [ -n "$use_ffmpeg_vp9" ] || mv -f ${stem}_vp9-*.log ${stem}_vp9_2pass.log
- [ -z "$mp4" ] || [ -n "$use_ffmpeg_h264" ] || mv -f ${stem}_h264-*.log ${stem}_h264_2pass.log
fi
fi