Skip to content

Instantly share code, notes, and snippets.

@devasheeshG
Last active February 18, 2024 15:22
Show Gist options
  • Save devasheeshG/654083004869f306d9163f2bf8d50350 to your computer and use it in GitHub Desktop.
Save devasheeshG/654083004869f306d9163f2bf8d50350 to your computer and use it in GitHub Desktop.
merge a .m3u8 playlist file to a .mp4 video with support of encrypted .ts files using ,enc key in .m3u8 file. Mainly used when compiling downoaded lectures.
ffmpeg -protocol_whitelist file,http,https,tcp,tls,crypto -i master_720.m3u8 -c copy out.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment