Cut decision record
The choice is not simply fast versus slow, or lossless versus lossy. Stream copying preserves encoded packets, while an arbitrary editorial boundary may require decoding pictures whose dependencies lie earlier in the source. Some players hide preroll differently. This task therefore produces two candidate cuts from one approved interval and records their real boundaries. It is useful when a short source must begin just before a two-person gesture, not on an earlier pose that changes selection or review.
Build the evidence
- 01
Define the boundary contract first
Name the first retained event and required final action, and decide whether a few surrounding frames are acceptable. Keep the source identity and selected moving stream fixed for both trials. A rough internal preview may tolerate keyframe-adjacent boundaries; a reproducible upload test may require specific decoded pictures. Do not choose stream copy merely because it avoids another encoding generation.
- 02
Produce separate copy and encode trials
In the example, input-side seeking precedes the input filename. For transcoding with accurate seeking, the decoder can discard the material between an earlier seek point and the requested start. Stream copy does not perform that same decoded discard. Both commands use a four-second request and intentionally omit sound so picture-boundary behavior is isolated. Keep different filenames and refuse overwrites rather than replacing the source.
- 03
Inspect playback and decoded endpoints
Open both candidates in the intended player and a frame-capable editor. Record the actual first and last visible picture, duration and any decode warning. If needed, retain a probe report of packet flags and presentation times. Choose the smallest processing change that meets the actual contract, then prepare audio deliberately. A visual pass in one player is evidence for that environment, not a guarantee for every downstream decoder.
A bounded example
Local executed comparison: a six-second 30 fps H.264 synthetic source with a 60-frame GOP was cut from a requested one-second start using both commands under FFmpeg 7.1. Both processes completed successfully. That alone is not a claim that their first decoded pictures are identical: a boundary verdict still requires the stipulated inspection. The test validates command execution and illustrates why successful exit status must be separated from editorial acceptance. Keep a still of the approved first picture with the cut record so the next operator can verify the boundary without guessing from a timestamp.
Local diagnostic commands
Both FFmpeg commands were executed successfully on local synthetic media using FFmpeg 7.1. The local test did not certify identical boundary pictures across all players. No paid generation was performed.
ffmpeg -n -ss 1 -i source.mp4 -t 4 -map 0:V:0 -an -c:v copy copy-cut.mp4
ffmpeg -n -ss 1 -i source.mp4 -t 4 -map 0:V:0 -an -c:v libx264 -pix_fmt yuv420p encoded-cut.mp4Cut decision record
| Candidate | Processing | Acceptance evidence |
|---|---|---|
| Stream copy | Preserve selected encoded packets | Actual boundary and destination playback |
| Re-encode | Decode and discard before requested start | Actual boundary, cadence and quality |
| Chosen upload copy | Approved editorial interval | Duration, byte size and intended people |
Acceptance evidence
- The contract states whether approximate or exact boundary pictures are required.
- Copy and encode trials retain separate files and processing records.
- Actual first and last pictures are checked after export.
- Soundtrack alignment is validated when sound is added to the chosen picture.
Stop condition
Stop using the copied trial when it includes unwanted preroll, misses required action or behaves inconsistently in the destination. Choose a controlled re-encode or another excerpt. Conversely, do not re-encode a correctly bounded copy purely for reassurance; each additional transform should answer a documented requirement.
