To hold the last picture for a specified time, use FFmpeg’s tpad video filter with stop_mode=clone and stop_duration. This adds cloned frames at the end of the video stream; it does not freeze the whole clip or create a pause inside it. Check the output’s last moving frame, the start and end of the held interval, the total duration, and audio behavior separately.
Choose the ending and apply the filter
First decide whether the requested duration means extra time after the original ending or a target total duration. stop_duration specifies padding duration, so it is the added tail, not the whole clip’s desired length. If the brief requires a fixed overall runtime, account for that added time elsewhere in the edit.
The FFmpeg `tpad` documentation defines stop_mode=clone as copying the last input frame into the padded ending. The default stop_mode is add, which adds solid-color frames instead. For a last-frame hold, explicitly select clone rather than relying on the default. The documentation also states that stop_duration sets the duration of the end padding and overrides stop, the frame-count option.
A practical sequence is:
- Note the source video’s ending and the requested added duration. Confirm that the intended hold is at the very end, not at an earlier action point.
- Apply
tpadto the video withstop_mode=cloneand the requestedstop_duration, using FFmpeg’s accepted time-duration syntax. For the hypothetical 1.2-second tail, the video-filter expression is:
-vf "tpad=stop_mode=clone:stop_duration=1.2"
This is a filter-chain example, not a claim that a particular file has been processed or that its measured output will have a particular container duration. 3. Review the output at the transition from motion into the hold, within the hold, and at the output’s final frame. Compare those points with the source ending. 4. Check total output duration against the original duration plus the requested tail. Treat this as a comparison target, not an assumption about frame-count rounding or exact timestamp behavior. 5. Decide separately whether audio should end with the original picture, continue, or be extended by another edit. A video filter setting does not specify the intended audio result.
The distinct start_mode and start_duration options concern padding before the input video; they are not needed for a tail-only hold. Do not use them to solve an ending problem.
Hypothetical acceptance worksheet
The following is an example acceptance plan, not a measured FFmpeg result. Suppose a clip ends with a person raising a glass, and the requested tail is 1.2 seconds. Record the original ending and inspect the generated output rather than treating the table’s expected observations as guaranteed behavior.
| Check | Hypothetical observation to record | Decision if it differs |
|---|---|---|
| Source ending | Original last frame shows the raised glass; note its timestamp or frame position using the review method available to you. | If this is not the intended pose, choose a better source ending before adding the tail. |
| Hold begins | The output changes from moving footage to a visually held last-frame composition at the source ending. | If the image changes unexpectedly, verify the selected input, filter placement, and output being reviewed. |
| Hold ends | The held composition remains through the output’s final video interval; record the actual output end time. | If the final image is not held, inspect the applied options and whether another operation follows tpad. |
| Duration | Compare measured output duration with source duration plus the requested 1.2-second tail. | If the difference matters to delivery, inspect timestamps and frame-rate or container reporting; do not infer an undocumented rounding rule. |
| Picture scope | No earlier section is unintentionally frozen; motion before the tail remains present. | If an earlier region is static, locate the point where the change begins and review the full filter chain. |
| Audio | Record whether audio ends at the source boundary, continues, or has an intentional edit. | Choose and apply an audio-specific treatment; do not infer it from the video hold. |
This comparison makes the deliverable auditable: it records the chosen last frame, the observed boundary, the measured ending, and whether the hold is confined to the tail.
Limits and next steps if it fails
tpad pads the video stream. The cited documentation defines the video-frame options, so decide the audio ending separately and review the final audiovisual ending together.
If the tail is a solid color, check whether stop_mode was omitted: add is the documented default. If the wrong image is held, confirm which frame is actually last in the input presented to the filter. If the freeze begins earlier than wanted, inspect upstream trimming or other filters that may have changed the video stream before padding. If the visual hold is right but the output duration does not meet a fixed-runtime brief, decide whether to shorten another section or revise the requested tail; do not silently treat the added duration as free.
The supplied documentation does not define a frame-count rounding rule for converting a requested duration into output frames, nor does it promise exact container-reported duration. Verify those values in the produced file when exact timing is a delivery requirement.
Three quick questions
Does `stop_duration` include the original last frame? It specifies the padding duration after the input video. For exact boundary accounting, inspect the output rather than assuming a particular frame-count convention.
Why is the ending black instead of frozen? The documented default is `stop_mode=add`, which creates solid-color padding. Set `stop_mode=clone` for copies of the last frame.
Will the audio hold for the same duration? Not as a consequence of these video options. Choose the audio ending separately and check the finished output.
Sources and next step
This guide interprets public documentation and uses explicitly hypothetical acceptance examples, not application tests. Controls and availability can change; verify the cited manual against your installed version.
For work created in Imagild, carry the input requirements and acceptance checklist into the film workspace. The external software controls discussed above belong to their respective products.