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,

HarvinMalig

Member
Newcomer
Joined
Jul 12, 2019
Messages
9
Trophies
0
Age
34
XP
88
Country
Philippines
trying to use network stream
mpv wont run. the mpv com file autoclose upon opening, now if i put an drag an argument on it (bat file) still autoclose even the exe one

this are the bat file argument i used - mpv.exe tcp://%192.168.100.17%:6666 --no-correct-pts --fps=30
i even tried the default one on the readme same result
 

JonJaded

Well-Known Member
Member
Joined
May 22, 2016
Messages
675
Trophies
0
XP
2,930
Country
United States
trying to use network stream
mpv wont run. the mpv com file autoclose upon opening, now if i put an drag an argument on it (bat file) still autoclose even the exe one

this are the bat file argument i used - mpv.exe tcp://%192.168.100.17%:6666 --no-correct-pts --fps=30
i even tried the default one on the readme same result

Read the readme again.

It says not to use the executable but the com file instead.
 

HarvinMalig

Member
Newcomer
Joined
Jul 12, 2019
Messages
9
Trophies
0
Age
34
XP
88
Country
Philippines
Read the readme again.

It says not to use the executable but the com file instead.
im not trying to be rude, but did you read my comment? i said mpv wont run. the mpv com file autoclose upon opening

--------------------- MERGED ---------------------------

should be without %

mpv tcp://192.168.100.17:6666 --no-correct-pts --fps=30
tried that also, ive tried this too mpv.exe tcp://192.168.100.17:6666 --no-correct-pts --fps=30

--------------------- MERGED ---------------------------

im trying to use the networking one not the usb (i dont have usb c atm)

my main problem is
mpv com auto close instantly when double clicking, also dragging a bat file in mpv com does the same
mpv exe does run upon double click, but if you drag a bat file to it, it just close nothing will run

tried all this arguments
"mpv tcp://<192.168.100.17>:6666 --no-correct-pts --fps=30
mpv tcp://192.168.100.17:6666 --no-correct-pts --fps=30
mpv.exe tcp://192.168.100.17:6666 --no-correct-pts --fps=30
mpv.exe tcp://<192.168.100.17>:6666 --no-correct-pts --fps=30
mpv.exe tcp://%192.168.100.17%:6666 --no-correct-pts --fps=30"

also testing it while zelda botw is active, pressing buttons too while opening mpv

--------------------- MERGED ---------------------------

Is there a guide to getting your switch's ip? Or setting it up?
if you are connected in the internet - go to switch settings then hower to internet tab in left side you can see your switch IP
 

exelix11

Developer
OP
Developer
Joined
Feb 25, 2015
Messages
915
Trophies
1
Location
C:\users\exelix11\
XP
3,062
Country
Italy
What if I want to charge or use an adapter while it being captured on PC? Please reply, I really wanna know
I think you could try a powered usb hub, as in it connects both to a power outlet and your pc, likely it won't charge at the same speed of the official charger but should work.

Is there a guide to getting your switch's ip? Or setting it up?
Connect to a wifi, open the homebrew launcher and press Y or you can find it in the console's settings

im not trying to be rude, but did you read my comment? i said mpv wont run. the mpv com file autoclose upon opening
Mpv.com is a CLI app, same as the exe, you're supposed to open the cmd in its folder and run
mpv tcp://192.168.100.17:6666 --no-correct-pts --fps=30
Assuming that's the cortect ip.
Note no extension on mpv, windows will use the com file automatically
 

HarvinMalig

Member
Newcomer
Joined
Jul 12, 2019
Messages
9
Trophies
0
Age
34
XP
88
Country
Philippines
[QUOTE="Mpv com is a CLI app, same as the exe, you're supposed to open the cmd in its folder and run
mpv tcp://192.168.100.17:6666 --no-correct-pts --fps=30
Assuming that's the cortect ip.
Note no extension on mpv, windows will use the com file automatically[/QUOTE]

i got it now, i thought i need to run the mpv com itself. never came to mind to open the bat file i created myself then it will automatically run. thanks
 

HarvinMalig

Member
Newcomer
Joined
Jul 12, 2019
Messages
9
Trophies
0
Age
34
XP
88
Country
Philippines
another question, in usb streaming, does sound and video are in sync? in network its not, the delay is very noticable, around 3 or more seconds
 

exelix11

Developer
OP
Developer
Joined
Feb 25, 2015
Messages
915
Trophies
1
Location
C:\users\exelix11\
XP
3,062
Country
Italy
another question, in usb streaming, does sound and video are in sync? in network its not, the delay is very noticable, around 3 or more seconds
With usb usually yes, for network I think you can enable caching of audio to make up for the delay, alternatively you can force them to sync by opening home menu and witing till the video hangs then resuming
 

shadowofdarkness

Well-Known Member
Member
Joined
Apr 17, 2007
Messages
536
Trophies
1
XP
2,254
Country
Canada
I tried this out on Linux and it works good.
That is after I played around a bit, since I could not for the life of me get mpv to stream it live in sync. After some testing I found that saving the audio and video to files and muxing them after the fact produced great videos that were in sync.

I proceeded to make up my own process that resulted in a great live stream from the system that was in sync and no storage space was used on my system.
All it took was making fifo files for the audio and video then telling usbstream to save to those fifo's.
Then at the same time I have a ffmpeg process mux them together and pipe the output directly to ffplay via stdin.

So far in my tests it works great.
 

HarvinMalig

Member
Newcomer
Joined
Jul 12, 2019
Messages
9
Trophies
0
Age
34
XP
88
Country
Philippines
With usb usually yes, for network I think you can enable caching of audio to make up for the delay, alternatively you can force them to sync by opening home menu and witing till the video hangs then resuming
thank you, how can i use video and sound on a single bat file? tried putting it in the nextline didnt work
 

exelix11

Developer
OP
Developer
Joined
Feb 25, 2015
Messages
915
Trophies
1
Location
C:\users\exelix11\
XP
3,062
Country
Italy
I tried this out on Linux and it works good.
That is after I played around a bit, since I could not for the life of me get mpv to stream it live in sync. After some testing I found that saving the audio and video to files and muxing them after the fact produced great videos that were in sync.

I proceeded to make up my own process that resulted in a great live stream from the system that was in sync and no storage space was used on my system.
All it took was making fifo files for the audio and video then telling usbstream to save to those fifo's.
Then at the same time I have a ffmpeg process mux them together and pipe the output directly to ffplay via stdin.

So far in my tests it works great.
Unfortunately switch's os provides two different streams so i have to fire up two different mpv instances, in my experience audio syncs well enough.
If it can be of any help usbstream allows piping via stdin to apps other than mpv, the mpv option will automatically set up the args for mpv but you can use stdin <any command> args <args>

is the 10 minutes limit bug still a thing?
Yes will release an update with a fix and many improvements in a few days

--------------------- MERGED ---------------------------

thank you, how can i use video and sound on a single bat file? tried putting it in the nextline didnt work
I think you can use the "start" command to launch the first mpv without blocking the bat but not sure how it works
 
  • Like
Reactions: Phenj

shadowofdarkness

Well-Known Member
Member
Joined
Apr 17, 2007
Messages
536
Trophies
1
XP
2,254
Country
Canada
Unfortunately switch's os provides two different streams so i have to fire up two different mpv instances, in my experience audio syncs well enough.
If it can be of any help usbstream allows piping via stdin to apps other than mpv, the mpv option will automatically set up the args for mpv but you can use stdin <any command> args <args>

I did see that in the readme but couldn't figure out how that worked with two different streams so I just settled on using FIFO files to pass the video and audio to ffmpeg.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    S @ salazarcosplay: I don't have prime, I order once I am orderign $35 worth of stuff