ffmpeg.exe -loglevel error -probesize 32 -vsync passthrough -framerate 20 -f gdigrab -i desktop -filter:v scale=w=trunc(iw*min(1280/iw\,720/ih)/2)*2:h=trunc(ih*min(1280/iw\,720/ih)/2)*2 -f mpegts -muxdelay 0 -c:v libx264 -maxrate:v 600K -bufsize:v 900K -crf 28 -g 60 -pix_fmt yuv420p -tune zerolatency -x264opts intra-refresh=1:slice-max-size=1300 udp://192.168.1.122:1234