[FFmpeg-devel] [PATCH] fftools/ffprobe: Remove endianness dependency of pix fmt when, bitexact
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Fri Mar 21 15:14:24 EET 2025
Zhao Zhili:
>
>
>> 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
I thought so, but rawvideo also sometimes swaps the endianness of its input.
> And evc.
Crazily, export_stream_params() in lavc/libxevd.c first sets the pix fmt
to the native AV_PIX_FMT_YUV420P10 and then overwrites it
unconditionally with a LE format.
- Andreas
More information about the ffmpeg-devel
mailing list