openh264 icon indicating copy to clipboard operation
openh264 copied to clipboard

Hash string of test cases

Open xiaotianshicomcast opened this issue 8 years ago • 3 comments

Re: #5246 failed I notice that the generated hash strings are different (in this case decoder with B-frame) from different build targets (Debug Win32, Debug x64, Release Win32, Release x64 ).

Is this because the pieces of messages (from which hash string is being built) from the decoder are different from different build targets?

I know that the decoded streams are the same from different build targets.

My question is that how I can make sure that it generates the unique hash string from the decoder with the same test case?

Thanks.

xiaotianshicomcast avatar Jul 06 '18 18:07 xiaotianshicomcast

I think I found the problem:

Somehow, some YUV values of decoded streams from different build targets have value difference 1. So I do need to figure it out why in the decoder.

xiaotianshicomcast avatar Jul 06 '18 19:07 xiaotianshicomcast

value difference 1

Try this Recommended 8-Bit YUV Formats for Video Rendering

Also be aware of Unicode conversion issues value difference 1

Challenges in BI Unicode conversion

nicholas-jordan avatar Jul 06 '18 19:07 nicholas-jordan

Thanks and I have resolved the issue. It is caused by uninitialized variables.

xiaotianshicomcast avatar Jul 09 '18 17:07 xiaotianshicomcast