You want a recital clip to start when the child raises their bow. A quick trim keeps the bow lift, but also the camera settling into place. Moving the cut to the next keyframe removes the camera shake and the bow lift. If both details matter, encode a new viewing clip starting on the frame you picked. If the extra lead-in is fine, copying the original streams can save an encode. Keep the source recording either way.
Find the two frames you can cut on without a new encode
In inter-frame video such as H.264, the first picture you want can depend on pictures recorded earlier. The usual keyframe cut starts at a point from which decoding can begin. LosslessCut documents that its default keyframe mode rounds the start back to the preceding keyframe. Its controls also let you move to the next one. LosslessCut cutting guidance
For a short clip, list the keyframes of the first video stream. Read the timestamps in seconds to find the ones on either side of your chosen moment.
ffprobe -v error -select_streams v:0 -skip_frame nokey -show_frames -show_entries frame=best_effort_timestamp_time -of csv=p=0 original.mp4
| Where to begin | What you keep | When it fits |
|---|---|---|
| Previous keyframe | The action plus some lead-in | You are collecting excerpts for a longer edit. |
| Next keyframe | A shorter clip that can skip the opening action | You’ve watched the interval you are dropping and don’t need it. |
| Chosen frame between them | A freshly encoded picture sequence starting at the intended moment | You need the bow lift and want to leave the camera adjustment out. |
Export the same two-second request two ways
These examples request two seconds starting at 3.3 seconds. They select the first video and, if present, the first audio track. Check which audio tracks and subtitles you need if you plan to share or archive the result. Use new filenames for the exports.
Keep the lead-in. With -ss before the input, FFmpeg can seek to an earlier access point. Stream copy preserves that lead-in. Here -avoid_negative_ts make_zero shifts timestamps for the new file. The displayed zero on its timeline does not identify which source picture comes first. FFmpeg seeking and stream copy
ffmpeg -n -ss 3.3 -i original.mp4 -t 2 -map 0:v:0 -map "0:a:0?" -c copy -avoid_negative_ts make_zero keyframe-cut.mp4
Start on the chosen picture. When transcoding, FFmpeg’s default accurate seeking decodes the extra interval and discards it. This viewing-copy example encodes H.264 video and AAC audio. Pick a time that corresponds to a source frame and check the exported clip.
ffmpeg -n -ss 3.3 -i original.mp4 -t 2 -map 0:v:0 -map "0:a:0?" -c:v libx264 -crf 18 -c:a aac exact-cut.mp4
What actually became the first frame?
We generated a seven-second H.264/AAC recording at 10 frames per second with keyframes at 0, 2, 4 and 6 seconds. The chosen frame at 3.3 seconds was 1.3 seconds past the previous keyframe. We identified the first decoded picture by matching its pixel hash against the source. For that measurement we used x264 lossless mode on the re-encode so its pixels could be compared directly. The viewing-copy command above uses ordinary lossy encoding.
| Export from this sample | First decoded picture came from | Decoded frames | MP4 duration |
|---|---|---|---|
| Stream copy with shifted timestamps | 2.0 seconds | 33 | 3.328 seconds |
| Re-encode with accurate seeking | 3.3 seconds | 20 | 2.022 seconds |
The opening half-second of sound measured about 498 Hz in the copied clip and 601 Hz in the re-encoded one. Those were the expected tones near the two different source moments. That check says where this synthetic audio began. For a real performance, listen for the first note or syllable and check picture and sound together.
Open the exported file in the player you plan to use. Step through its first pictures, listen to the start, then play across the ending. A duration close to two seconds alone cannot tell you whether you kept the bow lift. If several excerpts are going into one film, check each cut before joining the MP4 clips. Keep the originals available for a different edit and verify the archived files.
Need one still picture rather than a video excerpt? Export a frame from the MP4 and check the image.