summaryrefslogtreecommitdiff
path: root/localvideowebencode
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2014-10-10 11:17:23 +0200
committerJonas Smedegaard <dr@jones.dk>2014-10-10 11:17:23 +0200
commit178351b8830f44210f0447707ebf2d0451a2ddba (patch)
tree368dc6b8dd249b1eb22214ae250ea14d3306f486 /localvideowebencode
parentc1da53f97c418affa9e3a2dbe765073896751504 (diff)
Drop audio style hqspeech, and stop applying filters to audio style speech.
Diffstat (limited to 'localvideowebencode')
-rwxr-xr-xlocalvideowebencode18
1 files changed, 4 insertions, 14 deletions
diff --git a/localvideowebencode b/localvideowebencode
index 552213f..33f4b2b 100755
--- a/localvideowebencode
+++ b/localvideowebencode
@@ -74,10 +74,9 @@ html favoring open formats with optional non-JavaScript Flash fallback.
h264 mp4 MPEG-4 H.264 AAC
(default: webm,vp9,mp4)
--audio Audio style:
- [channels] [limit] [Vorbis] [Opus] [AAC]
- music max 2 64k 64k audio 96k
- hqspeech 1 48k 32k voip 64k
- speech 1 X 48k 32k voip 64k
+ [channels] [Vorbis] [Opus] [AAC]
+ music max 2 64k 64k audio 96k
+ speech 1 48k 32k voip 64k
silence 0
(default: none - use channel count of first input)
--audioprefilter Add audio filter before loudness
@@ -374,21 +373,11 @@ case "$audio" in
music)
opusapp=audio
;;
- hqspeech)
- stereo=yes
- quality_vorbis=1
- bitrate_opus=32
- bitrate_mp3=48
- opusapp=voip
- ;;
speech)
mono=yes
quality_vorbis=1
bitrate_opus=32
bitrate_mp3=48
- compress=yes
- [ -z "$melt_recent" ] || _melt_loudness="$loudness_data"
- limit=yes
opusapp=voip
;;
silence)
@@ -502,6 +491,7 @@ _avconv_webm_onlyvideo_vp9="-f webm $_avconv_video $_avconv_vp9 -an}"
_melt_mp4="f=mp4 $_melt_video $_melt_h264 ${silence:+an=1 audio_off=1}${channels:+${use_mp3:+$_melt_mp3}${use_aac:+$_melt_aac}}"
_melt_img="f=image2 $_melt_video"
+[ -z "$melt_recent" ] || _melt_loudness="$loudness_data"
if [ -n "$loudness" ] && [ -z "$silence$_melt_loudness" ]; then
echo "Analyzing audio dynamics..."
$melt $_melt_infiles \