AV1 Motion Vector Fidelity and Application for Efficient Optical Flow
Julien Zouein, Vibhoothi Vibhoothi, Anil Kokaram
TL;DR
This work investigates using AV1-encoded motion vectors as a computationally efficient substitute for optical flow in computer vision tasks. It systematically evaluates MV fidelity against HEVC and ground-truth flow, and demonstrates how these vectors can serve as a warm-start to refine with a deep optical flow model (RAFT), achieving substantial speedups with minimal accuracy loss. The study highlights encoder preset effects on motion fidelity, showing that certain AV1 configurations offer competitive quality and high perceptual metrics like VMAF. Practically, reusing bitstream motion vectors can accelerate motion-aware applications such as frame interpolation and action recognition, enabling real-time or near-real-time pipelines when combined with RAFT refinement.
Abstract
This paper presents a comprehensive analysis of motion vectors extracted from AV1-encoded video streams and their application in accelerating optical flow estimation. We demonstrate that motion vectors from AV1 video codec can serve as a high-quality and computationally efficient substitute for traditional optical flow, a critical but often resource-intensive component in many computer vision pipelines. Our primary contributions are twofold. First, we provide a detailed comparison of motion vectors from both AV1 and HEVC against ground-truth optical flow, establishing their fidelity. In particular we show the impact of encoder settings on motion estimation fidelity and make recommendations about the optimal settings. Second, we show that using these extracted AV1 motion vectors as a "warm-start" for a state-of-the-art deep learning-based optical flow method, RAFT, significantly reduces the time to convergence while achieving comparable accuracy. Specifically, we observe a four-fold speedup in computation time with only a minor trade- off in end-point error. These findings underscore the potential of reusing motion vectors from compressed video as a practical and efficient method for a wide range of motion-aware computer vision applications.
