diff options
author | Jonas Smedegaard <dr@jones.dk> | 2021-01-30 15:53:26 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2021-01-30 20:35:44 +0100 |
commit | d1a2dc07623282aa772243d146731c239fe37edd (patch) | |
tree | 3755c14110d4ded0e8c62a2e1144f469957860b0 | |
parent | e1d9550aa529c496f344eb3bced36addb95c3e75 (diff) |
improve status messages
-rwxr-xr-x | localvideowebencode | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/localvideowebencode b/localvideowebencode index 73548de..7ef22a6 100755 --- a/localvideowebencode +++ b/localvideowebencode @@ -518,18 +518,18 @@ _melt_img="f=image2 $_melt_video" _melt_loudness="$loudness_data" if [ -n "$loudness" ] && [ -z "$silence$_melt_loudness" ]; then - echo "Analyzing audio dynamics..." + echo >&2 "Analyzing audio dynamics..." $melt $_melt_infiles \ $audioprefilters -filter loudness $filters \ -consumer xml:$stem.xml video_off=1 all=1 _melt_loudness="$(perl -n \ -e 'm!<(property) name="results">([^<]+)</\1>! and print $2' \ $stem.xml)" - echo "Loudness data: $_melt_loudness" + echo >&2 "Loudness data: $_melt_loudness" fi if [ -n "$multipass" ] && [ -n "$webm$vp9" ]; then - echo "Analyzing video complexity..." + echo >&2 "Analyzing video complexity..." if [ -n "$use_vpxenc" ]; then $melt $_melt_infiles $filters \ -consumer avformat:pipe:1 $_melt_yuv4mpeg2 \ @@ -552,7 +552,7 @@ if [ -n "$multipass" ] && [ -n "$webm$vp9" ]; then fi if [ -n "$use_oggenc$use_opusenc$use_vpxenc" ] && [ -n "$webm$vp9" ]; then - echo "Encoding video${channels:+ and extracting audio...}" + echo >&2 "Encoding video${channels:+ and extracting audio}, as discrete files..." $melt $_melt_infiles \ ${channels:+$audioprefilters \ ${_melt_loudness:+-filter loudness program=$lufs \ @@ -585,7 +585,7 @@ if [ -n "$use_oggenc$use_opusenc$use_vpxenc" ] && [ -n "$webm$vp9" ]; then ${multipass:+-p 2 --pass=2 --fpf=${stem}_vp9.log} \ -o ${stem}_vp9${channels:+_silent}.webm"}} if [ -n "$webm" ] && [ -n "$channels" ]; then - echo "Encoding Vorbis audio and muxing with VP8 video..." + echo >&2 "Encoding Vorbis audio and muxing with VP8 video..." if [ -n "$use_oggenc" ]; then $oggenc $_oggenc_wav_in $_oggenc_vorbis -o - $stem.wav \ | $ffmpeg_chained \ @@ -599,7 +599,7 @@ if [ -n "$use_oggenc$use_opusenc$use_vpxenc" ] && [ -n "$webm$vp9" ]; then fi fi if [ -n "$vp9" ] && [ -n "$channels" ]; then - echo "Encoding Opus audio and muxing with WebM/VP9 video..." + echo >&2 "Encoding Opus audio and muxing with WebM/VP9 video..." if [ -n "$use_opusenc" ]; then $opusenc $_opusenc_wav_in $_opusenc_opus -o - $stem.wav \ | $ffmpeg_chained \ @@ -613,7 +613,7 @@ if [ -n "$use_oggenc$use_opusenc$use_vpxenc" ] && [ -n "$webm$vp9" ]; then fi fi else - echo "Encoding video..." + echo >&2 "Encoding video${channels:+ and audio}, at once..." $melt $_melt_infiles \ ${channels:+$audioprefilters \ ${_melt_loudness:+-filter loudness program=$lufs \ |