Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Masa-Tam
Novice
381 Views

Image corruption in HEVC software decode plug-in

Jump to solution

The prerequisites are quite strict, but it can happen when the following conditions are met.

If you decode two HEVC videos of 3840x2160 Main 4:2:2 10bit Intra Profile from a single app in a multi-threaded manner at the same time, a band with Y = 0 / U = 0 / V = 0 may occur at the bottom of one of the videos.
The rate of occurrence varies depending on the environment and stream, and it is not a certainty, but even in the worst case, it occurs after 10,000 attempts.

Labels (1)
0 Kudos
1 Solution
Masa-Tam
Novice
266 Views

I am very sorry. It was a problem with my code.

It seems that the CPU was making the timeout time too tight, and if the decoding didn't complete within 1 second, it would stop and fetch the image.
This caused a green band at the bottom of the screen, depending on the CPU and start-up timing.
This phenomenon has been resolved by extending the timeout time considerably.

View solution in original post

4 Replies
JesusE_Intel
Moderator
348 Views

Hi Masa-Tam,


Thanks for reaching out, I understand the issue is not persistent. Could you please provide us as many details as you can about your environment to help us reproduce?


  • Software versions
  • OS Version
  • System details


Regards,

Jesus




Masa-Tam
Novice
325 Views

Software version: 2019 R1

OS: Windows 10 Pro x64

Afterwards, I conducted a follow-up test and found that the probability of breaking differs depending on the CPU.

on i7 4770 CPU:

Breakage often occurs in the first video. The breakage is always at the bottom of the screen, and since the data is filled with 00s, it will be displayed as a green band when converted to RGB.

on i7 6700K CPU:

Most of the time the corruption doesn't occur, but if it does, it occurs in the first video.
Likewise, the corruption is always at the bottom of the screen.

JesusE_Intel
Moderator
306 Views

Hi Masa-Tam,


Thank you for providing the additional information. Do you run into the same issue on the latest Intel MediaSDK 2020 R1 release? If the issue is still present please provide the steps, command, input file and sample code to reproduce.


Regards,

Jesus


Masa-Tam
Novice
267 Views

I am very sorry. It was a problem with my code.

It seems that the CPU was making the timeout time too tight, and if the decoding didn't complete within 1 second, it would stop and fetch the image.
This caused a green band at the bottom of the screen, depending on the CPU and start-up timing.
This phenomenon has been resolved by extending the timeout time considerably.

View solution in original post

Reply