MERGE VIDEOS ONLINE · MEASURED PICTURE QUALITY
Explore Clipy’s online video tools (affiliate link)
Does Merging Videos Reduce Quality? A Stream-Copy vs Re-Encode Test
Not in every merge. In our controlled 720p test, stream-copy preserved all 240 decoded frames exactly and scored SSIM 1.000000 against a lossless reference of the decoded inputs. Re-encoding the same pair with H.264 at CRF 23 scored SSIM 0.998152 and average PSNR 51.11 dB. Its MP4 was 7,220,437 bytes, versus 9,739,929 bytes for stream-copy. These results describe two synthetic clips, not every phone video.
The two results
Both branches joined the same two four-second files. The stream-copy branch moved the encoded video and audio streams into one MP4 without encoding the pictures again. Its decoded picture hashes matched the two inputs in order. The re-encode branch decoded those inputs, joined the pictures, then encoded a new H.264/AAC MP4 using the local merger's published re-encode settings.
| Merge branch | Decoded frames | SSIM vs decoded-input reference | MP4 size | Full decode |
|---|---|---|---|---|
| Stream-copy · no video re-encode | 240; hashes match in order | 1.000000 | 9,739,929 bytes | Passed |
| H.264 re-encode · CRF 23 | 240 | 0.998152 | 7,220,437 bytes | Passed |
The re-encoded branch measured 51.11 dB average PSNR against the same decoded-input reference. In this sample, the re-encoded file was 2,519,492 bytes smaller, about 25.9% of the stream-copy output. That is a byte-count comparison for these generated clips; it is not a general compression ratio or a prediction for longer projects.
How the clips were made
FFmpeg 6.1.1 generated two separate 1280 × 720 clips at 30 frames per second. Each lasted four seconds and decoded to 120 video frames. Both used the testsrc2 pattern; clip B also used a hue filter set to 130 degrees so the two segments were visually distinguishable. Each input was encoded as H.264 Constrained Baseline, yuv420p, CRF 18, with stereo AAC at 48 kHz and 128 kb/s. These are synthetic patterns made for this check, not recordings from a phone or camera.
The stream-copy run used FFmpeg's concat demuxer and -c copy. For a comparison reference, the two input video streams were decoded in order and written to an FFV1 Matroska file, which preserves the decoded pixels. Frame hashes verified that this reference contained the same 120 + 120 decoded frames, in order, as the inputs. The stream-copy output's 240 decoded frame hashes matched that reference sequence too.
The re-encode run followed the current PickVideoFrame merger's local re-encode recipe: 1280 × 720 output, 30 fps, yuv420p, H.264 with the ultrafast preset and CRF 23, plus AAC at 128 kb/s. The website's source code exposes those settings; the measurements here were made with the installed desktop FFmpeg 6.1.1 binary, not by exporting through a browser session. That distinction matters because separate FFmpeg builds can produce slightly different output.
How quality was compared
SSIM and PSNR compare decoded picture samples, not the container size or the audio track. Each output was compared with the FFV1 reference after setting both video time bases to 1/30 and resetting timestamps by frame number. This pairs frame 1 with frame 1 through frame 240 with frame 240, even if the MP4 muxers place the join at slightly different timestamps. The stream-copy branch scored SSIM 1.000000 because every decoded frame matched the reference exactly. Re-encoding changed decoded pixel values, producing SSIM 0.998152 and PSNR 51.11 dB.
Both MP4s decoded completely with FFmpeg's error-stop option and contained 240 video frames. This confirms the files were readable from beginning to end in this run. It does not measure visual quality for moving camera footage, text overlays, fine grain, HDR, or a different codec. We did not test a third-party merger, and we did not claim that the desktop binary produced byte-identical results to the browser's WebAssembly build.
What the scores mean for a real merge
A stream-copy result can preserve the decoded picture exactly when the files are compatible with the copy path. That means the merge itself introduces no additional video encode in this test. It does not undo compression already present in the original H.264 files: the reference is the decoded image from those H.264 inputs, not an uncompressed camera master.
A re-encode creates new picture data. Here, the measured SSIM remained close to 1.0 and the saved MP4 became smaller, but this synthetic sequence is too narrow to say that every re-encode will look the same or save the same percentage. Complex motion, low light, tiny text, high detail, different frame rates and a longer duration can change the result. A high SSIM score is a comparison against this particular reference, not a promise that viewers will never notice an encode.
In the PickVideoFrame merger, “Keep first clip size” uses stream copy when its reported stream details match. If they do not match, or you choose a fixed output height, the page takes its H.264/AAC re-encode path. Read the completion status after merging so you know which path handled your clips. If you are preparing a long or important video, keep the originals and inspect a short representative export first.
What to check in your merge
- Open the PickVideoFrame online video merger and choose two short clips representative of your actual files.
- Keep the first-clip-size option if the clips are compatible, or choose a fixed output height to request a re-encode.
- After processing, note whether the page reports stream copy or re-encoding. Download the MP4 and review the join, not just the preview.
- Use the SSIM numbers above only as a controlled example. For a different source, compare that source's decoded frames with the output and preserve its original.
If you are comparing file containers as well as quality, see our two-order MP4 and MOV merge test. Its matched streams were checked for decode and order, but that earlier test did not measure picture-quality scores.
Test scope
Two generated four-second 720p clips; 240 total frames; local FFmpeg 6.1.1; FFV1 decoded-input reference. The re-encode flags match the current published merger source, but this was not a browser-side export or a test of third-party services. Results do not generalize to all footage, devices, encoders or editing tools.
Open the PickVideoFrame video merger to try your own compatible clips.