Skip to content

Can FFmpeg pick a useful still from each portion of a swap for my editing notes?

Use a representative-frame selector on a fixed batch as a starting point. It favors a picture representative of that batch's color distribution, which is different from choosing the most identifiable or flattering face.

PLAN AN EXTERNAL VIDEO REPAIRAISwapLab team · Editorial methodPublished 2 min read
See the recorded exampleExplore 67 Image SkillsIndependent finishing · Check the actual file

Set up the edit

Group the returned clip into batches of 48 decoded pictures. Compare each selected still with nearby frames and identify whether it actually shows the actor, hair and direction of gaze needed for your note.

shell
ffmpeg -i duo-result-silent.mp4 -filter_complex "[0:v:0]thumbnail=n=48,scale=240:-2[proof]" -map "[proof]" -fps_mode passthrough -c:v ffv1 inspection.mkv

Read the result

If the selected picture depicts the back of a head or a partial blink, choose a neighboring frame manually. Preserve the original time of the final choice.

With the returned living-room dance, the local FFmpeg run decoded 4 video frames at 240 × 134 pixels. Use the linked file to reproduce the example. This was an offline edit of the existing public clip.

If the first pass falls short

Do not let the chosen still serve as evidence that the complete batch is good. An uncommon bad frame is precisely the kind of frame this selector may skip.

Sources

Review the result in context.

Compare the recorded example and its documented limitations.

See the recorded example