FRAMEFIELDOpen the video merger

MERGE VIDEOS · MEASURED DECEMBER 1, 2026

Why Can Odd Video Dimensions Break a Merge Export?

Check the actual pixel width and height. In our local test, a 65×49 sequence failed when encoded with libx264 as yuv420p. Padding to even dimensions completed the export without removing the marked source edges. Cropping also completed it, but discarded those edges. An MP4 extension alone does not identify the failing setting.

For the browser workflow, open Merge videos online. Keep the originals and inspect the exported frame boundaries before sharing.

Measured: one odd raster, two even-size controls

We generated a 65×49 grayscale raster with interior value 80 and a bright rightmost column and bottom row at value 235. Each clip contained 12 identical frames at 12 fps. The second clip reused the same source; concatenating the two created a 24-frame diagnostic sequence. This deliberately generated input makes lost edges countable; it is not camera footage or a hypothetical result.

The FFmpeg 6.1.1 run on December 1 returned “width not divisible by 2 (65x49)” for libx264 with yuv420p. The test therefore separated an encoding-geometry error from clip ordering: the lossless concatenation had already succeeded before that encoder was invoked.

Source-edge accounting

65×49 source → 113 marked edge pixels

Top-left crop to 64×48 → 0 marked pixels

Right/bottom pad to 66×50 → 113 marked pixels

Decoded first-frame pixels above 200 were counted. The shared bottom-right corner counts once: 65 + 49 − 1 = 113.

The crop control explicitly selected the top-left 64×48 area. Its decoded first frame had zero bright marker pixels because both marked edges lay outside that rectangle. The padding control placed the original at coordinate zero inside a 66×50 canvas, adding one column on the right and one row below. Its decoded first frame retained all 113 bright pixels. Both controls produced 24 decoded frames and lasted 2 seconds at 12 fps.

We used quantizer zero for the controls to isolate geometry, rather than mix this question with ordinary compression loss. The marker count applies to the first decoded frame; frame count was checked across the complete output. A successful export alone would have missed the crop loss. These measured controls support choosing padding when the source boundary must survive; they do not establish how any online merger handles odd dimensions.

For this input, rounding upward adds 3300 − 3185 = 115 canvas pixels per frame. Rounding downward removes 3185 − 3072 = 113 source pixels. Those counts describe different operations, even though each changes both dimensions by just one pixel.

Reproduce the diagnostic

Download the complete Node reproduction script and actual measurements. Set PVF_FFMPEG to your existing FFmpeg executable if needed, then run node reproduce.cjs in a writable folder. The script creates its own deterministic input, records command output, and checks decoded frames.

The controls use crop=64:48:0:0 and pad=66:50:0:0:color=black. For your own clips, decide whether preserving the full picture or meeting an exact delivery size matters first. Review any crop at the outermost text, cursor, logo, and subtitles.

Common questions

Does every odd-size video fail?

This experiment covers a particular encoder and pixel format. The odd-size FFV1 intermediate worked. Do not generalize the H.264/yuv420p failure to every codec or container.

Will adding black bars fix every merge error?

No. This control addressed the observed geometry error. Unsupported decoding, audio settings, and damaged files need separate diagnosis. Try a short pair and retain the exact error.

After checking dimensions and boundaries, return to our video merger. For another option, Explore Clipy’s online video tools. This is an affiliate link; we may earn a commission.