Created
December 2, 2025 02:37
-
-
Save fiddyschmitt/f1e1b67cd83fb5d1f2a564dc79d09319 to your computer and use it in GitHub Desktop.
ffmpeg and ffplay
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .\ffmpeg.exe -f gdigrab -framerate 30 -video_size 1920x1080 -offset_x 1920 -offset_y 0 -i desktop -vcodec mpeg4 -q 12 -f mpegts udp://127.0.0.1:5000 | |
| .\ffmpeg.exe -f gdigrab -framerate 30 -video_size 1920x1080 -offset_x 1920 -offset_y 0 -i desktop -c:v libx264 -preset ultrafast -tune zerolatency -b:v 5000k -maxrate 6000k -bufsize 12000k -g 30 -f mpegts udp://127.0.0.1:5000 | |
| .\ffplay.exe -fflags nobuffer -flags low_delay -probesize 20000 -analyzeduration 1 -framedrop -f mpegts udp://127.0.0.1:5000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment