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

Converting EXR file to wide-gamut H.264 #762

Open
hybridherbst opened this issue Jun 25, 2024 · 0 comments
Open

Converting EXR file to wide-gamut H.264 #762

hybridherbst opened this issue Jun 25, 2024 · 0 comments

Comments

@hybridherbst
Copy link

Describe the bug
I'm trying to use ffmpeg.wasm to convert EXR files (floating point) to wide-gamut H.264 files such as used on https://www.wide-gamut.com/test.

An example input file: https://dl.polyhaven.org/file/ph-assets/HDRIs/exr/1k/lonely_road_afternoon_puresky_1k.exr
An example output file: https://www.wide-gamut.com/assets/video-hdr/P3-GREEN-HDR-1000nits.mp4

To Reproduce
Drop the above input file in https://ffmpegwasm.netlify.app/playground and try to convert it to mp4. This already fails with

[exr @ 0xdea640] decode_block() failed.
strange codes is not implemented. 

so I'm not getting to the point where I can actually try converting to a HDR video.

Expected behavior
Ability to convert EXR to single-frame wide-gamut video.

Desktop (please complete the following information):

  • OS: Mac OS
  • Browser Chrome

Additional context
Conversion to HDR AVIF would also be interesting but I'm not sure if that is supported in ffmpeg.wasm at all.

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

1 participant