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

Zhao Zhili quinkblack at foxmail.com
Sun Mar 30 07:05:00 EEST 2025


> 在 2025年3月21日,下午8:51,Andreas Rheinhardt <andreas.rheinhardt at outlook.com> 写道:
> 
> 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?
> 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.

OK. Please apply to fix fate, thanks.

> 
> - 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