Skip to content

Instantly share code, notes, and snippets.

@mcstrassell09
mcstrassell09 / Copy-Stream-HLS
Last active April 21, 2020 09:15
Stream-Copy HLS Simultaneously FFmpeg
//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/