Skip to content

Instantly share code, notes, and snippets.

@leonrinkel
Created February 19, 2022 13:27
Show Gist options
  • Save leonrinkel/504d9148a054031556aede6d7277151b to your computer and use it in GitHub Desktop.
Save leonrinkel/504d9148a054031556aede6d7277151b to your computer and use it in GitHub Desktop.
Merge HLS segments
for ($i=1; $i -le 540; $i++) {echo "segment$i.ts" >> list.txt}
& "..\ffmpeg.exe" -f concat -safe 0 -i list.txt -c copy output.ts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment