Phantasmagoria of Dim.Dream - Steam Deck Screen Capture Test (RTMP to OBS as a media source)

Channel:
Subscribers:
1,270
Published on ● Video Link: https://www.youtube.com/watch?v=D9LC16CQ4jI



Duration: 1:32:33
61 views
2


Another test of Steam Deck recording. This time with Retroarch running Neko Project Kai II. Native screen resolution set for Retroarch (1280x800) in SteamOS instead of 1024x768 like with games that would be using a 4:3 ratio. PC-98 is an odd one and letting it be 16:10 looks better. I'm also running this on a slow emulated CPU speed on purpose. The Steam Deck can handle this game at the correct PC-98 CPU speed but I like it when the action is slow and not gamer brain omg 60fps. You can hear how the music is unaffected by the slowness too, so i get more time to enjoy the jams and more time to dodge shots. It's a win-win really.

The Touhou games are amazing! I love how they are bullet hell shoot em ups with a pixel sized hitbox and a strategy around how you eliminate things on screen. They look super intimidating at first but they are relaxing baby games, which is a good thing.

This is a test of recording the Steam Deck by sending video from the Steam Deck at 75mbps over RTMP to a server on my desktop that then my OBS connects to via a Media Source. Then I upscale the 1280x800 video 300% using a point filter to fill a 3840x2400 frame in OBS. OBS then records that locally using NVENC H265 CQP at high quality.

The RTMP server software i use is Mona Server. That is on my desktop PC.

To capture the Steam Deck screen i use GStreamer.

use these commands on your steam deck:

set up SSH on the Deck by going into Desktop Mode and then opening Konsole and setting a password with the command passwd

then start the ssh server with the command systemctl start sshd

now you can use putty or whatever to connect to the Steam Deck to make this easier

then we need to disable the read only on the filesystem with sudo steamos-readonly disable

now we do some stuff to the package manager with sudo pacman-key --init
and sudo pacman-key --populate

now we install some packages with sudo pacman -S gst-libav gst-plugins-base gst-plugins-good gstreamer-vaapi gst-plugin-pipewire --overwrite='*'

now you can start up the mona server program

now we get to the long command that starts the streaming to the RTMP server. yes, you can copy and paste this into putty and hit enter and it will work.

note the last line with the ip address. change that to the ip address of the computer running the mona server.

gst-launch-1.0 -e -v \
pipewiresrc do-timestamp=True \
! queue \
! videoconvert \
! queue \
! vaapih264enc quality-level=1 quality-factor=1 rate-control=4 keyframe-period=240 bitrate=75000 refs=16 max-bframes=16 cabac=true dct8x8=true trellis=true \
! h264parse \
! mux. \
pulsesrc device="alsa_output.pci-0000_04_00.5-platform-acp5x_mach.0.HiFi__hw_acp5x_1__sink.monitor" \
! queue \
! avenc_aac bitrate=320000 \
! mux. \
flvmux name=mux streamable=True \
! rtmpsink location='rtmp://192.168.2.82:1935 live=1'

this should generally work given sufficient wi-fi bandwidth. if it ends up stopping then lower the bitrate=75000

so now that you are streaming to the RTMP server you need to add a media source source to your OBS with rtmp://192.168.2.82:1935

also check the box for hardware decoding and put network buffering up to 16MB and check the box for show nothing when playback ends and also to restart when source becomes active

once you do all of that you should be good to go, and your Steam Deck will be a source to record or stream in OBS. the only issue is that this DOES and WILL have latency. don't try and play through this. you could add an artificial delay to your mic and desktop audio and all the other video sources to sync things up but note that the delay is variable, and you just will become out of sync over time anyway most likely. but if not being totally in sync with the Steam Deck isn't a big issue, then it's perfectly fine.







Other Statistics

Phantasmagoria of Dim.Dream Statistics For NavJack27

NavJack27 currently has 81 views spread across 2 videos for Phantasmagoria of Dim.Dream. His channel currently has around hour worth of content for Phantasmagoria of Dim.Dream, making up less than 0.59% of the total overall content on NavJack27's YouTube channel.