ScreenRecorderLib icon indicating copy to clipboard operation
ScreenRecorderLib copied to clipboard

Recording colors are getting reverted

Open ranwer-dev opened this issue 2 years ago • 4 comments

I have tried the recorder on a Windows 10 22H2 PC. Interestingly the colors of recording are reverted to redish tone.

https://user-images.githubusercontent.com/92986100/218127022-3e63ca62-b125-4e9c-944d-8879e3fb5e1e.mp4

ranwer-dev avatar Feb 10 '23 15:02 ranwer-dev

On another PC, it's all green. Any idea what could be causing this? image

ranwer-dev avatar Mar 28 '23 09:03 ranwer-dev

can you suggest what could be the issue?

ranwer-dev avatar May 09 '23 15:05 ranwer-dev

The green color is what happens when you send empty data to H264 encoder. E.g a pixel with colors [0,0,0] becomes green. So it means something goes wrong somewhere and it sends empty junk data. The pink and green issue i don't know, but it's probably because there's a mismatch between the format the encoder receices, and what it expects. I've seen it before on HDR content without playback support.

sskodje avatar May 09 '23 17:05 sskodje

So it means something goes wrong somewhere and it sends empty junk data.

What could be wrong? Any hints on how to debug that?

ranwer-dev avatar May 25 '23 09:05 ranwer-dev