On Sun, Apr 3, 2022 at 2:05 PM Christian F <[email protected]> wrote:

> Hello,
>
> According to the OpenEXR file specification
> (https://www.openexr.com/documentation/openexrfilelayout.pdf or
> https://openexr.readthedocs.io/en/latest/) it also supports 32 bit
> unsigned integer per pixel and an arbitrary amount of channels. I cannot
> find a 32 bit integer pixel format in ffmpeg and this
> (
> https://github.com/FFmpeg/FFmpeg/blob/5aabb2596f409e5871d11e99acdda214f11b400f/libavcodec/exrenc.c#L548
> )
> looks like ffmpeg wants 32 bit floats for openexr and even in rgba
> format (if I understand the specification correctly OpenEXR can have one
> channel per pixel too). Is it still possible to write one 32 bit integer
> channel to openexr using ffmpeg or is this not possible? And if it is
> not possible, can it please be added  so that it adheres fully to the
> specs of EXR?
>

You are deeply confused. 32bit unsigned integer is not needed.
Use floats always.


>
> _______________________________________________
> ffmpeg-user mailing list
> [email protected]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [email protected] with subject "unsubscribe".
>
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to