Skip to content

[Feature] Allow controlling spacing of images when processing video in chats (currently 0.5s) #9962

Closed

Description

@DeverStyle

When processing video it looks like currently the video is broken down into screenshots at 0.5s intervals and the model sees these with timestamps (based on thinking output).

While this works pretty well, in certain conditions (like captioning video with timestamps) this will generate the wrong timestamps
"... [Shot 2] At 00:01.500, the shot cuts to a low-angle close-up ... "

It would be nice to be able to control the screenshot interval (defaulting to the current 0.5) for finer control

Activity

  1. added
    feature request
    on Aug 29, 2026
  2. MeghanBao commented on Aug 29, 2026

    @MeghanBao

    Hi I'd like to work on this

  3. danielhanchen commented on Oct 19, 2026

    @danielhanchen
    Member

    Fixed! Sorry on the delay. The model was only given a timestamp every 5 seconds of video, so it guessed the time of the frames in between and usually rounded to the nearest 5 second mark. Fixed in #14254: GGUF chat now labels every other sampled frame, and the labels follow the frame rate, so setting --video-fps 2 in the model's advanced llama-server arguments gives frames 0.5s apart with a timestamp every second.
    To update: Unsloth Desktop will have an update banner. For Studio, use unsloth studio update. For Docker, use docker exec <container> unsloth-studio-update. Reopen if it still happens.

  4. added a commit that references this issue on Oct 19, 2026
    f7ec00f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

feature request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions