Last active
March 19, 2025 13:47
-
-
Save rodhfr/cc00c5206e77f9009260c5526f1494e4 to your computer and use it in GitHub Desktop.
udp stream
This file contains 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 -stream_loop -i "$input" -vf "subtitles=${input@Q}" -c:v libx264 -crf 18 -f mpegts udp://192.168.0.51:8581 | |
# intel hevc_qsv # alternatively: h264_qsv | |
ffmpeg -stream_loop -1 -i "$input" -vf "subtitles=${input@Q}" -c:v hevc_qsv -global_quality 20 -look_ahead 1 -f mpegts udp://192.168.0.51:8581 | |
# udp address is the client that the video is fowarded to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment