Moehammered / switch-remote-play

Let the switch remotely play PC games (similar to steam link or remote play)
GNU General Public License v3.0
301 stars 14 forks source link

Capture area extends outside window area desktop: I/O error #30

Closed MrMDMajor closed 3 years ago

MrMDMajor commented 3 years ago

There seems to be a bug where the program is reading the framerate, video capture size, and stream scale size from the wrong values. This is what the console shows when the config is set to 30 FPS, desktop resolution: 1280x720, and switch resolution: 1280x720.

Expected size of command payload: 72 bytes Reading command... Start stream with last received config from switch... FFMPEG Configuration: Vsync Mode: 2 (variable frame rate) Target Framerate: 720 fps Video Capture Size(x,y): 60, 1280 Stream Scale Size(x,y): 720, 1280 Preset: ultrafast CRF: 0

Which gives an error: Capture area (0,0),(60,1280) extends outside window area (0,0),(3840,1080)desktop: I/O error

MrMDMajor commented 3 years ago

Nevermind I'm dumb and I somehow ended up with the updated PC program, but not the updated Switch side.