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

"Could not set video options" when framerate > 30 #143

Open jfhr opened 3 years ago

jfhr commented 3 years ago

The following command:

ffmpeg -framerate 31  -f dshow -i video="screen-capture-recorder":audio="virtual-audio-capturer" ue.mkv

Produced this message:

[dshow @ 0000023d46b65240] Could not set video options
video=screen-capture-recorder:audio=virtual-audio-capturer: I/O error

Full output with -loglevel trace is attached but doesn't seem to provide any useful info. output-with-trace.txt

The same command works fine with -framerate 30, but anything above that doesn't work. The screen itself is running at 144 fps.

rdp commented 3 years ago

Screen capture recorder has a default maybe it can't go past that. I should probably allow it... Funding or PR welxome :)

On Wednesday, November 25, 2020, jfhr notifications@github.com wrote:

The following command:

ffmpeg -framerate 31 -f dshow -i video="screen-capture-recorder":audio="virtual-audio-capturer" ue.mkv

Produced this message:

[dshow @ 0000023d46b65240] Could not set video options video=screen-capture-recorder:audio=virtual-audio-capturer: I/O error

Full output with -loglevel trace is attached but doesn't seem to provide any useful info. output-with-trace.txt

The same command works fine with -framerate 30, but anything above that doesn't work. The screen itself is running at 144 fps.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.< https://ci3.googleusercontent.com/proxy/kYmeFlcN7dmVlnIZhBRXOPW9GelOiOOElRypb74MzqaD9_xziqUE83tYPiAX0Ui2Y8ndm6UQoTTBZitInSYRhjm5Rv-7jUCIS7cN2JR_wIG-fkSHdzdMzdgyGvWCLailczjbAxUg_BfeMsDhGU5XFtJsTmEYDky1J4DS6uE9TAMVP5Dc09T-Fzg8g0-oIHW3k80zMSp4wwnxIKqDmFqJcgpniHQ=s0-d-e1-ft#https://github.com/notifications/beacon/AAADBUBADDNCYIKVQQYEDLTSRVONNA5CNFSM4UC2TWNKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4LGETMKQ.gif>

jfhr commented 3 years ago

Looks like the default can be changed by setting the registry dword default_max_fps in HKEY_CURRENT_USER\SOFTWARE\screen-capture-recorder. 30 is just the default-default.