Measured tests behind the guides.
These are the tests behind ToolWillow's media guides. Each entry states what was measured, the result, the limits, and the guide that uses it. The sample files are downloadable so you can inspect or repeat the comparison.
November 13: keyframes, chroma, frame-rate conversion, AAC bitrate and deinterlacing
Five guides publish synthetic desktop experiments run with FFmpeg 8.1.1 on one Windows machine: keyframe interval and seek time (results), 4:2:0 versus 4:4:4 chroma (results), frame-rate conversion judder (results), AAC bitrate inside video (results) and deinterlacing and field order (results). Each results file holds the commands, measurements and file hashes. The sources are synthetic, the objective metrics are not listening or viewing tests, and 4:4:4 playback support was not tested.
October 21: size budgets, frame rate and MP4 index order
The 1 MB budget experiment compared 505 kbps video plus 128 kbps audio with a 633 kbps picture target that forgot the audio allowance. Two-pass desktop exports measured 960,257 and 1,150,906 bytes. These are synthetic 12-second 640 × 360 clips, not a claim about every source or platform limit.
The fast-start MP4 test moved the moov index from byte 1,452,235 to byte 32. All encoded video and audio stream hashes matched. This measures container layout and payload preservation, not network startup time. The copy path was separately checked with the pinned WebAssembly core for both MP4 and MOV.
The updated 30 versus 60 fps guide includes a six-second 360-frame source and a 180-frame ordinary-speed output. Changes in audio track count and re-encoding mean its file sizes do not isolate frame rate alone. Download commands, measurements and hashes.
Desktop FFmpeg and ffprobe 8.1.1 on Windows. Sources are synthetic and were generated for these tests. The browser tools use a separate FFmpeg WebAssembly build, so an export in the browser can differ from a desktop command even when the settings look the same. Browser memory and input limits also apply.
October 25: embedded audio and join readiness
The three-track handoff experiment compares a source containing a combined tone track plus two isolated tones. Both desktop and pinned-engine mix/separate exports retained identical encoded-video hashes. The separate desktop handoff also retained both selected encoded-audio hashes. The mixed soundtrack was newly encoded.
The join experiment used matching picture dimensions with different audio sample rates and channel layouts, then added a silent clip with different geometry. The direct two-clip copy join returned no warnings or decoder errors but measured 4.376961 seconds. The normalized three-clip output measured 6.021333 seconds with zero decoder errors. These are synthetic cases, not universal failure predictions or perceptual sync tests. Read exact commands and hashes.
October 27: in-browser repair tools — sync shift, sound swap and dead-air cuts
The constant-offset sync experiment shifted an 880 Hz beep against a single white flash frame. The early fixture moved its measured beep onset from 1.700 to 2.000 seconds with an audio delay while the copied picture payload matched the source by signed-frame hash; the late fixture padded the picture head 0.300 seconds and re-located the flash at frame 69 of a 4.300-second container.
The sound swap experiment unmapped a 660 Hz sentinel and placed a 440 Hz replacement at +0.5 seconds. The sentinel magnitude measured 0.001 against 0.3 for the replacement, a +6 dB gain measured a 1.995 RMS ratio against an expected 1.995, and the one-pass −16 LUFS target measured −16.4 LUFS by desktop ebur128.
The quiet-span experiment detected the spans [2, 4] and [6.5, 8] seconds at a −40 dB threshold identically in the pinned engine and on desktop FFmpeg, then rebuilt the kept 8.500 seconds with zero decoder error lines. A correction recorded on the same day restated each repair command’s log level and fixed the cut-plan’s removed-versus-kept interpretation before these exports were produced. Read exact commands and hashes.
The sync fixer, sound swapper and silence remover build these same commands in the browser. All three experiments run on synthetic 320 × 180 and 640 × 360 fixtures with pure tones and level-switched beds, so they validate plan commands and verification logic without certifying arbitrary media, perceived lip sync or subjective quality.
This page is a summary, not a scoreboard. A result belongs to its source, settings and software version. Read the method note in each guide before applying a number to a different file.
Browser video merge
The current merger was tested with three reordered generated clips: one 48 kHz stereo source, a silent 25 fps source with a different size, and a 44.1 kHz mono source. The pinned WebAssembly merge command produced a 6.000-second 1280 × 720 H.264/AAC file of 1,403,248 bytes. The middle segment stayed silent in the sampled PCM; a separate all-silent export also passed. A Chrome download using the same order matched the pinned-engine file SHA-256 and passed an independent desktop decode. These are synthetic checks, not arbitrary-file or perceptual-quality certification. Open the video merger · Commands and measurements.
Speed and pitch
A 6-second, 30 fps, 640x360 clip carried a 440 Hz tone and a picture. We changed speed with two different audio paths: atempo, which keeps pitch, and asetrate, which lets pitch follow speed. Video used setpts and a 30 fps output.
| Export | Duration | Frames | Measured tone | Bytes |
|---|---|---|---|---|
| 2x, keep pitch | 3.000 s | 90 | 440.05 Hz | 584,178 |
| 2x, shift pitch | 3.000 s | 90 | 880 Hz | 585,244 |
The keep-pitch path held 440 Hz at 0.5x, 1.5x, 2x and 4x within about 0.2 Hz. The shift path produced 220, 660, 880 and 1,760 Hz at those same factors. Duration error was 0 ms and frame counts matched the expected values for all eight tone exports.
On a separate flash-and-beep sync clip, the offset between picture and sound was within one 30 fps frame at 0.5x keep pitch (-37.5 to -32.5 ms) and about 15 ms at 0.5x shift pitch. At 1.5x, 2x and 4x, the measured offsets stayed within roughly ±12.5 ms. A 30 fps frame lasts 33.3 ms, so these are small but not zero.
Source tone clip · 2x keep pitch · 2x shift pitch · 2x sync clip
Used in Change video speed without chipmunk audio.
Rotation metadata
A 4-second, 640x360 H.264 clip stored landscape pixels with a colored corner marker. We then wrote a 90-degree display matrix, removed it, or transposed the pixels. The encoded video payload stayed the same in the first two cases.
| File | Coded size | Display matrix | Decoded size | What a player shows |
|---|---|---|---|---|
| Flagged | 640x360 | -90 degrees | 360x640 | Portrait, upright |
| Stripped | 640x360 | None | 640x360 | Landscape, sideways |
| Transposed | 360x640 | None | 360x640 | Portrait, upright |
The flagged file was 12,243 bytes and decoded upright at 360x640. Removing the flag left the same 12,243 bytes and the same pixel payload, but the decoded image was 640x360 and the scene was sideways. Transposing the pixels produced a 12,178-byte file with a 360x640 coded frame and no display matrix. The corner check confirmed that the picture, not just the label, had changed.
Flagged clip · Flag stripped · Pixels transposed · Flagged frame · Stripped frame · Transposed frame
Used in A sideways phone video: rotation metadata or real pixels?.
GIF size and timing
A 3-second source was exported at three width and frame-rate pairs with a 256-color palette and Bayer dithering. The GIF format stores frame delays in hundredths of a second, so the nominal frame rate is not exact.
| Settings | Bytes | Frames | Delay pattern | Palette | PSNR vs scaled reference |
|---|---|---|---|---|---|
| 480 px, 12 fps | 1,237,912 | 36 | 80/90 ms | 250 colors | 42.60 dB mean |
| 640 px, 15 fps | 2,546,439 | 45 | 60/70 ms | 251 colors | 42.26 dB mean |
| 720 px, 20 fps | 4,334,302 | 60 | 50 ms | 248 colors | 43.20 dB mean |
The 720/20 file was 3.5 times the size of the 480/12 file; 640/15 was 2.06 times. The PSNR values compare each GIF with a scaled reference at the same width, so they do not rank the settings against one another. They also say nothing about motion smoothness or palette flicker. Use the file size and frame count first, then inspect the loop on the surface where it will be posted.
480/12 GIF · 640/15 GIF · 720/20 GIF
Used in Video to GIF: the settings that decide size and quality.
Voice loudness
A 13-second, 48 kHz mono synthetic voice was built at three levels: quiet, hot, and quiet with a 60 ms knock near full scale. We compared peak normalization with one-pass loudnorm at -16 and -14 LUFS, then re-measured the delivered MP3.
| Input | Integrated | True peak | Peak-normalized result | Distance from -16 LUFS |
|---|---|---|---|---|
| Quiet | -47.6 LUFS | -31.9 dBTP | -17.2 LUFS at -1.5 dBTP | 1.2 LU quiet |
| Hot | -16.7 LUFS | -0.9 dBTP | -17.3 LUFS at -1.5 dBTP | 1.3 LU quiet |
| Quiet plus knock | -31.6 LUFS | -1.6 dBTP | -31.5 LUFS at -1.5 dBTP | 15.5 LU quiet |
The knock case is the warning: peak normalization applied only +0.1 dB because the knock already sat near the ceiling. The speech remained at -31.5 LUFS while the peak meter read -1.5 dBTP. One-pass loudnorm to -16 measured -16.8 LUFS on the quiet and hot programs, and -17.3 LUFS on the transient program. The -14 target measured -14.9 LUFS. After MP3 encoding, the same files measured -17.0, -17.0, -17.5 and -15.2 LUFS respectively, with true peaks between -1.8 and -2.2 dBTP.
The low and hot programs had 8.1 LU of loudness range before processing and 6.4 LU after one-pass loudnorm. That change is a real side effect, not a free improvement in clarity.
Transient source WAV · Peak-normalized MP3 · Loudnorm -16 MP3
Used in Normalize a voice to -16 LUFS.
Frame extraction
A 10-second, 1280x720, 30 fps source was sampled at 4.2, 4.233 and 4.25 seconds with -ss before the input and after it. Both orders selected the same source frame at all three timestamps: the output PNG hashes were identical. On this short clip, input seek took about 0.11 seconds and output seek about 0.18 seconds. At 110 seconds into a longer file, input seek took 0.049 seconds and output seek 0.230 seconds, and both still matched the reference frame.
| Output | Bytes | Compared with | PSNR |
|---|---|---|---|
| PNG, 1280x720 | 198,821 | Reference frame | — |
| JPG q=2, 1280x720 | 91,552 | PNG | 30.53 dB |
| JPG q=8, 1280x720 | 48,956 | PNG | 29.64 dB |
| Player screenshot, 854x480 | 26,625 | Full-resolution frame | 25.34 dB |
The screenshot covered 44.5% of the source's pixel count. It was smaller than every extracted still, but the lost detail is the point: it records the player's scaled output, not the decoded source. The JPG q=2 file was 46% of the PNG size; q=8 was 24.6%. Those are size/quality trade-offs for this frame, not universal ratios.
Full-resolution PNG · JPG q=2 · JPG q=8 · Player screenshot
Used in Extract a full-resolution frame, not a screenshot.
Metadata removal
A 3-second, 320x180 H.264/AAC MP4 was tagged with location, Apple location, device make and model, creation date, comment and artist. A stream-copy strip used -map_metadata -1 plus per-stream metadata removal. We compared the decoded payload and searched the file bytes for the private strings.
| File | Bytes | Location string in bytes | Device string in bytes | Video payload hash | Audio payload hash |
|---|---|---|---|---|---|
| Tagged source | 134,955 | Yes | Yes | Reference | Reference |
| Stripped copy | 134,339 | No | No | Matches | Matches |
| Plain remux, no strip | 134,467 | Location remains | No | Matches | Matches |
The stripped copy kept all 72 decoded frames and both payload hashes. What remained were container brand fields, an encoder tag, stream language=und, and handler_name=VideoHandler or SoundHandler. A plain remux with no strip flag dropped the Apple mdta keys but kept a standard location tag and the comment and artist tags. A re-encode removed the private strings but changed the payload: 125,581 bytes and 3.008 seconds, with none of the 72 frame hashes matching the source.
Used in Remove video metadata before sharing.
Joining mismatched clips
Three clips were joined: 640x360 at 30 fps with 48 kHz stereo, 480x480 at 25 fps with 44.1 kHz mono, and 360x640 at 24 fps with 32 kHz stereo. The expected result was 8.9 seconds and 267 video frames at 640x360/30 fps.
| Method | Container duration | Video frames | Audio duration | Decode/mux problems |
|---|---|---|---|---|
| Concat demuxer, stream copy | 7.141 s | 234 | 5.955 s | 97 non-monotonic DTS warnings; 108 AAC decoder errors |
| Normalize each clip, then concat | 8.900 s | 267 | 8.900 s | No decode errors in the check |
The direct command exited successfully, which is the trap. Its container was 1.759 seconds short, the video had 33 fewer frames than expected, and the audio ended almost three seconds before the picture. The normalized path re-encoded each input to 640x360, 30 fps, 48 kHz stereo before joining. It produced the expected duration and frame count, at the cost of three generations of lossy encoding.
Mismatched input B · Direct concat · Normalized concat
Used in Why joining clips fails when resolution, frame rate or audio differ.
Bitrate and CRF
A 3-second, 384x216, 24 fps lossless source (3,774,834 bytes) was encoded with libx264 preset medium, yuv420p and no audio. Fixed-bitrate runs used single-pass ABR with maxrate equal to the target and a 2x target VBV buffer. SSIM and PSNR are full-reference metrics against the lossless source.
| Setting | Bytes | Video bitrate | SSIM average | PSNR average |
|---|---|---|---|---|
| CRF 18 | 291,577 | 772.9 kb/s | 0.960768 | 42.05 dB |
| CRF 23 | 118,910 | 312.5 kb/s | 0.955553 | 40.02 dB |
| CRF 28 | 63,097 | 163.7 kb/s | 0.945065 | 37.04 dB |
| CRF 32 | 45,067 | 115.6 kb/s | 0.931971 | 34.92 dB |
| 1 Mb/s target | 374,930 | 995.2 kb/s | 0.960841 | 41.87 dB |
| 2 Mb/s target | 914,897 | 2,435.1 kb/s | 0.971508 | 43.76 dB |
| 5 Mb/s target | 2,346,562 | 6,252.8 kb/s | 0.991371 | 49.14 dB |
The 2 Mb/s and 5 Mb/s targets overshot to 2.435 and 6.253 Mb/s on this short clip. A target is not a guarantee. The CRF rows show the expected direction: more compression, lower SSIM and PSNR. The fixed 1 Mb/s row is close to CRF 18 in SSIM on this synthetic source, which is why a bitrate alone cannot tell you which file looks better. Full-reference metrics also do not measure perceived quality, motion artifacts or viewing conditions.
CRF 18 · CRF 23 · CRF 28 · CRF 32 · Fixed 1 Mb/s · Fixed 2 Mb/s · Fixed 5 Mb/s
Used in Higher bitrate, better video? A CRF and bitrate test.
What these tests do not prove
- They do not predict every camera, editor, platform or codec. The sources are synthetic.
- They do not rank perceived quality. SSIM, PSNR and PSNR-vs-scaled-reference are numerical comparisons with stated references, not viewer studies.
- They do not test HDR, 10-bit, variable frame rate, long recordings, or every audio layout.
- They do not test WhatsApp or another named app's current pipeline. The messaging simulation in the related guide is a local re-encode, not a product walkthrough.
- They do not guarantee that the browser tool will produce byte-identical output. The browser uses a different FFmpeg build and runs inside a memory-limited tab.
If a result matters to a delivery, repeat the check on your own file and measure the delivered copy. The method page explains the difference between a measured result, an illustration, and a product claim. Corrections can be sent through the contact page.