[FFmpeg-devel] [PATCH] fftools/ffprobe: Remove endianness dependency of pix fmt when, bitexact

Zhao Zhili quinkblack at foxmail.com
Fri Mar 21 15:09:24 EET 2025



> On Mar 21, 2025, at 20:51, Andreas Rheinhardt <andreas.rheinhardt at outlook.com> wrote:
> 
> Zhao Zhili:
>> On Mar 21, 2025, at 19:23, Andreas Rheinhardt <andreas.rheinhardt at outlook.com> wrote:
>>> 
>>> Patch attached.
>> 
>> Sometimes the bitstream has builtin endian, not native endian, in which case it shouldn’t be ignored.
>> 
> 
> Do you have a list of all decoders for which this is true?

rawvideo of course :P
And evc.

> Anyway, the documentation of the bitexact flag says that the output
> shall not be dependent on the specific build, which is currently not
> guaranteed. If we can't distinguish the cases in which a decoder output
> in the codec's "native" endianness from the cases in which it just
> outputs in the system's endianness (and I don't see how we would
> distinguish these cases), then we need to fix up both to ensure that the
> output really does not depend on the specific system.
> Should there be a need in the future, we could add an option to be
> bitexact, but not normalize the pixel formats.
> 
> - Andreas
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-devel mailing list