diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-05-07 09:46:02 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-05-07 09:46:02 +0200 |
commit | 357429ed817166ba0ba47d2e6e13158642b450dc (patch) | |
tree | b15b88d7990b7db7bc4dab8b531bca966266c6a1 /bin/stream | |
parent | cdc8cabc4fe628eb1f524b0a67781460974c82de (diff) |
Quit when a single input runs out.
Diffstat (limited to 'bin/stream')
-rwxr-xr-x | bin/stream | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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:+\ |