====== Desktop streaming ====== ==== Nginx ==== # aptitude install libnginx-mod-rtmp rtmp { server { listen 12345; chunk_size 4096; application live { live on; record off; } } } ==== Create stream ==== $ ffmpeg -f x11grab -video_size 1920x1080 -rtbufsize 100M -framerate 30 -probesize 10M -i :0 -c:v libx264 -r 30 -preset ultrafast -tune zerolatency -crf 25 -pix_fmt yuv420p -f flv rtmp://192.168.2.72:12345/live === Client === ffplay -fflags nobuffer rtmp://192.168.2.72:12345/live