February 27, 2021, 09:37:42 PM

News:

--


HUFYUV decode not working properly

Started by RocketJet, January 08, 2021, 02:42:48 AM

Previous topic - Next topic

RocketJet


The U and V channels seem to be swapped
People's faces are blue.
This happens when reading a HUFY file created with the
YUY2 and Predict Left options set.

I have tried a number of different builds,
the most recent being avidemux_2.7.7 r210104_win64
The problem seems to have been introduced in 2.7.5,
as avidemux_2.7.5 r200626_win64 works fine,
but Avidemux_2.7.5 VC++ 64bits  has the problem.

Here is a sample input file:
https://www.mediafire.com/file/jnoym6j9f988ouj/HUFY-SAMPLE-1__YUY2_PredictLeft.avi/file

RJ

eumagga0x2a

Handling of BGRx pixel format should be fixed now by

[coreImage] Fix swapped red and blue colors when converting BGRx images

(the sample was BGR0, not YUV2).

Thank you very much for your report.