TL;DR
OmniCam is a unified framework for camera-controlled video generation that supports arbitrary combinations of input modalities: users can direct camera trajectories using natural language text or reference videos, and apply those trajectories to either a single image or an existing video. By introducing an intermediate discrete motion representation and a purpose-built dataset called OmniTr, OmniCam achieves precise, spatio-temporally consistent 6DoF camera control without getting tripped up by scene scale or dynamic foregrounds.
What Problem Does This Paper Address?
Controlling the camera trajectory in generated video is central to visual storytelling, yet existing approaches suffer from major usability and technical bottlenecks:
- Rigid, Monomodal Interaction: Most models demand raw numerical camera extrinsic matrices or low-level keyboard/mouse inputs. They lack natural language interfaces capable of understanding multi-stage, frame-level camera choreographies (e.g., "pan left for 2 seconds, then tilt up 30 degrees while zooming out").
- Scale Mismatch in Video-to-Video Trajectory Transfer: Transferring camera motion from one video to another often fails because identical metric camera movements feel drastically different across scenes of different scales (a 2-meter camera shift in a small room is massive, but barely noticeable in an expansive landscape).
- Tracking Failures in Dynamic Scenes: Traditional pose-estimation methods (like SfM or feature matching) confuse object motion with camera motion, especially in low-frame-rate videos or when a moving subject occupies most of the frame (e.g., a drone chasing a car).
- Data Scarcity: Existing datasets lack multi-stage, complex camera trajectories paired with fine-grained descriptive language and 6DoF annotations.
Methods
OmniCam tackles these issues using a two-stage pipeline: trajectory generation via discrete tokens, followed by 3D-aware video synthesis.
[Trajectory Reference: Text or Video]
│
▼
[LLM / VLM: Extracts Discrete Tokens] ──> <st, ed, speed, direction, rotate>
│
▼
[Trajectory Planning Algorithm] ──> 6DoF Camera Poses (ϕ, θ, r)
│
[Content Reference: Image or Video] ──> Point Cloud Estimation
│ │
└────────────────► [Render Views] ◄┘
│
▼
[DiT Diffusion Inpainting]
│
▼
[Consistent Final Video]
1. Discrete Motion Representation as a Universal Bridge
Rather than directly predicting continuous numerical poses, OmniCam parses trajectories into primitive quintuples:
$$\langle \text{starttime}, \text{endtime}, \text{speed}, \text{direction}, \text{rotate} \rangle$$
- From Text: A fine-tuned LLM (Llama with LoRA) converts descriptive language into sequences of these discrete tokens.
- From Video: A fine-tuned Vision-Language Model (Qwen2.5-VL) extracts the camera tokens directly from reference footage, avoiding the tracking errors of low-level geometric matching.
2. Trajectory Planning and Perceived Speed Adaptation
The discrete tokens are mapped into continuous 6DoF extrinsic matrices along a spherical coordinate system $(\phi, \theta, r)$ with rotational compensation. To resolve the scale issue, the authors classify scenes into three scale buckets (large, medium, small) and calibrate extrinsic shifts to human perceived velocity rather than raw absolute distance.
3. Point Cloud Rendering and Diffusion Completion
- Geometry Prior: For image inputs, a dense stereo model (DUSt3R-based) extracts a point cloud; for video inputs, dynamic point-cloud reconstruction is used.
- Rendering & Inpainting: The target trajectory renders intermediate frames with masked/unknown regions. A Diffusion Transformer (DiT) operating in latent space then inpaints these occluded areas, conditioned on the reference image’s CLIP embeddings and rendered guidance.
Datasets
The authors introduce OmniTr, a large-scale multimodal camera control dataset:
- Scale: 1,000 trajectory groups, 10,000 descriptions, and 30,000 video sequences across 10,000+ scenes derived from CO3D.
- Annotations: Each trajectory includes frame-level polar coordinates, discrete token representations, and 10 distinct language descriptions covering varied phrasings, speeds, and angular directions.
For training and baseline evaluation, OmniCam also utilizes RealEstate10K, CO3D, RealCam-Vid, MiraData, and a synthetic dataset created with RoboTwin.
Key Insights and Ideas
- Semantics Beat Feature Matching for Camera Extraction: Traditional geometric pose estimators (e.g., MonST3R) fail when a moving foreground subject dominates the frame. A fine-tuned VLM leverages visual semantics to distinguish subject movement from actual camera ego-motion.
- Discrete Tokens Prevent Scale Distortion: Abstracting motion into parameterized directions and subjective speeds ($\text{fast}/\text{slow}$) solves the scale sensitivity inherent in transfer tasks.
- Hybrid Geometry + Latent Diffusion: Point clouds provide strong 3D structural consistency, while the DiT effectively "hallucinates" unseen regions behind occlusions. Ablations confirm that using only geometry leaves gaping black holes, while relying entirely on diffusion without rendered 3D geometry causes spatial drift.
Key Results
OmniCam outperforms specialized camera-control and view-synthesis baselines on video quality and trajectory accuracy:
- Trajectory Consistency (vs. Baselines on Content Video/Image):
- Rotation Error (RotErr $\downarrow$): OmniCam achieves 1.15, beating CameraCtrl (6.42), MotionCtrl (8.08), and ReCamMaster (1.21).
- Translation Error (TransErr $\downarrow$): Drops to 2.63, compared to CameraCtrl (5.79), MotionCtrl (9.29), and ReCamMaster (4.75).
- Generation Quality:
- PSNR $\uparrow$: 22.11 dB (highest among tested methods).
- LPIPS $\downarrow$: 0.17 (compared to 0.26–0.43 for baselines).
- FID $\downarrow$: 34.31, substantially outperforming CameraCtrl (69.40) and ReCamMaster (57.10).
- Text vs. Video Trajectory Extraction: An LLM backbone achieved 74.36% fine-grained directional accuracy from text descriptions, while the VLM achieved 82.40% coarse directional accuracy from raw video input (massively outperforming MonST3R at 64.11%).
Limitations and Future Work
- Point-Cloud Density Dependency: Downsampling the initial point cloud by $1/8$ degrades PSNR from 22.11 to 9.42, showing high sensitivity to the initial depth/geometry quality.
- Not Yet Interactive/Real-Time: The multi-stage pipeline (extraction $\rightarrow$ trajectory planning $\rightarrow$ point-cloud rendering $\rightarrow$ DiT inpainting) is designed for generation fidelity rather than low-latency ($<100$ ms) interactive gaming workflows.
- Extrapolation in Complex Wild Scenes: Heavily cluttered environments or dynamic scenes with extreme occlusions still present hallucination challenges when the camera moves far beyond the reference viewpoint.
Summary updated