rdp / screen-capture-recorder-to-video-windows-free

a free open source windows "screen capture" device and recorder (also allows VLC/ffmpeg and others to capture/stream desktop/audio)
https://github.com/rdp/screen-capture-recorder-to-video-windows-free/releases
Other
2.06k stars 456 forks source link

Error Message when Watching YouTube with Chrome #134

Open AntumDeluge opened 3 years ago

AntumDeluge commented 3 years ago

When Screen Capture Recorder is installed on my system, I get an error popup when watching YouTube videos in Chrome web browser. The message displays:

assert failed, please fix (or report): hScrDc != 0 PushSourceDesktop.cpp 65

assert_failed

For a long time I had no idea what was causing the issue. Doing a search for "PushSourceDesktop.cpp" brought me here to Screen Capture Recorder's GitHub repo. So I uninstalled Screen Capture Recorder & the problem disappeared. I was not capturing anything when the error message would appear. I would simply start a video on YouTube & the message would pop up. The message only appeared once per browser session. I don't know if other browsers were affected. I only tried it with Chrome.

System Information

Windows 10 64-bit Screen Capture Recorder v0.12.8 (32-bit) Screen Capture Recorder v0.12.10 (32-bit)

-- Edit --

I'm looking for the version 0.12.8 installer to test if the issue resumes after re-installing, but I can't find it.

I will also try with the newest version (currently 0.12.10).

-- Edit --

Okay, a couple things: I installed version 0.12.10 & the problem started again. So it is not fixed in the current version. Also, I looked at the changelog of version 0.12.10 & it was not updated past 0.12.8. So it is possible that I had 0.12.10 installed before since the changelog is what I used to determine which version was installed.

-- Edit --

This appears to be related to #39.

Jungtaehun94 commented 3 months ago

This is probably due to "hwnd_to_track" or "hwnd_to_track_with_window_decoration" in "HKEY_CURRENT_USER\SOFTWARE\screen-capture-recorder"

If the value's value is set but there's no window matching, like the window is closed or the process got killed, this message pops up. (I know that value's value sounds weird, but it seems like {ValueName: :Value} set itself is also called 'Value')

You can kinda solve this issue by deleting "hwnd_to_track" or "hwnd_to_track_with_window_decoration" (I don't mean setting into 0. I mean actually deleting it.)

But i have no idea what's triggering this application to check the validity of hwnd. And somehow, when i check the process that is sending this error messages, it's displayed as other processes (like Discord.exe)

rdp commented 1 month ago

interesting...

On Mon, Apr 1, 2024 at 8:39 AM SNGBGJHJSY @.***> wrote:

This is probably due to "hwnd_to_track" or "hwnd_to_track_with_window_decoration" in "HKEY_CURRENT_USER\SOFTWARE\screen-capture-recorder"

If the value's value is set but there's no window matching, like the window is closed or the process got killed, this message pops up. (I know that value's value sounds weird, but it seems like {ValueName: :Value} set itself is also called 'Value')

You can kinda solve this issue by deleting "hwnd_to_track" or "hwnd_to_track_with_window_decoration" (I don't mean setting into 0. I mean actually deleting it.)

But i have no idea what's triggering this application to check the window. And somehow, when i check the process sending this error messages, it's displayed as other processes (like Discord.exe)

— Reply to this email directly, view it on GitHub https://github.com/rdp/screen-capture-recorder-to-video-windows-free/issues/134#issuecomment-2029861730, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADBUGQV5MX4GDJZEWOALLY3FWTDAVCNFSM4PZMUXLKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBSHE4DMMJXGMYA . You are receiving this because you are subscribed to this thread.Message ID: <rdp/screen-capture-recorder-to-video-windows-free/issues/134/2029861730@ github.com>