Skip to content

Conversation

NicolasHug
Copy link
Contributor

No description provided.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 20, 2024
# :class:`~torchcodec.FrameBatch` objects respectively.
# :meth:`~torchcodec.decoders.VideoDecoder.get_frames_at` methods, which will
# return a :class:`~torchcodec.Frame` and :class:`~torchcodec.FrameBatch`
# objects respectively.
Copy link
Contributor Author

@NicolasHug NicolasHug Nov 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here and below I just replaced get_frames_in_range with get_frames_at, and did the same for the pts-based APIs. I think these APIs are more useful to users than the range-based ones, so it makes sense to showcase them in our example IMO.

@scotts scotts merged commit 339cb27 into meta-pytorch:main Nov 20, 2024
37 of 47 checks passed
NicolasHug added a commit to NicolasHug/torchcodec that referenced this pull request Nov 20, 2024
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.

3 participants