Manuscript Offprint

arXiv:2611.06455

CoDecide: Content-Adaptive Video Decoding for High-Throughput Video Analytics

Shristy Shah, Thomas B. Moeslund, Kamal Nasrollahi

© 2027 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.

CoDecide: Content-Adaptive Video Decoding for High-Throughput Video Analytics

Shristy Shah

Aalborg University, Denmark

Milestone Systems, Denmark

ssha@create.aau.dk

Thomas B. Moeslund

Aalborg University, Denmark

tbm@create.aau.dk

Kamal Nasrollahi

Aalborg University, Denmark

Milestone Systems, Denmark

kn@create.aau.dk

Abstract

Analytics on video archives are bottlenecked by decoding. In a dense pipeline that runs a detector on every frame, decoding is a small fraction of the runtime, but once the detector is restricted to selected frames, decoding takes over as the main cost. We introduce CoDecide, a retrospective analytics system that only decodes the frames where new content appears, using signals from the compressed bitstream to find them. Motion tells us something is moving, but not whether it is new to the scene or has been there the whole time. To make that distinction, we supervise a lightweight compressed-domain student on a label-free novelty signal from a frozen DINov2 teacher, which fires on semantically new regions rather than on any motion. Consequently, the student model generalizes to new camera deployments without requiring per-camera retraining. At inference, it decides which frames to decode and which regions to reconstruct. Detections from the decoded frames are propagated to the skipped frames using motion vectors. We evaluate CoDecide with a leave-one-dataset-out protocol on VIRAT, MEVA, and ShanghaiTech. Against a dense per-frame detector, CoDecide recovers more moving-object detections than prior compressed-domain selectors at an equivalent decoding budget, outperforming even a competitor trained directly on the target camera. CoDecide runs 15 to 24× faster than a pipeline that decodes and detects every frame. Code is available at github.com/shristy51/CoDecide.

References (36)

  • Deep ViT Features as Dense Visual Descriptors (opens arXiv in a new tab)
  • Physical Representation-Based Predictive Optimization for a Visual Analytics Database
  • Delving Deeper into Convolutional Networks for Learning Video Representations (opens arXiv in a new tab)
  • Overview of the Versatile Video Coding (VVC) Standard and its Applications
  • Emerging Properties in Self-Supervised Vision Transformers
  • MEVA: A Large-Scale Multiview, Multimodal Video Dataset for Activity Detection
  • Masked Autoencoders Are Scalable Vision Learners
  • Focus: Querying Large Video Datasets with Low Latency and Low Cost
  • CoVA: Exploiting Compressed-Domain Analysis to Accelerate Video Analytics
  • Image-to-Image Translation with Conditional Adversarial Networks
  • Fast Object Detection in H264/AVC and HEVC Compressed Domains for Video Surveillance
  • Ultralytics YOLO11
  • EVA: An End-to-End Exploratory Video Analytics System
  • NoScope: Optimizing Neural Network Queries over Video at Scale
  • BlazeIt: Optimizing Declarative Aggregation and Limit Queries for Neural Network-Based Video Analytics
  • An Approach to Trajectory Estimation of Moving Objects in the H. 264 Compressed Domain
  • YOLOv11: An Overview of the Key Architectural Enhancements
  • SCSampler: Sampling Salient Clips from Video for Efficient Action Recognition
  • OCSampler: Compressing Videos to One Clip with Single-step Sampling
  • Future Frame Prediction for Anomaly Detection – A New Baseline
  • Accelerating Machine Learning Inference with Probabilistic Predicates
  • DINOv2: Learning Robust Visual Features without Supervision
  • Moving object detection in the H.264/AVC compressed domain for video surveillance applications
  • Optimizing Video Analytics with Declarative Model Relationships
  • DMC-Net: Generating Discriminative Motion Cues for Fast Compressed Video Action Recognition
  • Overview of the High Efficiency Video Coding (HEVC) Standard
  • Fast Compressed Domain Motion Detection in H.264 Video Streams for Video Surveillance Applications
  • Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results
  • Decode-What-Matters: Frame-Level Parallel Generative Decoding to Accelerate Large-Scale Video Analytics
  • Overview of the H.264/AVC Video Coding Standard
  • Compressed Video Action Recognition
  • CompViT: Real-Time Compressed Video Action Recognition with Asymmetric Transformer Networks
  • AdaFrame: Adaptive frame selection for fast video recognition
  • Predictive and Near-Optimal Sampling for View Materialization in Video Databases
  • Motion Vector Based Moving Object Detection and Tracking in the MPEG Compressed Domain
  • PacketGame: Multi-stream Packet Gating for Concurrent Video Inference at Scale