Skip to content

Plans for support for HDR videos or 10bit content. #585

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
shreshthsaini opened this issue Mar 20, 2025 · 3 comments
Closed

Plans for support for HDR videos or 10bit content. #585

shreshthsaini opened this issue Mar 20, 2025 · 3 comments

Comments

@shreshthsaini
Copy link

🚀 The feature

Does the current version handle 10/10+ bit depth videos such as HDR?

Motivation, pitch

No response

@NicolasHug
Copy link
Member

Hi @shreshthsaini , the short answer for input support is: as long as FFmpeg supports it, then TorchCodec should support it too. Feel free to try it and let us know if you encounter any issue?

@haixuanTao
Copy link

I agree with @shreshthsaini that there seems to be no abstraction around the image tensor type when i search on uint8:

Ex:

# :class:`~torchcodec.decoders.VideoDecoder`. Frames are always of
# ``torch.uint8`` dtype.

Making it not clear if you will support 10/10+ bit depth video :S

@NicolasHug
Copy link
Member

From #598 it looks like the answer to the original question is: yes for CPU, not yet for GPU. We'll try to fix this for GPU. Meanwhile, I'll close this issue and we can track the progress in #598

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants