(RaspberryPi) showing OBS on rpi4b, configurations, testing, settings: performance results {LINUX}

Опубликовано: 16 Март 2025
на канале: ArrowGent
92
2

Raspberry pi 4B - 4gb π
Raspbian Buster 32bit
obs-studio 26.0.2

https://www.raspberrypi.org/
https://www.raspbian.org/
https://github.com/obsproject/obs-studio


PART Two of Raspberry Pi 4B testing:
   • (RaspberryPi) -pt2- showing OBS on rp...  

1280x720p @25fps works for some things
displaying full desktop apparently does not
normally i would use 1024x576 @25fps for games, but youtube downscales to 480p and it looks terrible
raspberry pi cannot handle streaming 30fps, it can barely struggle with 25fps.

the FPS is hit hard because its rendering the desktop capture, normally 20-25fps is sustainable during (some) gameplay
experimenting as Window capture Xcomposite: pseudo top/bottom panel w/ obs window = 25fps
XSHM desktop capture has issues.
see "PART TWO"
   • (RaspberryPi) -pt2- showing OBS on rp...  

i have tested h264_omx encoder, im not sure if its not working properly somehow. it does output stream.
the problem is there is minimal difference in quality or performance compared to libx264.
in some rendering i would say quality is worse, clear distortion artifacting using h264_omx

this also demonstrates streaming physically ON the raspberry pi
not capturing the video source and encoding it on a different computer
not using a capture card
not using ndi passthrough
which would be much easier
i can also do this via VNC with extreme video tearing.
in this video i am using VNC to interact with the desktop with mouse+kb input
the overhead for VNC is very small cpu% and network%
but there would be no way to output 25/30/50/60fps fast enough with VNC to capture it


obs x264 video encoder settings if you want them
preset=ultrafast profile=main tune=fastdecode+zerolatency x264-params=threads=6:preset=ultrafast:profile=main:tune=fastdecode+zerolatency:bframes=0:trellis=0:subme=0:scenecut=0:keyint=50:min-keyint:25:nal-hrd=cbr:crf=26:crf-max=32:bitrate=2416k:maxrate=2880k:vbv-maxrate=2880k:vbv-bufsize=3264k:fps=25


music:
Toady One - Dwarf Fortress theme
https://www.bay12games.com/dwarves/

GNU/LINUX