summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-06-08 17:06:33 +0200
committerJonas Smedegaard <dr@jones.dk>2017-06-08 17:06:33 +0200
commit07475902b85841f7dc32f3a69433cc6d54d05fbb (patch)
tree20c79f645ee22fb5c7d2e25c542758008adee381
parent3baefdecea5f82353300c636edb4c085824ac6d5 (diff)
Cut streaming short also for locally saved file.
-rwxr-xr-xbin/stream2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/stream b/bin/stream
index c75c10e..614693a 100755
--- a/bin/stream
+++ b/bin/stream
@@ -295,7 +295,7 @@ ffmpeg -hide_banner -threads auto \
$(filters_compose "${LOGO:+$((VSTREAMINDEX+1))}");
$(filter_split_codec "$ENCODINGS_WEBM" "$ENCODINGS_MPEG") }"} \
${SAVEDIR:+\
- ${DVCAM:+-map $((0${ALSA:++1})) \
+ ${DVCAM:+-map $((0${ALSA:++1})) -shortest \
-codec copy -f dv "$SAVESTEM.dv" }} \
${ENCODINGS_WEBM:+\
${HASAUDIO:+-map '0:a' }${HASVIDEO:+$(printf_each ' -map [v%swebm]' "$ENCODINGS_WEBM") } -shortest \