FRAMEFIELDOpen the video merger

Why Audio Can Change Pitch When You Merge Different Sample Rates

Check audio sample rates before a direct-copy join. Our local test combined 44.1 kHz and 48 kHz sources: the copied result slowed the second tone, while resampling both inputs to 48 kHz preserved its pitch and the four-second audio length. This is a reproducible FFmpeg control, not a test of a browser merger's export.

Explore Clipy’s online video tools (affiliate link)

Measured sample-clock mismatch

We generated two MOV files containing H.264 video and uncompressed mono PCM audio. Both pictures were 160 by 90 pixels at 24 fps for two seconds. Red carried a 440 Hz tone at 44,100 samples per second; blue carried an 880 Hz tone at 48,000. Decoding returned 88,200 and 96,000 audio samples respectively, and 48 video frames from each input.

Our concat-demuxer stream copy produced a MOV whose audio stream reported 44,100 Hz. Its decoded audio contained 184,200 samples: dividing by that rate gives 4.176870748 seconds. Counting positive zero crossings in a one-second window starting 2.25 seconds into the decoded audio returned 808, compared with 880 in the blue source. The red window returned 440. The output still decoded 96 video frames, so a successful picture decode did not establish correct audio timing.

For the control, we resampled each source to 48,000 Hz before a concat-filter join and saved H.264 video with lossless ALAC audio in MP4. This decoded to 192,000 samples, exactly 4.000 seconds at the reported rate. The same interior windows returned 440 and 880 positive crossings. Its video also decoded 96 frames. Crossing counts are a simple tone-frequency check here, not a method for judging speech quality.

The copy result's second tone is consistent with reading 48,000 source samples each second on a 44,100-sample clock: 880 × 44,100 ÷ 48,000 = 808.5 Hz. Our integer window count was 808. These observations apply to the supplied PCM/MOV command sequence. They do not establish that every mixed-rate join fails or that changing a rate label alone repairs one.

Decoded audio samples divided by stream rateCopy: 184200 / 44100 = 4.177 sResample: 192000 / 48000 = 4.000 s
Measured sample duration, not a player timestamp trace.

Repeat and check your export

Download the reproduction script into an empty folder, install FFmpeg on PATH, and run node reproduce.cjs. Alternatively set PVF_FFMPEG to its executable path. The script generates both inputs and outputs, then measures decoded samples, video frames, and interior tone windows. Compare the recorded commands and results.

After using Merge Videos Online, inspect the saved file with ffmpeg -i output.mp4 and listen across the join. A different input rate is a reason to verify the export; it is not proof that your file is faulty. For a suspicious direct-copy workflow, compare with a resampled export before replacing your original files.