summaryrefslogtreecommitdiff
path: root/bin/stream
diff options
context:
space:
mode:
Diffstat (limited to 'bin/stream')
-rwxr-xr-xbin/stream4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/stream b/bin/stream
index 8ecbf78..39233ce 100755
--- a/bin/stream
+++ b/bin/stream
@@ -156,7 +156,7 @@ ffmpeg -hide_banner -threads auto -re \
${DVCAM:+-map $((0${ALSA:++1})) \
-codec copy -f dv "$SAVESTEM.dv" }} \
${HEIGHTS_WEBM:+\
- ${HASAUDIO:+-map '0:a' }${HASVIDEO:+$(printf_each ' -map [v%swebm]' "$HEIGHTS_WEBM") } \
+ ${HASAUDIO:+-map '0:a' }${HASVIDEO:+$(printf_each ' -map [v%swebm]' "$HEIGHTS_WEBM") } -shortest \
${HASAUDIO:+\
-codec:a libopus -ac "$ACHANNELS" -ar "$AFRAMERATE" -b:a "$ABITRATE" } \
${HASVIDEO:+\
@@ -172,7 +172,7 @@ ffmpeg -hide_banner -threads auto -re \
}${HASVIDEO:+\
$(tee_rtp v 100 $((FIRSTPORT+2)))}" } \
${HEIGHTS_MPEG:+\
- ${HASAUDIO:+-map '0:a' }${HASVIDEO:+$(printf_each ' -map [v%smpeg]' "$HEIGHTS_MPEG") } \
+ ${HASAUDIO:+-map '0:a' }${HASVIDEO:+$(printf_each ' -map [v%smpeg]' "$HEIGHTS_MPEG") } -shortest \
${HASAUDIO:+\
-codec:a aac -strict experimental -ac "$ACHANNELS" -ar 44100 -b:a $((ACHANNELS*64))k } \
${HASVIDEO:+\