Skip to content

Add motion vector extraction support#1219

Open
bhack wants to merge 1 commit intometa-pytorch:mainfrom
bhack:prototype/motion-vectors
Open

Add motion vector extraction support#1219
bhack wants to merge 1 commit intometa-pytorch:mainfrom
bhack:prototype/motion-vectors

Conversation

@bhack
Copy link

@bhack bhack commented Feb 3, 2026

Adds API support for extracting FFmpeg motion vectors from decoded video frames in torchcodec (CPU-only) and exposes them as a new MotionVectorBatch return type.

Missing GPU support see: NVIDIA/DALI#5363.

FIXES: #1218

@pytorch-bot
Copy link

pytorch-bot bot commented Feb 3, 2026

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/meta-pytorch/torchcodec/1219

Note: Links to docs will display an error until the docs builds have been completed.

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Feb 3, 2026
@bhack bhack force-pushed the prototype/motion-vectors branch from 3cb27c0 to ee3ce1a Compare February 3, 2026 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add motion‑vector extraction API (MV‑only mode + frame types) for ML workflows

1 participant