obs-gstreamer

obs-gstreamer 0.4.1

Tuna

Member
It is always recommended to compile your own version to the GStreamer SDK of your choice. The pre-built one is compiled to the SDK installed via macports. Copying other runtime files around may or may not work.

When compiling on your own the correct locations should be set in your final library. It will also build for the native architecture of your system (x86_64 or arm64).
 

rdagijones

New Member
I am reading and trying to get a gstreamer instance in OBS working from an IP camera but keep getting a black screen. Here are some stats:
  • Windows 10 pc
  • gstreamer installed
  • path variable is set (checked this on this forum and youtube)
  • plugin installed on OBS and get the test patern.
  • I can get an rstp stream from VLC with the following URL
Code:
rtsp://admin:pass1234@192.168.1.81:554/ch0_0.264

I am fairly certain that my pipeline is the issue but I cannot figure it out. Here are some examples of what I have tried.
Code:
uridecodebin uri=rtsp://admin:pass1234@192.168.1.81:554/ ! queue ! video.

rtspsrt location-rtspt://admin:pass1234@192.168.1.81:554/ch0_0.264 ! rtph264depay ! h264parse ! nvh264dec ! videoconvert ! video.

rtspsrc location=rtspt://admin:pass1234@192.168.1.81:554/ch0_0.264latency=100 ! rtpjitterbuffer latency=0 ! rtph264depay ! h264parse ! d3d11h264dec ! video.

Attached is a screenshot of Video settings on the camera (if that helps).

Any suggestions on how to troubleshoot this on a Windows PC?
 

Attachments

  • 2025-03-06 12_44_01-IPcamera.png
    2025-03-06 12_44_01-IPcamera.png
    20.1 KB · Views: 45

Tuna

Member
.264 but H.265 in profile would make me suspicious. But as always - make it work with gst-launch-1.0 first. If that does not work it is not a fault of the plugin.
 

alba4k

New Member
Hey, I'm, having some issues when trying to use my camera in OBS (since v4l2 and pipewire both don't work). It used to work, but now I removed the source by mistake and am struggling to add it again as I can't remember what I used

I think this should work, but it doesn't
Code:
libcamerasrc ! video/x-raw,format=RGBA ! videoconvert ! video

using this in a terminal works
Code:
gst-launch-1.0 libcamerasrc ! video/x-raw,format=RGBA ! videoconvert ! waylandsink

no luck even with something as simple as
Code:
libcamerasrc ! video

All that happens is I see the camera LED turn on for a second and then off again (instead of staying on)
 

STEPHANVS

Member
Hey, I'm, having some issues when trying to use my camera in OBS (since v4l2 and pipewire both don't work). It used to work, but now I removed the source by mistake and am struggling to add it again as I can't remember what I used

I think this should work, but it doesn't
Code:
libcamerasrc ! video/x-raw,format=RGBA ! videoconvert ! video

using this in a terminal works
Code:
gst-launch-1.0 libcamerasrc ! video/x-raw,format=RGBA ! videoconvert ! waylandsink

no luck even with something as simple as
Code:
libcamerasrc ! video

All that happens is I see the camera LED turn on for a second and then off again (instead of staying on)
Don't forget the "." after video.
 
Top