Created
July 6, 2024 03:07
-
-
Save joe-oli/8aada3be52cfe94eb76c57e97ad02016 to your computer and use it in GitHub Desktop.
stream with ffmpeg - view with VLC
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
# Add a packet size on both server (ffmpeg) and client (vlc) sides; | |
# in ffmpeg: | |
ffmpeg -re -i "path/to/my/video.mp4" -vcodec libx264 -f mpegts udp://127.0.0.1:1234?pkt_size=1316 | |
# in vlc: | |
udp://127.0.0.1:1234?pkt_size=1316 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment