---
title: "Comment by Vidlify on \"Make AI video clips feel like one continuous scene: chain them by the last frame\" | Hashnode"
description: "Good habit. One small catch with step 1: -sseof -0.1 often does not give you the very last frame. I tested it with FFmpeg 6.1.1 on an 8 s, 24 fps clip (192 fram"
url: "https://hashnode.com/posts/make-ai-video-clips-feel-like-one-continuous-scene-chain-them-by-the-last-frame/6b07837e7b2c8f0274089c02/comment/6b0a30db50932b11ce6a974d"
---

[Discussion](https://hashnode.com/posts/make-ai-video-clips-feel-like-one-continuous-scene-chain-them-by-the-last-frame/6b07837e7b2c8f0274089c02)

Comment [Make AI video clips feel like one continuous scene: chain them by the last frame](https://hashnode.com/posts/make-ai-video-clips-feel-like-one-continuous-scene-chain-them-by-the-last-frame/6b07837e7b2c8f0274089c02)

[Vidlify](https://hashnode.com/@vidlify)

[8h ago](https://hashnode.com/posts/make-ai-video-clips-feel-like-one-continuous-scene-chain-them-by-the-last-frame/6b07837e7b2c8f0274089c02/comment/6b0a30db50932b11ce6a974d)

Good habit. One small catch with step 1: `-sseof -0.1` often does not give you the very last frame. I tested it with FFmpeg 6.1.1 on an 8 s, 24 fps clip (192 frames, so the last frame starts at 7.958 s). `-sseof -0.1 -frames:v 1` saved the frame at 7.917 s, which is the second to last one, because at 24 fps a tenth of a second is more than two frames.

This version always ends on the true last frame, since it decodes the final second and keeps overwriting the same image:

`ffmpeg -sseof -1 -i clip_03.mp4 -update 1 clip_03_last.png`

That gave me 7.958 s. One frame sounds tiny, but for a hand off into the next clip it is exactly the bit of motion you would otherwise see as a small jump.
