Skip to content

Instantly share code, notes, and snippets.

@repcsi
Last active May 9, 2020 12:32
Show Gist options
  • Save repcsi/0331c0b81abb75b5669193b1a136cf48 to your computer and use it in GitHub Desktop.
Save repcsi/0331c0b81abb75b5669193b1a136cf48 to your computer and use it in GitHub Desktop.
ffmpeg -i chunkies.m3u8 -codec copy output.mp4
If TS:
for file in $(cat chunks.m3u8 ); do cat $file.ts >> all.ts ; done
ffmpeg -i all.ts -acodec copy -vcodec copy all.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment