Skip to content

How can I check that a remux changed the wrapper but not the decoded pictures?

Compare decoded-frame checksums when you need to establish that a remux preserved picture samples. A whole-file hash normally changes when the wrapper changes, even if the encoded pictures do not. Keep timing, orientation and sound as separate checks. Matching frame hashes are evidence for the declared decode path and selected stream, not proof that every player displays the files identically or that the pictured performance is correct.

REVIEW AND HANDOFF: REPRODUCIBLE EVIDENCE PACKAGESAISwapLab team · Editorial methodPublished 3 min read
See the recorded exampleExplore 67 Image SkillsIndependent finishing · Check the actual file
Editorial worksheet excerpt: Picture samples equal; Timing equal; Delivery preserved. See the complete table and sources below.
Editorial worksheet excerpt: Picture samples equal; Timing equal; Delivery preserved. See the complete table and sources below.

Separate the evidence from the decision

This task is more specific than a subjective before-and-after review. A packet-preserving container operation should not be credited with improving picture quality, and a different MP4 checksum should not automatically be called visual degradation. The artifact contains two complete frame-checksum reports and a comparison rule. It supports technical preservation claims for an external delivery operation; it is not a face-recognition score, identity benchmark or evidence that a generated subject matches a reference.

Build the evidence

  1. 01

    Establish the input evidence

    Choose the same approved moving stream in both files and record decoder version, pixel format and interpretation. Confirm that neither command introduces cropping, scaling, frame-rate conversion or color transformation. A rotation matrix or other display metadata can affect presentation even when underlying samples match, so keep those properties in the accompanying report. If the intended comparison is displayed orientation rather than raw decoded samples, define and apply the same interpretation deliberately before hashing.

  2. 02

    Run a controlled diagnostic

    Generate complete framemd5 reports rather than hashing a few attractive stills. Preserve headers as evidence but compare the relevant frame records under a documented rule. Each record includes more than a checksum, so decide whether the test requires identical timing as well as identical sample payloads. Different time bases can represent equivalent times differently. Do not silently discard timing fields and then describe the result as frame-accurate timeline identity. Any missing or extra frame must receive an explicit verdict.

  3. 03

    Verify the actual handoff

    When a mismatch appears, first locate the earliest differing record and verify stream selection and decode settings. Then inspect the corresponding pictures. A deliberate re-encode may produce visually similar but unequal samples; that is a different claim from exact decoded equality. Check the soundtrack independently and reopen both files in the destination player. Store source/output identities, command strings and the comparison outcome with the handoff so a later revision cannot inherit an earlier file's preservation claim.

A bounded example

Local executed evidence: a six-second synthetic H.264 source and its faststart stream-copy derivative were decoded under FFmpeg 7.1. All 180 complete per-frame records matched in that controlled comparison. This supports preservation for those files and that pipeline. It does not establish equality for an unrelated master, every decoder, transformed orientation, the audio track or any paid AISwapLab result. The exact synthetic logs remain separate from production acceptance evidence.

Local workflow example

Executed locally on a synthetic source and its faststart remux: 180 frame records matched under FFmpeg 7.1. No production or paid-generation equality claim is made.

shell
ffmpeg -i before.mp4 -map 0:V:0 -an -f framemd5 before.framemd5
ffmpeg -i after.mp4 -map 0:V:0 -an -f framemd5 after.framemd5

Task evidence worksheet

ClaimEvidenceSeparate check
Picture samples equalComplete decoded frame recordsDisplay interpretation
Timing equalComparable time coordinatesNo hidden time-base assumption
Delivery preservedPicture plus soundtrack checksDestination playback

Acceptance evidence

  • Compare the same selected stream under a declared decode path.
  • State whether the verdict includes timing or only picture samples.
  • Retain complete reports and check sound and displayed interpretation separately.

Stop condition

Stop calling an operation sample-preserving when its actual reports differ without an understood cause. Retain the original and investigate rather than selecting only matching frames. If the delivery requires perceptual similarity instead of exact equality, use a separately defined visual review and report that weaker claim honestly; checksum mismatch alone does not decide artistic acceptability.

Sources

Review the result in context.

Compare the recorded example and its documented limitations.

See the recorded example