SysDVR - Stream gameplay directly to a pc

SysDVR
Stream/record gameplay to a PC via USB or network.
upload_2019-10-21_9-21-20.png

Update: Version 5.0 has been released with low latency streaming, be sure to check it out on github.

This is an experimental sysmodule that allows capturing the running game output on a pc.
As this uses switch's built-in game recording feature it has the same limitations: 720p@30fps and only works on the games that enable it, but by sending the video to another device there's no time limit to the recording.

There are two modes: USB and Network, both work fine but USB is slightly better, at least compared to wifi, didn't try with a LAN adapter.
Players like mpv or vlc can play the stream directly so you can use any screen recording applications but it's also possible to write the stream directly to a file.
To use the USB version you need the UsbStream program you'll find on the github page, it's built using .NET 5 and works on both windows and linux, haven't tried mac but in theory it should work too.

You can see it in action in the two teasers i posted while working on it:



As you can see it's not meant for remote play, but it can work as a basic capture card, audio output is uncompressed so it can be useful for ripping OSTs .

Download and wall of text guide on github: https://github.com/exelix11/SysDVR/
To get notified of updates you can follow this thread or join my new discord server (i also have a twitter account where occasionally post development updates).

Please make sure to read the full readme before reporting issues as it explains the most common problems you may encounter.
 
Last edited by exelix11,

shadowofdarkness

Well-Known Member
Member
Joined
Apr 17, 2007
Messages
536
Trophies
1
XP
2,253
Country
Canada
I don't understand how to use UsbStream on *nix. It says it is supported and there is a runtime for my operating system but I don't see an actual CLI binary.

Before this, I didn't even know dotnet core existed and was separate from mono.
Here are some tips I learned when getting it to work.

The dotnet core installable from the Ubuntu software center would not work. I forget the exact error when running this, I think it was a missing library but I could be wrong.

Downloading a tar of the binaries did work but I didn't like how unclean that was.

Finally I found that Microsoft has a proper repository for installing it with the distros package manager and this did work. It has support for a while selection of Linux distros
https://dotnet.microsoft.com/download/linux-package-manager/ubuntu19-04/runtime-current
 
  • Like
Reactions: exelix11

OkazakiTheOtaku

no thanks, I don't want a custom title
Member
Joined
Jul 20, 2016
Messages
1,461
Trophies
1
Location
127.0.0.1
XP
3,114
Country
Japan
Download and install .net core runtime according to your distro instructions. If your distro is not officially supported just download the binaries. extract somewhere and add to path.
Then just run dotnet UsbStream.dll
Excellent. It worked perfectly. Now I don't need to boot my Windows VM every time I want to use this. Are you interested in me writing up directions on how to get it working on macOS?
 

exelix11

Developer
OP
Developer
Joined
Feb 25, 2015
Messages
915
Trophies
1
Location
C:\users\exelix11\
XP
3,062
Country
Italy
  • Like
Reactions: OkazakiTheOtaku

kite21

Well-Known Member
Member
Joined
Oct 30, 2013
Messages
115
Trophies
1
Age
35
Location
Eureka, California
XP
1,469
Country
Mexico
Hi, I am having a problem with my audio. I am using Audacity to convert the raw file into an MP3 but when I place it along with the video on Sony Vegas the audio file is shorter despite including all the audio from the same video. So far I've been editing the files by speeding or slowing down the video in order to sync it with the audio. Is this normal or am I doing something wrong? For video conversion I've been using QWinFF a GUI for ffmpeg.
oW9oYCS.png
 

Craftyawesome

Well-Known Member
Member
Joined
Feb 3, 2018
Messages
173
Trophies
0
XP
915
Country
United States
Hi, I am having a problem with my audio. I am using Audacity to convert the raw file into an MP3 but when I place it along with the video on Sony Vegas the audio file is shorter despite including all the audio from the same video. So far I've been editing the files by speeding or slowing down the video in order to sync it with the audio. Is this normal or am I doing something wrong? For video conversion I've been using QWinFF a GUI for ffmpeg.
oW9oYCS.png
IIRC the video is actually 30 fps. Either encode it to 30 fps in ffmpeg instead of 25, or manually speed it up to 120%. (you will want to have the vegas project as 30 fps regardless)
 
  • Like
Reactions: kite21

OverkillLabs

Well-Known Member
Newcomer
Joined
Jan 26, 2019
Messages
45
Trophies
0
Age
34
XP
301
Country
Bulgaria
USB streaming runs extremely laggy in MPV for me especially in Pokemon Sword even though it's smooth on the Switch not to mention the latency is really bad, how do I fix that?
 

exelix11

Developer
OP
Developer
Joined
Feb 25, 2015
Messages
915
Trophies
1
Location
C:\users\exelix11\
XP
3,062
Country
Italy
USB streaming runs extremely laggy in MPV for me especially in Pokemon Sword even though it's smooth on the Switch not to mention the latency is really bad, how do I fix that?
Did you setup the driver correctly ? Usling libusbk instead of libusb has this effect. Also try opening home menu for a few seconds and then resuming to force it to resync. If none of this works it could be a low quality usb cable.
 

Ka_Ninja

Well-Known Member
Member
Joined
Apr 20, 2018
Messages
101
Trophies
0
Age
31
XP
370
Country
United States
Awaiting the day that ntr custom firmware comes over from the 3ds to the switch and stops using the native switch capture feature
 

Crimson Cuttlefish

Well-Known Member
Member
Joined
Aug 15, 2016
Messages
298
Trophies
0
Age
21
XP
1,149
Country
United States
When attempting to run the cmd command, I get the following error:
Code:
Unhandled exception. LibUsbDotNet.LibUsb.UsbException: Operation not supported or unimplemented on this platform
           at LibUsbDotNet.LibUsb.ErrorExtensions.ThrowOnError(Error error)
           at LibUsbDotNet.LibUsb.UsbDevice.Open()
           at UsbStream.Program.GetDevice(LogLevel level)
           at UsbStream.Program.Main(String[] args)
A: 00:00:00 / unknown
Also, worth mentioning that when I open zadig with the Switch installed, I get (NONE) as the option of installing rather than libusb. It does give me the option to replace "libusb-win32 (v1.2.6.0)" however, so I figure I already have it? I am very confused.

EDIT: I had to reinstall libusb, and that was it. I feel very stupid.
 
Last edited by Crimson Cuttlefish,

exelix11

Developer
OP
Developer
Joined
Feb 25, 2015
Messages
915
Trophies
1
Location
C:\users\exelix11\
XP
3,062
Country
Italy
When attempting to run the cmd command, I get the following error:
Code:
Unhandled exception. LibUsbDotNet.LibUsb.UsbException: Operation not supported or unimplemented on this platform
           at LibUsbDotNet.LibUsb.ErrorExtensions.ThrowOnError(Error error)
           at LibUsbDotNet.LibUsb.UsbDevice.Open()
           at UsbStream.Program.GetDevice(LogLevel level)
           at UsbStream.Program.Main(String[] args)
A: 00:00:00 / unknown
Also, worth mentioning that when I open zadig with the Switch installed, I get (NONE) as the option of installing rather than libusb. It does give me the option to replace "libusb-win32 (v1.2.6.0)" however, so I figure I already have it? I am very confused.
You did not install the driver, replace it as explained in the readme .
 

exelix11

Developer
OP
Developer
Joined
Feb 25, 2015
Messages
915
Trophies
1
Location
C:\users\exelix11\
XP
3,062
Country
Italy
Yeah, that worked. Thank you
On the topic, multiple "Can't write data to device" errors in both audio and video just means the game isn't compatible, right? Or is that user error?
Possibly, but there may be other causes such as bad usb wire or still driver problems, check with a long press of the capture button if the game supports recording
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Xdqwerty @ Xdqwerty: good night