Last active
April 21, 2020 09:15
-
-
Save mcstrassell09/371597a530b40f019b8272167fdb1501 to your computer and use it in GitHub Desktop.
Stream-Copy HLS Simultaneously FFmpeg
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
//terminal-window 1 | |
ffmpeg -i "https://...m3u8" -c:v libx264 -c:a mp2 -f tee -map 0:v -map 0:a "out.mp4|[f=mpegts]<udp://127.0.0.1:8888/" | |
//terminal-window 2 | |
ffplay -i udp://127.0.0.1:8888/ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment