summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/stream8
1 files changed, 3 insertions, 5 deletions
diff --git a/bin/stream b/bin/stream
index 275bdbd..1c20f13 100755
--- a/bin/stream
+++ b/bin/stream
@@ -152,11 +152,9 @@ ffmpeg -hide_banner -threads auto -re \
$(filter_scale "${WINPUT:+bg}")${WINPUT:+${LOGO:+;
$(filter_watermark)}};
$(filter_split_codec "$HEIGHTS_WEBM" "$HEIGHTS_MPEG")" } \
- ${SAVEDIR:+-map '0:' ${TWOSOURCES:+-map '1:'} \
- -codec copy \
- -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"} \
+ ${SAVEDIR:+\
+ ${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:+\