summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2014-09-26 22:24:24 +0200
committerJonas Smedegaard <dr@jones.dk>2014-09-26 22:24:24 +0200
commita5382aa304873f18003ecea22d732be85e844a50 (patch)
treef9d0cf12ab90c4336e8c60e78d70e51305ba4ca2
parent16e2afb1ae833e6dd63323705d24b4d6046772bf (diff)
Really fix echo status without messing up encoding command.
-rwxr-xr-xlocalvideowebencode4
1 files changed, 2 insertions, 2 deletions
diff --git a/localvideowebencode b/localvideowebencode
index c2695af..313298d 100755
--- a/localvideowebencode
+++ b/localvideowebencode
@@ -361,8 +361,8 @@ if [ -n "$mp4" ] && [ -n "$bitrate_fixed" ]; then
-consumer avformat:/dev/null pass=1 fastfirstpass=1 an=1 audio_off=1 $_melt_h264
fi
-echo "Analyzing complexity for WebM..."
if [ -n "$webm$vp9" ]; then
+ echo "Analyzing complexity for WebM..."
$melt -group $_melt_in $infiles -group $filters \
-consumer avformat:pipe:1 $_melt_video f=yuv4mpegpipe pix_fmt=yuv420p \
| $avconv -i pipe:0 \
@@ -372,8 +372,8 @@ if [ -n "$webm$vp9" ]; then
[ -z "$vp9" ] || mv -f ${stem}_vp9-*.log ${stem}_vp9_2pass.log
fi
+echo "Encoding video..."
$melt -group $_melt_in $infiles \
- echo "Encoding video..."
-group ${channels:+$audioprefilters${_melt_loudness:+ -filter loudness results="$_melt_loudness"}} \
$filters${channels:+ $_melt_postfilters_audio} \
${ogg:+-consumer avformat:$stem.ogv $_melt_ogg $_melt_vorbis} \