Skip to content

Add TorchScript uniform video decode operator (#1612) - #1612

Open
psaikaushik wants to merge 1 commit into
meta-pytorch:mainfrom
psaikaushik:export-D115231531
Open

Add TorchScript uniform video decode operator (#1612)#1612
psaikaushik wants to merge 1 commit into
meta-pytorch:mainfrom
psaikaushik:export-D115231531

Conversation

@psaikaushik

@psaikaushik psaikaushik commented Aug 7, 2026

Copy link
Copy Markdown

Summary:

Add a registered C++ operator that uniformly samples an encoded video from memory with TorchCodec. It returns decoded NCHW frames, sampling metadata, and an explicit validity status for serialized TorchScript callers.

Decode failures produce an invalid result so callers can handle corrupt inputs without propagating native exceptions.

Differential Revision: D115231531

@pytorch-bot

pytorch-bot Bot commented Aug 7, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

✅ No Failures

As of commit d0fae00 with merge base 1f36e84 (image):
💚 Looks good so far! There are no failures yet. 💚

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 Aug 7, 2026
@meta-codesync

meta-codesync Bot commented Aug 7, 2026

Copy link
Copy Markdown

@psaikaushik has exported this pull request. If you are a Meta employee, you can view the originating Diff in D115231531.

@meta-codesync meta-codesync Bot changed the title Add TorchScript uniform video decode operator Add TorchScript uniform video decode operator (#1612) Aug 7, 2026
psaikaushik pushed a commit to psaikaushik/torchcodec that referenced this pull request Aug 7, 2026
Summary:

Add a registered C++ operator that uniformly samples an encoded video from memory with TorchCodec. It returns decoded NCHW frames, sampling metadata, and an explicit validity status for serialized TorchScript callers.

Decode failures produce an invalid result so callers can handle corrupt inputs without propagating native exceptions.

Differential Revision: D115231531
psaikaushik pushed a commit to psaikaushik/torchcodec that referenced this pull request Aug 7, 2026
Summary:

Add a registered C++ operator that uniformly samples an encoded video from memory with TorchCodec. It returns decoded NCHW frames, sampling metadata, and an explicit validity status for serialized TorchScript callers.

Decode failures produce an invalid result so callers can handle corrupt inputs without propagating native exceptions.

Differential Revision: D115231531
psaikaushik pushed a commit to psaikaushik/torchcodec that referenced this pull request Aug 7, 2026
Summary:

Add a registered C++ operator that uniformly samples an encoded video from memory with TorchCodec. It returns decoded NCHW frames, sampling metadata, and an explicit validity status for serialized TorchScript callers.

Decode failures produce an invalid result so callers can handle corrupt inputs without propagating native exceptions.

Differential Revision: D115231531
psaikaushik pushed a commit to psaikaushik/torchcodec that referenced this pull request Aug 7, 2026
Summary:

Add a registered C++ operator that uniformly samples an encoded video from memory with TorchCodec. It returns decoded NCHW frames, sampling metadata, and an explicit validity status for serialized TorchScript callers.

Decode failures produce an invalid result so callers can handle corrupt inputs without propagating native exceptions.

Differential Revision: D115231531
psaikaushik pushed a commit to psaikaushik/torchcodec that referenced this pull request Aug 7, 2026
Summary:

Add a registered C++ operator that uniformly samples an encoded video from memory with TorchCodec. It returns decoded NCHW frames, sampling metadata, and an explicit validity status for serialized TorchScript callers.

Decode failures produce an invalid result so callers can handle corrupt inputs without propagating native exceptions.

Differential Revision: D115231531
Summary:

Add a registered C++ operator that uniformly samples an encoded video from memory with TorchCodec. It returns decoded NCHW frames, sampling metadata, and an explicit validity status for serialized TorchScript callers.

Decode failures produce an invalid result so callers can handle corrupt inputs without propagating native exceptions.

Differential Revision: D115231531
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. meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant