Skip to content

Instantly share code, notes, and snippets.

@marlosirapuan
Last active April 13, 2024 09:28
Show Gist options
  • Star 59 You must be signed in to star a gist
  • Fork 8 You must be signed in to fork a gist
  • Save marlosirapuan/778d6beda5f8ab95695748011c864b19 to your computer and use it in GitHub Desktop.
Save marlosirapuan/778d6beda5f8ab95695748011c864b19 to your computer and use it in GitHub Desktop.
Download .m3u8 files on MacOS

Install ffmpeg

brew install ffmpeg

Download file through url, like this:

ffmpeg -protocol_whitelist file,http,https,tcp,tls,crypto -i "http://url-file.domain.m3u8" -c copy video.mp4
@pachacamac
Copy link

<3 <3 <3 super awesome!

@vahpetr
Copy link

vahpetr commented Apr 28, 2023

super

@christiaan2b
Copy link

christiaan2b commented Jun 6, 2023

Where does this download the file to?

Edit: found it in my user folder 👍🏼

@kudit
Copy link

kudit commented Jul 27, 2023

Thank you! Worked perfectly.

@1ulzsec
Copy link

1ulzsec commented Aug 22, 2023

thank

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment