Skip to content

Instantly share code, notes, and snippets.

@gorillamoe
Created October 7, 2020 11:46
Show Gist options
  • Save gorillamoe/da9c8d0b610fa7e8b8ea7cb079b90969 to your computer and use it in GitHub Desktop.
Save gorillamoe/da9c8d0b610fa7e8b8ea7cb079b90969 to your computer and use it in GitHub Desktop.
HLS .m3u8 to .mp4 using ffmpeg
ffmpeg -i "http://host/folder/file.m3u8" -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 file.mp4
-bsf:a aac_adtstoasc
-c copy -vcodec copy
-crf 50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment