NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

OmniScript: Towards Audio-Visual Script Generation for Long-Form Cinematic Video

Junfu Pu, Yuxin Chen, Teng Wang, Ying ShanarXiv 2026

TL;DR

The paper introduces Video-to-Script (V2S), a novel task that requires multimodal models to translate long-form cinematic videos into detailed, scene-by-scene scripts. To tackle this, the authors present OmniScript, an efficient 8B-parameter audio-visual model that leverages a two-stage "planning-and-writing" strategy to bypass the long-context performance collapse, achieving results comparable to proprietary models like Gemini 3-Pro.

What Problem Does This Paper Address?

While Multimodal Large Language Models (MLLMs) have made massive strides in short-form video captioning and question-answering, long-form cinematic video understanding remains a major hurdle. Analyzing a movie or TV episode requires a model to track complex character relationships, narrative progression, subtle facial expressions, and audio cues (like background music or off-screen voiceovers) across multiple scenes.

Translating a full-length video into a structured script introduces three core challenges:

  1. Data Scarcity: Annotating long videos with fine-grained, scene-by-scene detail is incredibly labor-intensive.
  2. Evaluation Metrics: Traditional metrics like BLEU or ROUGE fail to capture the hierarchical dependencies and open-vocabulary nature of structured scripts.
  3. The Context Cliff: Autoregressive generation for long videos causes token counts to explode, leading to severe computational costs and a dramatic drop in generation quality as the video length increases.

The V2S framework aims to parse long-form videos into structured scripts containing scene metadata (location, time, mood) and timestamped events (actions, dialogues, expressions, audio cues), as illustrated below:

Overview of the Video-to-Script (V2S) framework

Methods

The authors developed OmniScript, an 8B-parameter omni-modal model built on top of Qwen3-VL-8B and a pretrained Whisper large-v3 audio encoder.

Architecture & Decoding

Instead of simply concatenating audio and visual tokens at the input layer, OmniScript introduces an AV-DeepStack module. This module enforces strict timestamp-level alignment between video and audio features, injecting them jointly across stacked transformer layers via residual multimodal adapters.

To maintain narrative consistency, OmniScript uses Reasoning-Guided Structured Decoding. Before generating the final script fields, the model outputs an intermediate Chain-of-Thought (CoT) reasoning trace consisting of a plot progression summary and a character-relationship state.

Training Pipeline

OmniScript is optimized through a progressive four-stage pipeline:

  1. Modality Alignment: Training only the audio projectors while freezing the vision-language backbone.
  2. Multimodal Pretraining: Full fine-tuning on a multi-task objective (ASR, summarization, dense captioning).
  3. Supervised Fine-Tuning (SFT): Training the model to generate the intermediate CoT reasoning trace before decoding the structured script.
  4. Reinforcement Learning (RL): Aligning the model using Group Relative Policy Optimization (GRPO) with a temporally segmented reward function that penalizes fine-grained errors at the event level.

Handling Long Videos

To scale past the 5-minute mark, the authors compare two strategies: Direct Long-Context Extension (OmniScript-LCE) and Two-Stage Script Generation (OmniScript-TSG). TSG decomposes the task into planning (predicting scene segments, plots, and characters via a plot-segmentation model) and writing (generating segment-level scripts with OmniScript before merging them).

Datasets

  • Training Set: A newly compiled dataset of 45k clips from 10k raw cinematic videos (including horizontal movies/TV and vertical short dramas). The data was annotated using a memory-augmented progressive pipeline powered by Gemini-2.5-Pro and DeepSeek.
  • V2S Benchmark: A meticulously curated evaluation benchmark consisting of 10 full-length cinematic works (19.9 hours total) across diverse genres. It features 1.4k distinct scenes and over 16.8k structural events, offering a multi-granularity test bed ranging from 5-minute to 30-minute clips.

Key Insights and Ideas

  • The "Context Cliff" is Real: For conventional architectures, there is a sharp negative correlation between video duration and generation quality. Around the 30-minute mark, models relying on standard global context assimilation experience a "volumetric collapse" in performance due to context dilution and accumulated long-range errors.
  • Divide and Conquer Beats Global Context: The two-stage strategy (OmniScript-TSG) completely flattens the degradation curve. By enforcing strict, localized constraints through segment-level conditioning, it insulates the model from global noise and catastrophic forgetting.
  • Subtitles are a Shortcut: The authors discovered that many non-omni models achieve high dialogue scores simply by "text-copying" visible subtitles. Masking subtitles during evaluation revealed a severe performance collapse in vision-only models, proving the necessity of true audio-visual integration.

Key Results

On 5-minute videos, the 8B OmniScript model achieves an Overall event-level score of 37.7 and a [email protected] of 69.3, significantly outperforming much larger open-source models (such as the 235B Qwen3VL) and rivaling proprietary models like Gemini-3-Pro.

As video length scales up to 40 minutes, OmniScript-TSG demonstrates unprecedented length-invariance, maintaining a massive, stable polygonal area on radar charts while proprietary models shrink due to performance degradation.

Performance comparison across video durations showing the length-invariance of OmniScript-TSG

Limitations and Future Work

Despite its success, the authors note that capturing scene attributes that require subtle visual-audio context integration—such as Scene Environment and Scene Mood—remains highly challenging for all evaluated models, including OmniScript. Future work will likely focus on improving fine-grained multimodal perception for these abstract, boundary-sensitive attributes.

Summary updated

BibTeX
@misc{pu2026omniscript,
  author = {Junfu Pu and Yuxin Chen and Teng Wang and Ying Shan},
  title = {{OmniScript: Towards Audio-Visual Script Generation for Long-Form Cinematic Video}},
  year = {2026},
  eprint = {2604.11102},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.11102},
}

Loading related content...

Figure