I have an MPEG-TS video file of 60 seconds that was split in half (30 sec x 2 files). When I concatenate back (cat unix) the two video parts, during the play of the video right at the moment when there's the transition from first half to the second half of the video, I'm getting a gray frame and frames get scrambled for ~1 second until the video continues to play normally.
Could someone tell me why is this happening ? I only want to understand why it happens and how to theoretically avoid such thing, nothing more.
split. It actually created two separate TSs that have the header info, so just
cating them back together isn't the inverse function. One TS ending and another starting within a file would do what you describe.