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 463 forks source link

Windows 10 Chinese character GKB problem #177

Open SpaceView opened 1 year ago

SpaceView commented 1 year 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 1 year ago

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

rdp commented 1 year 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>

f-origin commented 3 months ago

same problem, these are the output from newer-version ffmpeg.

C:\Program Files (x86)\Screen Capturer Recorder\configuration_setup_utility\vendor\ffmpeg\bin>ffmpeg -list_devices true -f dshow -i test
ffmpeg version 2023-06-15-git-41229ef705-essentials_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libvpl --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband
  libavutil      58. 13.100 / 58. 13.100
  libavcodec     60. 18.100 / 60. 18.100
  libavformat    60.  6.100 / 60.  6.100
  libavdevice    60.  2.100 / 60.  2.100
  libavfilter     9.  8.101 /  9.  8.101
  libswscale      7.  3.100 /  7.  3.100
  libswresample   4. 11.100 /  4. 11.100
  libpostproc    57.  2.100 / 57.  2.100
[dshow @ 000001c5e8592cc0] "Integrated Webcam" (video)
[dshow @ 000001c5e8592cc0]   Alternative name "@device_pnp_\\?\usb#vid_0c45&pid_6725&mi_00#6&294cf161&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global"
[dshow @ 000001c5e8592cc0] "screen-capture-recorder" (video)
[dshow @ 000001c5e8592cc0]   Alternative name "@device_sw_{860BB310-5D01-11D0-BD3B-00A0C911CE86}\{4EA69364-2C8A-4AE6-A561-56E4B5044439}"
[dshow @ 000001c5e8592cc0] "OBS Virtual Camera" (none)
[dshow @ 000001c5e8592cc0]   Alternative name "@device_sw_{860BB310-5D01-11D0-BD3B-00A0C911CE86}\{A3FCE0F5-3493-419F-958A-ABA1250EC20B}"
[dshow @ 000001c5e8592cc0] "麦克风阵列 (适用于数字麦克风的英特尔® 智音技术)" (audio)
[dshow @ 000001c5e8592cc0]   Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{A67AC95D-1964-4FE9-8A59-B659B1E47FA0}"
[dshow @ 000001c5e8592cc0] "virtual-audio-capturer" (audio)
[dshow @ 000001c5e8592cc0]   Alternative name "@device_sw_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\{8E146464-DB61-4309-AFA1-3578E927E935}"
[in#0 @ 000001c5e8592b00] Error opening input: Immediate exit requested