diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-05-06 16:54:58 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-05-06 16:54:58 +0200 |
commit | d3e6dec404ac9137351e7a42db7c00fd7458213e (patch) | |
tree | b0cdac7e6d5aff0f0127a62aa0399149374ff90e | |
parent | f6c9bd0e9e81210b119df4a608c6c2be274ba2b8 (diff) |
Tidy whitespace.
-rwxr-xr-x | bin/stream | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -137,8 +137,10 @@ ffmpeg -hide_banner -threads auto -re \ -max-intra-rate 0 \ -qmin 4 -qmax 56 } \ -f tee \ - "${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}" } \ + "${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:+$(printf_each ' -map [v%smpeg]' "$HEIGHTS_MPEG") } \ ${HASAUDIO:+\ @@ -148,5 +150,7 @@ ffmpeg -hide_banner -threads auto -re \ -codec:v libx264 -tune zerolatency -preset ultrafast \ -maxrate "$VBITRATE" -bufsize "$((VBITRATE*2))" -crf 23 } \ -f tee \ - "${HASAUDIO:+[select=\'a\':f=rtp:payload_type=96]rtp://$IP:$((FIRSTPORT+4))?pkt_size=1200| \ - }${HASVIDEO:+[select=\'v\':f=rtp:payload_type=97]rtp://$IP:$((FIRSTPORT+6))?pkt_size=1200}" } + "${HASAUDIO:+\ + [select=\'a\':f=rtp:payload_type=96]rtp://$IP:$((FIRSTPORT+4))?pkt_size=1200| \ + }${HASVIDEO:+\ + [select=\'v\':f=rtp:payload_type=97]rtp://$IP:$((FIRSTPORT+6))?pkt_size=1200}" } |