Skip to content

What timestamp should I quote when a player and my editor disagree about the first returned face-swap frame?

State whether the time is measured from the first decoded picture or from the container start. Resetting presentation timestamps in a review copy establishes a zero-based picture clock without inventing any new frames.

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

Read the first displayed timestamp with showinfo before and after the reset. Mark a distinctive body movement and report its frame number along with seconds on that same zero-based clock.

shell
ffmpeg -i duo-result-silent.mp4 -filter_complex "[0:v:0]setpts=PTS-STARTPTS,showinfo[proof]" -map "[proof]" -fps_mode passthrough -c:v ffv1 inspection.mkv

Read the result

The public generated file has a nonzero container start. Small discrepancies at the opening can be clock interpretation. A larger discrepancy that grows across the shot points to another timing problem.

With the returned living-room dance, the local FFmpeg run decoded 158 video frames at 864 × 480 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

Use the original file when conforming audio or returning to an existing edit. Replacing the master with a zero-based copy without noting the offset can move sync references.

Sources

Review the result in context.

Compare the recorded example and its documented limitations.

See the recorded example