diff options
Diffstat (limited to 'bin/loop+encode+stream')
-rwxr-xr-x | bin/loop+encode+stream | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/loop+encode+stream b/bin/loop+encode+stream index 5beef2d..3906552 100755 --- a/bin/loop+encode+stream +++ b/bin/loop+encode+stream @@ -60,11 +60,11 @@ fi # + Use same RTP payload types as GStreamer ffmpeg -hide_banner -threads auto -re \ -stream_loop -1 -i "$INPUT" \ + -vf format=pix_fmts=yuv420p \ -map '0:a' \ -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 \ -codec:v vp8 -quality realtime -deadline 1000000 -cpu-used "$SPEED_VP8" \ -b:v "$VBITRATE" -minrate "$VBITRATE" -maxrate "$VBITRATE" \ -undershoot-pct 95 -bufsize $((6000*VBITRATE/1000)) -rc_init_occupancy $((4000*VBITRATE/1000)) \ |