A trim made by copying compressed packets may begin before the chosen image because decoding needs an earlier suitable boundary. “No re-encoding” and “an exact first frame” are different requirements. Decide which matters for the delivery, then inspect the actual decoded start instead of trusting the command's success message.
Understand what is being copied
FFmpeg documents stream copy as transferring encoded packets without decoding and encoding them again. Its seeking documentation explains that an input seek can land at an earlier seek point; transcoding with accurate seeking can discard the extra decoded portion, while copying can preserve it.
The exact outcome depends on the source codec, timestamps, container and tool workflow. Not every frame is independently decodable. Do not present a single universal command as both perfectly frame accurate and lossless for arbitrary MP4 files.
Choose the actual priority
For an archival excerpt where a little extra opening material is acceptable, a reviewed packet copy may meet the purpose. For a cut synchronized to a spoken word, beat or shot change, an exact decoded start may require re-encoding the affected material through an appropriate editor or workflow.
Keep the original and create a separately named result. Record the requested start and end, the intended duration and the first desired visual event. For confidential material, also consider whether an apparently hidden earlier packet is acceptable to include; playback appearance alone is not a complete content-removal audit.
A hypothetical dance excerpt
Suppose an editor wants an eight-second excerpt beginning exactly at a hand clap. A copied result opens with a brief preceding movement. The review checks the first visible image, the clap's sound and the duration, not only whether the file opens.
Compare a copy-based candidate with an accurately trimmed re-encoded candidate made from the original. Evaluate whether the latter preserves enough quality for the intended use. This is a hypothetical comparison and does not claim that a particular file or tool achieved a tested exact cut.
Review both edges and timing
Play from the beginning in the target player and inspect the first frames in an editor. Check the end as well: a matching start does not guarantee the intended last image or complete audio tail. Watch for timestamps that create a black lead-in, delayed sound or unexpected duration.
Accept the copy-based result only when its actual boundaries satisfy the brief. Accept a re-encoded version when its precise cut and reviewed quality satisfy the delivery. Reject either if it retains excluded content or changes synchronization. Archive the trim choice and resulting file separately. These are external editing decisions; an Imagild output should be treated as the preserved source rather than repeatedly overwritten during boundary experiments.
Sources
Prepared by Imagild Editorial with AI assistance and reviewed against the linked sources on October 13, 2026. Examples are hypothetical; external procedures do not establish Imagild features or guarantee results.