RELEASE SysDVR - Stream gameplay directly to a pc

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by exelix11, Oct 21, 2019.


    21,278

    185
    Front-page RELEASE
    SysDVR
    Stream/record gameplay to a PC via USB or network.
    upload_2019-10-21_9-21-20.

    Update: Version 2.0 has been released to address most of the issues reported here, 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 core 3 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:
    Warning: Spoilers inside!

    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.

    Please make sure to read the full readme before reporting issues as it explains the most common problems you may encounter.
     
    Discussion (185 replies)
  1. Jiehfeng

    Jiehfeng Netti Netti

    Member
    12
    Aug 15, 2012
    United States
    Noticing, aloof from it all
    Brilliant, thanks! :grog:
     
  2. Oleboy555

    Oleboy555 Wie dit leest is een zemmel

    Member
    7
    Feb 8, 2017
    Netherlands
    Amsterdam
    Woww!!! That's amazing!! Really great job!
     
  3. Scarlet

    Scarlet A Convenient Oddity

    pip Reporter
    16
    GBAtemp Patron
    Scarlet is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Jan 7, 2015
    United Kingdom
    Middleish North-Left
    Might not replace capture cards for the most part, but the utility in being able to capture handheld gameplay and handheld-only games shouldn't be overlooked.

    Really cool release!
     
    ajd4096, Karones, codezer0 and 3 others like this.
  4. KiiWii

    KiiWii Contributor

    pip Contributor
    18
    Nov 17, 2008
    United Kingdom
    This is absolutely fantastic!

    Thank you @exelix11 :)
     
    Xzi likes this.
  5. lordelan

    lordelan GBAtemp Psycho!

    Member
    12
    Jan 4, 2015
    Germany
    Very nice!
    And I always prefer a wall of text over a 2 lines short readme. ;)
     
    ry755 and exelix11 like this.
  6. mathew77

    mathew77 GBAtemp Regular

    Member
    3
    Jan 19, 2019
    Norway
    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, Oct 21, 2019
  7. exelix11
    OP

    exelix11 Developer

    pip Developer
    10
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    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.
     
    mathew77 likes this.
  8. yyoossk

    yyoossk GBAtemp Regular

    Member
    5
    Oct 18, 2017
    Japan
    [​IMG]

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

    [​IMG]

    8.1.0 ams0.9.4 sysnand
    please help
     
    Last edited by yyoossk, Oct 21, 2019
  9. ertaboy356b

    ertaboy356b GBAtemp Regular

    Member
    5
    Feb 16, 2010
    Now waiting for the switch lite to get hacked!
     
  10. hippy dave

    hippy dave BBMB

    Member
    15
    Apr 30, 2012
    United Kingdom
    Congrats on the huge release, this feature has been in heavy demand forever :grog:
     
  11. DaniPoo

    DaniPoo GBAtemp Advanced Fan

    Member
    5
    Jan 2, 2013
    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!
     
    osaka35 likes this.
  12. exelix11
    OP

    exelix11 Developer

    pip Developer
    10
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    Interesting, the device name is different for me:
    upload_2019-10-21_12-54-8.
    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 ?
     
    osaka35 and KiiWii like this.
  13. Milenko

    Milenko GBAtemp Advanced Maniac

    Member
    10
    Oct 16, 2017
    Australia
    how do you find your switch's ip address?
     
  14. Asia81

    Asia81 In my Ecchi World <3

    Member
    14
    Nov 15, 2014
    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)
    
     
  15. ganons

    ganons GBAtemp Addict

    Member
    7
    Jun 12, 2005
    So is captured audio and video in sync?
     
  16. gameboy

    gameboy GBAtemp Advanced Maniac

    Member
    9
    Dec 9, 2015
    United States
    can it be used with spoofed dock and overclock?
     
  17. exelix11
    OP

    exelix11 Developer

    pip Developer
    10
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    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.
     
  18. GuyInDogSuit

    GuyInDogSuit Your friendly neighborhood guy in a dog suit.

    Member
    7
    Aug 1, 2008
    United States
    Antelope, CA
    I was hoping this would be something I could use on all games, but meh, guess we'll have to wait til there's game updates that enable it. Or is it via OFW updates?
     
    exelix11 likes this.
  19. exelix11
    OP

    exelix11 Developer

    pip Developer
    10
    Feb 25, 2015
    Italy
    C:\users\exelix11\
    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

    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.
     
    ganons likes this.
Quick Reply
Draft saved Draft deleted
Loading...