Papers › Video Depth Anything: Consistent Depth Estimation for Super-Long Videos

Video Depth Anything: Consistent Depth Estimation for Super-Long Videos

21 Jan 2025CVPR 2025 1arXiv:2501.12375archive 2025-07-28

Sili Chen, Hengkai Guo, Shengnan Zhu, Feihu Zhang, Zilong Huang, Jiashi Feng, Bingyi Kang

Depth Anything has achieved remarkable success in monocular depth estimation with strong generalization ability. However, it suffers from temporal inconsistency in videos, hindering its practical applications. Various methods have been proposed to alleviate this issue by leveraging video generation models or introducing priors from optical flow and camera poses. Nonetheless, these methods are only applicable to short videos (< 10 seconds) and require a trade-off between quality and computational efficiency. We propose Video Depth Anything for high-quality, consistent depth estimation in super-long videos (over several minutes) without sacrificing efficiency. We base our model on Depth Anything V2 and replace its head with an efficient spatial-temporal head. We design a straightforward yet effective temporal consistency loss by constraining the temporal depth gradient, eliminating the need for additional geometric priors. The model is trained on a joint dataset of video depth and unlabeled images, similar to Depth Anything V2. Moreover, a novel key-frame-based strategy is developed for long video inference. Experiments show that our model can be applied to arbitrarily long videos without compromising quality, consistency, or generalization ability. Comprehensive evaluations on multiple video benchmarks demonstrate that our approach sets a new state-of-the-art in zero-shot video depth estimation. We offer models of different scales to support a range of scenarios, with our smallest model capable of real-time performance at 30 FPS.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2501.12375")

Code

Syntology Ran 6 of 10 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 2 ran · our draft was wrong; 2 ran · fixture could not drive it.

By repository: community (archive-listed): 10 samples from 1 repository, 6 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

DepthAnything/Video-Depth-Anything mentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 6 ran; 1 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · violated contract
2ran · our draft was wrong
2ran · fixture could not drive it
4unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from DepthAnything/Video-Depth-Anything. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

drop_path DepthAnything/Video-Depth-Anything/video_depth_anything/dinov2_layers/drop_path.py community (archive-listed) ran · fixture could not drive it Apache-2.0 (permissive) · c157f5b112b3a392 · report
make_2tuple DepthAnything/Video-Depth-Anything/video_depth_anything/dinov2_layers/patch_embed.py community (archive-listed) ran · honoured contract fingerprinted Apache-2.0 (permissive) · 3c04490a215299f2 · report
named_apply DepthAnything/Video-Depth-Anything/video_depth_anything/dinov2.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · e7fcb6d9ac9deaf4 · report
precompute_freqs_cis DepthAnything/Video-Depth-Anything/video_depth_anything/motion_module/attention.py community (archive-listed) ran · violated contract Apache-2.0 (permissive) · e93cc5b705c2eb3b · report
reshape_for_broadcast DepthAnything/Video-Depth-Anything/video_depth_anything/motion_module/attention.py community (archive-listed) ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · 70bf6ebaafd266c4 · report
zero_module DepthAnything/Video-Depth-Anything/video_depth_anything/motion_module/motion_module.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · 4719c763c53be3fe · report
add_residual DepthAnything/Video-Depth-Anything/video_depth_anything/dinov2_layers/block.py community (archive-listed) unverified Apache-2.0 (permissive) · 5d16d4d4fc573ac7 · report
apply_rotary_emb DepthAnything/Video-Depth-Anything/video_depth_anything/motion_module/attention.py community (archive-listed) unverified Apache-2.0 (permissive) · 307785ce73cb99aa · report
drop_add_residual_stochastic_depth DepthAnything/Video-Depth-Anything/video_depth_anything/dinov2_layers/block.py community (archive-listed) unverified Apache-2.0 (permissive) · 85f7ffc01945bb72 · report
get_branges_scales DepthAnything/Video-Depth-Anything/video_depth_anything/dinov2_layers/block.py community (archive-listed) unverified Apache-2.0 (permissive) · 5be3610fa1fee19e · report

Tasks

Computational EfficiencyDepth EstimationMonocular Depth EstimationOptical Flow EstimationVideo Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

BASE

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections