Skip to content

Instantly share code, notes, and snippets.

@vahidd
Last active February 19, 2024 22:46
Show Gist options
  • Select an option

  • Save vahidd/99cb6e9271278acf4f2606b33ae6aeb0 to your computer and use it in GitHub Desktop.

Select an option

Save vahidd/99cb6e9271278acf4f2606b33ae6aeb0 to your computer and use it in GitHub Desktop.
How to download HLS streams
Take the following steps:
1- First install ffmpeg with brew:
$ brew install ffmpeg
2- Then run the following command:
$ ffmpeg -i "HLS STREAM URL" -c copy -bsf:a aac_adtstoasc output.mp4
(don't forgot to replace "HLS STREAM URL" with your stream URL and also double quote the url)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment