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

Windows 10 Chinese character GKB problem #177

Open SpaceView opened 10 months ago

SpaceView commented 10 months ago

when I use a command window to open this software, I got the following error:

$ ./generic_run_rb.bat record_with_buttons.rb
Loading... we set a splash for this purpose too...
C:/Programs/ScreenCapturerRecorder/configuration_setup_utility/vendor/sane-0.25.5/lib/sane/irb_startup_options.rb:4: warning: encountered \r in middle of line, treated as a mere space
C:/Programs/ScreenCapturerRecorder/configuration_setup_utility/jruby-swing-helpers/lib/simple_gui_creator/ffmpeg_helpers.rb:21: warning: `+' after local variable or literal is interpreted as binary operator
C:/Programs/ScreenCapturerRecorder/configuration_setup_utility/jruby-swing-helpers/lib/simple_gui_creator/ffmpeg_helpers.rb:21: warning: even though it seems like unary operator
starting version 0.13.3
ArgumentError: invalid byte sequence in GBK
                         split at org/jruby/RubyString.java:4383
  enumerate_directshow_devices at C:/Programs/ScreenCapturerRecorder/configuration_setup_utility/jruby-swing-helpers/lib/simple_gui_creator/ffmpeg_helpers.rb:17
             bootstrap_devices at record_with_buttons.rb:284
                        <main> at record_with_buttons.rb:355
... 5 levels...
morya commented 10 months ago

The built in version of ffmpeg, can't read correctly, and, ruby code can't decode GBK string correctly.

rdp commented 10 months ago

what's your output from ffmpeg -list_devices true -f dshow -i test ?

On Sat, Aug 19, 2023 at 1:42 AM SpaceVision @.***> wrote:

when I use a command window to open this software, I got the following error: $ ./generic_run_rb.bat record_with_buttons.rb Loading... we set a splash for this purpose too... C:/Programs/ScreenCapturerRecorder/configuration_setup_utility/vendor/sane-0.25.5/lib/sane/irb_startup_options.rb:4: warning: encountered \r in middle of line, treated as a mere space C:/Programs/ScreenCapturerRecorder/configuration_setup_utility/jruby-swing-helpers/lib/simple_gui_creator/ffmpeg_helpers.rb:21: warning: +' after local variable or literal is interpreted as binary operator C:/Programs/ScreenCapturerRecorder/configuration_setup_utility/jruby-swing-helpers/lib/simple_gui_creator/ffmpeg_helpers.rb:21: warning: even though it seems like unary operator starting version 0.13.3 ArgumentError: invalid byte sequence in GBK split at org/jruby/RubyString.java:4383 enumerate_directshow_devices at C:/Programs/ScreenCapturerRecorder/configuration_setup_utility/jruby-swing-helpers/lib/simple_gui_creator/ffmpeg_helpers.rb:17 bootstrap_devices at record_with_buttons.rb:284 at record_with_buttons.rb:355 ... 5 levels...

`

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