I have a bunch of ts segments locally, with the corresponding m3u8 playlist. Now, I would like to reassemble the mp4 file, losslessly.
I tried using ffmpeg, but I don't understand:
- The difference between https://trac.ffmpeg.org/wiki/Concatenate and Unix's cat
- The difference between Concatenate ts files before and running
ffmpeg -i "playlist.m3u8" -c copy out.mp4directly on playlist
Which is the correct way to perform this task?
Thanks