Skip to content

Update auto-fill-labels loop video to extend end frame - #1082

Merged
TimMonko merged 1 commit into
napari:mainfrom
jni:improve-labels-close-video
Jul 25, 2026
Merged

Update auto-fill-labels loop video to extend end frame#1082
TimMonko merged 1 commit into
napari:mainfrom
jni:improve-labels-close-video

Conversation

@jni

@jni jni commented Jul 25, 2026

Copy link
Copy Markdown
Member

I noticed this when making the social media posts for 0.8.0: the label
fill happens only in the last couple of frames in the video, which on
many players/browsers means that you barely see the label closing flash
on the screen before the video restarts, which is quite jarring. This
updated video adds a pause by replicating the last frame for a couple of
seconds.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Jul 25, 2026
@TimMonko

Copy link
Copy Markdown
Member

Looks great! How did you do this?

@TimMonko
TimMonko merged commit b511bbf into napari:main Jul 25, 2026
11 checks passed
@jni

jni commented Jul 25, 2026

Copy link
Copy Markdown
Member Author

I asked Claude how to replicate the last frame for 3s in ffmpeg and it spit out this syntax, which worked:

ffmpeg -i auto-fill-labels.webm -vf "tpad=stop_mode=clone:stop_duration=3" auto-fill-labels-padded.webm

@jni
jni deleted the improve-labels-close-video branch July 25, 2026 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation hackathon:krakow-2026

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants