# Copyright 2026 The HuggingFace Team. All rights reserved. # Licensed under the Apache License, Version 2.0 """Qwen-style video preprocessing for LFM3-VL.""" from transformers.models.qwen3_vl.video_processing_qwen3_vl import Qwen3VLVideoProcessor class Lfm3VlVideoProcessor(Qwen3VLVideoProcessor): patch_size = 16 temporal_patch_size = 2 merge_size = 2 size = {"shortest_edge": 4_096, "longest_edge": 25_165_824} fps = 2.0 min_frames = 4 max_frames = 768 image_mean = [0.5, 0.5, 0.5] image_std = [0.5, 0.5, 0.5] __all__ = ["Lfm3VlVideoProcessor"]