Skip to content

Change CPU decoder output frames to use ITU709 colour space #5245

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

Open
prabhat00155 opened this issue Jan 21, 2022 · 0 comments
Open

Change CPU decoder output frames to use ITU709 colour space #5245

prabhat00155 opened this issue Jan 21, 2022 · 0 comments
Assignees

Comments

@prabhat00155
Copy link
Contributor

GPU decoder outputs frame with ITU709 colour space, whereas CPU decoder uses the default colour space. We need to change the CPU decoder frames to use ITU709 colour space to match the GPU decoder output.
For verification, we could use pyav like this:

av_frames = torch.tensor(av_frame.to_rgb(src_colorspace="ITU709").to_ndarray())

and compare the CPU decoded frames against av_frames.

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

No branches or pull requests

2 participants