Skip to content
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

how to extract frame from HDR video #49

Open
PedestrianZQZ opened this issue Jul 1, 2021 · 5 comments
Open

how to extract frame from HDR video #49

PedestrianZQZ opened this issue Jul 1, 2021 · 5 comments

Comments

@PedestrianZQZ
Copy link

hi, thanks for sharing your outstanding work!

now I'm going to train a model to perform reconstruction from SDR video to HDR video. I've got some HDR10+ video, could you please tell me how to extract frame from it losslessly? You mentioned that use every 10th frame in the video, I wonder how you made it?

@gabrieleilertsen
Copy link
Owner

Hi. I'm not sure I can help you on HDR10 specific questions, and it depends on which container is used for the HDR video. You would have to look into the codec specification. For the HDR videos we used in training, each frame was provided as a separate EXR image.

@PedestrianZQZ
Copy link
Author

Thanks for your reply! The format of video is unlimited, i have .mp4 now, but i think it is easy to transform into .mkv, which you have mentioned in other issue. I just want to know the whole route that you finally got separate EXR images.

@gabrieleilertsen
Copy link
Owner

I did not need to extract frames from a video, they were already provided as separate EXR images.

I have done some work on encoding and decoding HDR video:
https://github.com/gabrieleilertsen/lumahdrv

However, it was some time ago, so I don't think I'm very helpful. Also, you can most probably extract frames much easier than this.

@PedestrianZQZ
Copy link
Author

I see. thank you very much

@dash-myelin
Copy link

@PedestrianZQZ Did you figure out a way to do this?

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