← Latest papers
💻 computer science

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

This paper introduces OmniScript, an efficient 8B-parameter omni-modal language model and a new human-annotated benchmark designed to tackle the novel video-to-script task by generating detailed, temporally grounded, hierarchical scripts for long-form cinematic videos.

Original authors: Junfu Pu, Yuxin Chen, Teng Wang, Ying Shan

Published 2026-04-15
📖 5 min read🧠 Deep dive

Original authors: Junfu Pu, Yuxin Chen, Teng Wang, Ying Shan

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you have a 2-hour movie. Now, imagine asking a computer to watch that entire movie and write a perfect, detailed screenplay for it, scene by scene, including exactly what the characters are doing, saying, feeling, and what the background music sounds like, all with precise timestamps.

That is the massive challenge this paper tackles. The authors introduce OmniScript, a new AI system designed to do exactly that.

Here is the breakdown of their work using simple analogies:

1. The Problem: The "Short-Attention Span" AI

Current AI models are like tourists on a bus. They can look out the window and say, "Oh, that's a mountain!" or "Look, a dog!" for a 30-second clip. But if you ask them to watch a whole movie and write a story about it, they get lost. They forget who the characters are, mix up the plot, or miss the subtle emotional shifts.

Writing a script from a video is hard because:

  • It's too long: A movie has thousands of moments.
  • It's complex: You need to track who is who, what they are saying, and how they feel, all while the camera moves and music changes.
  • It's expensive: Writing a script for a 2-minute clip takes a lot of computer power; doing it for a whole movie is currently impossible for most AIs.

2. The Solution: OmniScript (The "Super-Editor")

The team built OmniScript, an AI that acts like a super-intelligent film editor and screenwriter rolled into one.

  • It's "Omni-modal": Unlike other AIs that just "see" the video, OmniScript has ears too. It listens to the dialogue, the sound effects, and the music. It understands that a character's "angry" face combined with "shouting" and "drumming music" creates a specific mood.
  • It's Efficient: Even though it's very smart, it's surprisingly small (only 8 billion parameters). Think of it as a F1 race car: it's lightweight and fast, yet it beats the massive, heavy trucks (larger AI models) in the race.

3. How They Trained It: The "Memory Gym"

To teach OmniScript, the researchers had to solve three big problems:

A. The Data Problem (The "Blank Canvas")
There were no existing datasets where humans had written detailed scripts for full movies.

  • The Fix: They built a massive, high-quality dataset from scratch. They used a "human-in-the-loop" system where a powerful AI generated a draft, and human experts polished it, ensuring the character names and plot points were perfect.

B. The Memory Problem (The "Who's Who?")
In a long movie, a character might wear a different coat in Scene 100 than in Scene 1. A normal AI would think they are two different people.

  • The Fix: They gave OmniScript a "Character Profile Manager." Imagine a detective's corkboard with photos and notes. As the AI watches the movie, it updates this board: "Okay, that's still John, but now he's wearing a red hat and looks tired." This keeps the story consistent from start to finish.

C. The Training Method (The "Thinking Step")
Instead of just guessing the next word, the AI was taught to think first.

  • The Fix: They used a "Chain of Thought" approach. Before writing the script, the AI writes a mental summary: "Okay, this is the climax. The hero is angry because the villain lied. The music is tense." Only after this "thinking" phase does it write the actual script. This prevents the AI from getting confused.

4. The Evaluation: The "Strict Film Critic"

How do you grade a script? You can't just use a spellchecker.

  • The Fix: They created a new grading system that checks four things separately:

    1. Did it happen at the right time? (Timing)
    2. Was it the right character? (Identity)
    3. Did they say the right thing? (Dialogue)
    4. Did they do the right action? (Action)

    They even built a system to handle "open vocabulary." If the AI says "The guy in the blue suit" and the ground truth says "John Smith," the system knows they are the same person and gives credit, rather than marking it wrong.

5. The Results: Beating the Giants

When they tested OmniScript:

  • It beat the giants: It performed as well as (and sometimes better than) massive, expensive, closed-source models like Google's Gemini 3-Pro.
  • It handled long videos: While other AIs started to hallucinate and forget the plot after 20 minutes, OmniScript kept its cool.
  • The "Two-Stage" Trick: For very long movies (like 40+ minutes), they used a strategy called Two-Stage Script Generation.
    • Stage 1: A planner breaks the movie into chunks and outlines the plot.
    • Stage 2: OmniScript writes the detailed script for each chunk based on that outline.
    • Analogy: It's like writing a novel. You don't write the whole book in one breath; you write an outline, then write chapter by chapter, and finally stitch them together.

The Bottom Line

OmniScript is a breakthrough because it finally allows computers to understand long, complex stories visually and audibly, turning raw video footage into structured, readable scripts. It proves that you don't need a "giant" brain to understand a movie; you just need the right memory, the right listening skills, and a good plan.

This technology could revolutionize how movies are archived, searched, and even how new stories are created by helping human writers visualize their ideas.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →