summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-05-05 17:08:36 +0200
committerJonas Smedegaard <dr@jones.dk>2017-05-05 17:08:36 +0200
commit7e83ea62492c99a2cce4fffb772204da52ea3969 (patch)
treef4c867e5811e1f2428ba3712353c17ea2b348a6e /bin
parent15f35219fe8c4a474d4d92808de62f0ccc85c906 (diff)
Tidy spacing.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/stream4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/stream b/bin/stream
index 536e4d6..e1d0925 100755
--- a/bin/stream
+++ b/bin/stream
@@ -126,7 +126,7 @@ ffmpeg -hide_banner -threads auto -re \
-segment_list "$SAVESTEM.ffconcat" -segment_list_flags live \
-segment_time 600 -segment_atclocktime 1 -strftime 1 "$SAVESTEM-%H%M.mkv"} \
${HEIGHTS_WEBM:+\
- ${HASAUDIO:+-map '0:a' } ${HASVIDEO:+-map "[v${height}webm]" } \
+ ${HASAUDIO:+-map '0:a' }${HASVIDEO:+ -map "[v${height}webm]" } \
${HASAUDIO:+\
-codec:a libopus -ac "$ACHANNELS" -ar "$AFRAMERATE" -b:a "$ABITRATE" } \
${HASVIDEO:+\
@@ -140,7 +140,7 @@ ffmpeg -hide_banner -threads auto -re \
"${HASAUDIO:+[select=\'a\':f=rtp:payload_type=111]rtp://$IP:$FIRSTPORT?pkt_size=1200| \
}${HASVIDEO:+[select=\'v\':f=rtp:payload_type=100]rtp://$IP:$((FIRSTPORT+2))?pkt_size=1200}" } \
${HEIGHTS_MPEG:+\
- ${HASAUDIO:+-map '0:a' } ${HASVIDEO:+-map "[v${height}mpeg]" } \
+ ${HASAUDIO:+-map '0:a' }${HASVIDEO:+ -map "[v${height}mpeg]" } \
${HASAUDIO:+\
-codec:a aac -strict experimental -ac "$ACHANNELS" -ar 44100 -b:a $((ACHANNELS*64))k } \
${HASVIDEO:+\