[Multimodal] Add Qwen3-VL video loader (#44412)

Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
This commit is contained in:
Isotr0py
2026-06-16 03:45:34 +00:00
committed by GitHub
parent f99260d2aa
commit e3cfea2e1b
3 changed files with 100 additions and 3 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ def create_long_gop_video(
}
for i in range(num_frames):
img = np.zeros((height, width, 3), dtype=np.uint8)
img[:, :, 1] = i
img[:, :, 1] = i % 256
frame = av.VideoFrame.from_ndarray(img, format="rgb24")
for packet in stream.encode(frame):
container.mux(packet)