title: Converting HLS with discontinuity tag into MP4 using ffmpeg
body: <p>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 </p>
  
  <p>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.</p>
  
  <p>Any idea, how to convert so the video play continuously, namely, ignoring the missing chunks?</p>