[FFmpeg-devel] [PATCH 1/2] swscale/swscale_internal: interpret RGB paletted pixel formats as RGB
Michael Niedermayer
michael at niedermayer.cc
Wed Oct 7 20:34:10 EEST 2020
On Wed, Oct 07, 2020 at 02:03:16AM +0300, Jan Ekström wrote:
> This makes isAnyRGB return true for AV_PIX_FMT_PAL8 which is currently
> the only pixel format with this flag.
>
> This lets us have a single query for formats where we need to force
> range as only full range content is supported.
> ---
> libswscale/swscale_internal.h | 2 +-
> tests/ref/fate/sws-pixdesc-query | 1 +
> 2 files changed, 2 insertions(+), 1 deletion(-)
This breaks:
./ffmpeg -i ~/tickets/3464/DEMO.HNM -vframes 5 out.avi
The output looks like the chroma plane is significantly shifted horizontally
file should be here:
https://trac.ffmpeg.org/raw-attachment/ticket/3464/DEMO.HNM
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20201007/f3f2c327/attachment.sig>
More information about the ffmpeg-devel
mailing list