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.11k stars 464 forks source link

Can't load audio device #168

Closed shakiare closed 1 year ago

shakiare commented 1 year ago

When i launch "select audio devices" pane get an error and load only first input device in checkbox list

Error: "[\u2713:choose_audio_0] \"IN 1-2 (BEHRINGER UMC 404HD 192k) \"" button cancelled somehow!undefined method `delete' for nil:NilClass Select audio devices record_with_buttons_options_pan e.rb:236 swing_helpers.rb:258

Immagine

shakiare commented 1 year ago

After given a look at ruby code and make some mess in record_with_buttons.rb, now it works.

I have modified "if condition" at line 281, in a straight-ahead TRUE "def bootstrap_devices if(1)..." During first execution with if-mods on, i have selected some input sources and saved the configuration. Now i have restored if condition at line 281 "if(!video_device && !audio_devices_or_nil)..." and everything works well too.

rdp commented 1 year ago

Hmm it seems the config was in a weird state? Do you remember how you got here? Was there an aborted first run or something? Do you have steps to repro the issue? Did you manually uninstall virtual-audio-capturer or does it not show up in the audio list?

shakiare commented 1 year ago

Do you have steps to repro the issue? No, different tries but i couldn't reproduce the issue. I have tried to completely unistall screen capturer recorder and reinstall it, but no more issue

Did you manually uninstall virtual-audio-capturer or does it not show up in the audio list? i have installed virtual-audio-capturer after the issue. At first i thought that error was virtual-audio-capturer, so installed the virtual driver. But the issue was always there

It doesnt depend on installer/software bug: thereis something messed with my audio driver(s) configuration (2 different sound cards installed + some realtek audio control software)

rdp commented 1 year ago

OK if you nuke %HOMEPATH%/.sensible_cinema_storage folder can you repro? I might have found a small path that could have the issue, but for a normal install it should not have happened I don't think, I assume you ran into this issue immediately after install? Thanks!

On Thu, Jun 29, 2023 at 1:17 AM shakiare @.***> wrote:

-

Do you remember how you got here? Yes, i think it's my fault: i did a lot of mess with audio driver of an external sound card.

Was there an aborted first run or something? There wasn't any aborted run or quite similar error...

Do you have steps to repro the issue? No, different tries but i couldn't reproduce the issue. I have tried to completely unistall screen capturer recorder and reinstall it, but no more issue

Did you manually uninstall virtual-audio-capturer or does it not show up in the audio list? i have installed virtual-audio-capturer after the issue. At first i thought that error was virtual-audio-capturer, so installed the virtual driver. But the issue was always there

It doesnt depend on installer/software bug: thereis something messed with my audio driver(s) configuration (2 different sound cards installed + some realtek audio control software)

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

shakiare commented 1 year ago

Nuked. It still works correctly. I have tried to delete folder, unistall and put a fresh installation. It works. I cant reproduce the isssue

rdp commented 1 year ago

OK thanks for trying :)

On Thu, Aug 17, 2023 at 4:07 AM shakiare @.***> wrote:

Nuked. It still works correctly. I have tried to delete folder, unistall and put a fresh installation. It works. I cant reproduce the isssue

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