Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: RocketJet on January 08, 2021, 02:42:48 AM

Title: HUFYUV decode not working properly
Post by: RocketJet on January 08, 2021, 02:42:48 AM

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
Title: Re: HUFYUV decode not working properly
Post by: eumagga0x2a on January 08, 2021, 11:08:39 AM
Handling of BGRx pixel format should be fixed now by

[coreImage] Fix swapped red and blue colors when converting BGRx images (https://github.com/mean00/avidemux2/commit/1536d7b628c99bd08f7ed000c83570546e5bc0d3)

(the sample was BGR0, not YUV2).

Thank you very much for your report.