[FFmpeg-user] FFmpeg 32 bit unsigned integer

Paul B Mahol onemda at gmail.com
Tue Apr 12 12:27:50 EEST 2022

On Sun, Apr 3, 2022 at 2:05 PM Christian F <frchristian at gmx.de> 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
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list