FRAMEFIELDOpen the video merger

How to Check an Audio Gap After Merging Videos

Check the audio packet timestamps around the cut. A player can go quiet when the audio timeline has a hole, even if both files contain an audio track.

Explore Clipy’s online video tools (affiliate link)

What happened at the cut?

We generated a two-second red clip with one second of 440 Hz tone, then a two-second blue clip with two seconds of 880 Hz tone. Both use 48 kHz mono PCM and 24 frames per second. We joined them with FFmpeg's concat demuxer and copied both streams into Matroska. The blue clip starts at 2 seconds on the joined timeline.

The packet log uses a time base of one millisecond. The last red audio packet starts at 981 and has a reported duration of 18. The next audio packet starts at 2000. Subtracting the reported end (981 + 18) from the next start leaves a 1001 ms timestamp hole. The millisecond time base rounds the underlying sample boundaries. The 1792-byte final red packet holds 896 mono 16-bit samples, about 18.67 ms at 48 kHz.

There are no audio packet rows between those two entries. A file padded with zero-valued PCM across the gap would have packet payloads covering that interval. This distinction matters when debugging a seam: a listening check can identify where the output goes quiet, and a packet check can show whether the file actually carries audio through that interval.

0 s~1 s2 sGap
Audio coverage in the measured join.

Repeat the test

Save the script in an empty folder and run node reproduce.cjs with FFmpeg on PATH. Compare the result with the original packet log. This test measures a local stream-copy workflow. After using Merge Videos Online, check the timestamps in your own download to see what that export contains.