I'm trying to concat all chunks in HLS, into a single mp4 file, using ffmpeg. I tried the command: ffmpeg -i -vcodec copy -acodec copy -bsf:a aac_adtstoasc
However, I noticed that if m3u8 contains discontinuity tag, then the concatenation is not work well, i.e. the video stops during all the missing chunks.
Any idea, how to convert so the video play continuously, namely, ignoring the missing chunks?