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: [email protected] 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,

mathew77

Lovin' life.
Member
Joined
Jan 19, 2019
Messages
799
Trophies
0
Age
44
XP
1,742
Country
Kazakhstan
That's great, thanks!..

BTW how to run wifi streaming in Windows version of mpv.exe?..
It's just "Drop files or URLs to play here" string, but I cannot put
Code:
tcp://<my switch ip address>:6666 --no-correct-pts --fps=3

mpv-windows-error.PNG

Solved, thanks, one must create .bat file with mpv.exe tcp://%ip-address%:6666 --no-correct-pts --fps=30
 
Last edited by mathew77,

exelix11

Developer
OP
Developer
Joined
Feb 25, 2015
Messages
914
Trophies
1
Location
C:\users\exelix11\
XP
2,792
Country
Italy
That's great, thanks!..

BTW how to run wifi streaming in Windows version of mpv.exe?..
It's just "Drop files or URLs to play here" string, but I cannot put
Code:
tcp://<my switch ip address>:6666 --no-correct-pts --fps=3

View attachment 183546

Solved, thanks, one must create .bat file with mpv.exe tcp://%ip-address%:6666 --no-correct-pts --fps=30
It's actually specific to mpv, you have to run the .com file instead of the exe (which has the same effect of the bat file) if you type just mpv in the terminal windows will execute the right one directly.
 
  • Like
Reactions: mathew77

yyoossk

Well-Known Member
Member
Joined
Oct 18, 2017
Messages
176
Trophies
0
XP
1,830
Country
Japan
shiibittomappu-imeeji-bmp.183551


UsbStream video mpv C:/Programs/mpv/mpv audio mpv C:/Programs/mpv/mpv

shiibittomappu-imeeji-2-bmp.183552


8.1.0 ams0.9.4 sysnand
please help
 

Attachments

  • 新しいビットマップ イメージ.bmp
    46.2 KB · Views: 13,034
  • 新しいビットマップ イメージ (2).bmp
    370.2 KB · Views: 13,205
Last edited by yyoossk,
  • Like
Reactions: Julie_Pilgrim

DaniPoo

Well-Known Member
Member
Joined
Jan 2, 2013
Messages
807
Trophies
0
Age
33
XP
1,569
Country
Nice for people that wants to record their gameplay, the latency seems to be an issue for those who wish play the game on a different monitor via this though.
So this does not look like a dock replacement for Switch lite once it gets hacked. Perhaps this can be achived one day.

Anyway really nice!
 

exelix11

Developer
OP
Developer
Joined
Feb 25, 2015
Messages
914
Trophies
1
Location
C:\users\exelix11\
XP
2,792
Country
Italy
shiibittomappu-imeeji-bmp.183551


UsbStream video mpv C:/Programs/mpv/mpv audio mpv C:/Programs/mpv/mpv

shiibittomappu-imeeji-2-bmp.183552


8.1.0 ams0.9.4 sysnand
please help
Interesting, the device name is different for me:
upload_2019-10-21_12-54-8.png

Could you check if the "device path" matches ?
Do you have by any chance another sysmodule that uses the usb port like mtp-server-nx ?
 

Asia81

Yuri Lover ~
Member
Joined
Nov 15, 2014
Messages
6,252
Trophies
3
Age
27
XP
1,904
Country
France
I'm reading the readme, but I still don't understand how you use it. I want it to be recorded to a file so I don't use mpv, then I use the command
UsbStream video file audio file

But I get
Code:
UsbStream.exe video file audio file
UsbStream - 1.0 by exelix
https://github.com/exelix11/SysDVR

Unhandled exception. System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at UsbStream.Program.<>c__DisplayClass16_0.<Main>g__ParseTargetArgs|0(Int32 baseIndex, IOutTarget& t)
   at UsbStream.Program.Main(String[] args)
 
  • Like
Reactions: Julie_Pilgrim

exelix11

Developer
OP
Developer
Joined
Feb 25, 2015
Messages
914
Trophies
1
Location
C:\users\exelix11\
XP
2,792
Country
Italy
I'm reading the readme, but I still don't understand how you use it. I want it to be recorded to a file so I don't use mpv, then I use the command
UsbStream video file audio file

But I get
Code:
UsbStream.exe video file audio file
UsbStream - 1.0 by exelix
https://github.com/exelix11/SysDVR

Unhandled exception. System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at UsbStream.Program.<>c__DisplayClass16_0.<Main>g__ParseTargetArgs|0(Int32 baseIndex, IOutTarget& t)
   at UsbStream.Program.Main(String[] args)
Specify the file path for each stream after "file":
Code:
UsbStream video file video.264 audio file audio.raw
Make some tests before actually recording something to make sure you can convert to mp4 properly, didn't test this with long recordings.
You'll likely have to manually sync audio and video in an editor when converting.
 
  • Like
Reactions: Julie_Pilgrim

exelix11

Developer
OP
Developer
Joined
Feb 25, 2015
Messages
914
Trophies
1
Location
C:\users\exelix11\
XP
2,792
Country
Italy
So is captured audio and video in sync?
Not really as they're different stream, usually they sync when live streaming but if you're recording to a file you'll have to match them manually

can it be used with spoofed dock and overclock?
DIdn't test, i think it should work fine with other sysmodules as long as they don't use a lot of memory, sysftpd crashes for sure.
 
  • Like
Reactions: ganons
General chit-chat
Help Users
    FAST6191 @ FAST6191: Far worse things than a finger have been sliced off when you sleep (gotta do it some time and...