diff options
Diffstat (limited to 'bin/loop+encode+stream')
-rwxr-xr-x | bin/loop+encode+stream | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/loop+encode+stream b/bin/loop+encode+stream index fc944fe..b767dca 100755 --- a/bin/loop+encode+stream +++ b/bin/loop+encode+stream @@ -17,7 +17,7 @@ FIRSTPORT=${2:-5002} # even number - next 3 ports used too ACHANNELS=2 AFRAMERATE_OPUS=48000 -ABITRATE=32000 +ABITRATE_OPUS=32000 # TODO HEIGHT=360 @@ -37,7 +37,7 @@ fi ffmpeg -hide_banner -threads auto -re \ -stream_loop -1 -i "$INPUT" \ -map '0:a' \ - -codec:a libopus -ac "$ACHANNELS" -ar "$AFRAMERATE_OPUS" -b:a "$ABITRATE" \ + -codec:a libopus -ac "$ACHANNELS" -ar "$AFRAMERATE_OPUS" -b:a "$ABITRATE_OPUS" \ -f rtp -payload_type 111 "rtp://$IP:$FIRSTPORT?pkt_size=1200" \ -map '0:v' \ -pix_fmt yuv420p \ |