[FFmpeg-devel] [PATCH] fftools/ffprobe: Remove endianness dependency of pix fmt when, bitexact
Dawid Kozinski/Multimedia (PLT) /SRPOL/Staff Engineer/Samsung Electronics
d.kozinski at samsung.com
Mon Mar 24 19:24:35 EET 2025
> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> Andreas Rheinhardt
> Sent: piątek, 21 marca 2025 14:14
> To: ffmpeg-devel at ffmpeg.org
> Subject: Re: [FFmpeg-devel] [PATCH] fftools/ffprobe: Remove endianness
> dependency of pix fmt when, bitexact
>
> 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
I just submitted the patch set.
Dawid
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://protect2.fireeye.com/v1/url?k=5c57e274-03ccdb6b-5c56693b-
> 000babdfecba-ddf6524e97c99774&q=1&e=ca5c8742-3e8c-4fee-83b5-
> 401f14638939&u=https%3A%2F%2Fffmpeg.org%2Fmailman%2Flistinfo%2Fffmp
> eg-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