summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-05-04 17:54:36 +0200
committerJonas Smedegaard <dr@jones.dk>2017-05-04 17:54:36 +0200
commit28af1f773e39a91891fa31470fdd0e42bf7e206b (patch)
treee17382a70ea9e3279e61eb58f7e87fb7ec9077c0
parentc30d4159bc6dde84615e9c131e5bfb3d2ee6e5fe (diff)
Fix include mapping in MKWEBM closure.
-rwxr-xr-xbin/stream2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/stream b/bin/stream
index 49501ae..0236af7 100755
--- a/bin/stream
+++ b/bin/stream
@@ -105,8 +105,8 @@ ffmpeg -hide_banner -threads auto -re \
-f segment -segment_format matroska -segment_format_options live=1:reserve_index_space=512kB \
-segment_list "$SAVESTEM.ffconcat" -segment_list_flags live \
-segment_time 600 -segment_atclocktime 1 -strftime 1 "$SAVESTEM-%H%M.mkv"} \
- ${HASAUDIO:+-map '0:a' } ${HASVIDEO:+-map '[webm]' } \
${MKWEBM:+\
+ ${HASAUDIO:+-map '0:a' } ${HASVIDEO:+-map '[webm]' } \
${HASAUDIO:+\
-codec:a libopus -ac "$ACHANNELS" -ar "$AFRAMERATE" -b:a "$ABITRATE" } \
${HASVIDEO:+\