Created
August 14, 2022 18:35
-
-
Save TotalLag/ef89554e5a602577de5aaca4b0cdde9b to your computer and use it in GitHub Desktop.
Record 10seconds chunks of streams, combine then, remux.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -i "url.m3u8" -c copy -map 0 -reset_timestamps 1 -f segment -segment_time 10 -strftime 1 "%Y-%m-%d__%H:%M:%S.ts" | |
cat *.ts > all.ts | |
ffmpeg -i all.ts -c copy all.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment