[GH-ISSUE #231] Feature: whole video input support #89

Closed
opened 2026-10-29 21:20:38 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @kabachuha on GitHub (Oct 16, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/231

GLM is a multimodal model and it not only designed to see images, but to handle whole videos.

Currently, llama.cpp supports videos via video_url, and it should, in principle, be supported in this repository as well, judging by the GLM chat template. However, it doesn't work unlike vanilla llama.cpp and the model doesn't see anything from the video as multimodal tokens.

It would be very helpful for work with Minimax videos.

Thank you!

Originally created by @kabachuha on GitHub (Oct 16, 2026). Original GitHub issue: https://github.com/mw00/project-maya/issues/231 GLM is a multimodal model and it not only designed to see images, but to handle whole videos. Currently, llama.cpp supports videos via `video_url`, and it should, in principle, be supported in this repository as well, judging by the GLM chat template. However, it doesn't work unlike vanilla llama.cpp and the model doesn't see anything from the video as multimodal tokens. It would be very helpful for work with Minimax videos. Thank you!
Author
Owner

@kabachuha commented on GitHub (Oct 16, 2026):

Approx. Reference from llama.cpp: github.com/ggml-org/llama.cpp@23f7aabc16/tools/server/server-common.cpp (L1231)

<!-- gh-comment-id:6223815048 --> @kabachuha commented on GitHub (Oct 16, 2026): Approx. Reference from llama.cpp: https://github.com/ggml-org/llama.cpp/blob/23f7aabc16c72f6f707dba227251c35d7bd1ed96/tools/server/server-common.cpp#L1231
Author
Owner

@mw00 commented on GitHub (Oct 24, 2026):

Whole videos are in v1.1.27 (#248, @kabachuha): send a video like a picture and GLM reads its frames, 4 a second. It needs ffmpeg and ffprobe installed; videos longer than MAYA_VIDEO_MAX_FRAMES frames (240 by default) are refused with a message.

<!-- gh-comment-id:6388598707 --> @mw00 commented on GitHub (Oct 24, 2026): Whole videos are in v1.1.27 (#248, @kabachuha): send a video like a picture and GLM reads its frames, 4 a second. It needs ffmpeg and ffprobe installed; videos longer than `MAYA_VIDEO_MAX_FRAMES` frames (240 by default) are refused with a message.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mw00/project-maya#89
No description provided.