Comments (9)
The README of the project list some RTSP examples. The used URLs may be down by now though.
One common caveat is that rtspsrc
uses user-id
and user-pw
properties for authentication - That is because the URI itself may be important for the server to select a stream, so havem them in the URI scheme may break things.
Are you sure you have hardware that uses an OMX decoder?
from obs-gstreamer.
I'm just using :
- 1 CCTV Hikvision
- 1 PC
- 1 Switch Hub
just a simple connection. any idea ?
from obs-gstreamer.
Use gst-launch-1.0
from a command line to test things. They may give some better idea what may be wrong.
But these are more setup or general GStreamer related things..
from obs-gstreamer.
you mean command prompt?
i text it, and the result is :
ERROR: pipeline could not be constructed: empty pipeline not allowed.
from obs-gstreamer.
also when i text gst-launch-1.0 --version
in cmd, the result is
gst-launch-1.0 version 1.22.5
GStreamer 1.22.5
Unknown package origin
from obs-gstreamer.
It feels like you want to read up on GStreamer and it pipelines. Without that knowledge you will go nowhere with this plugin. You should be able to create pipelines and playback the camera with the gst-launch-1.0 tool before you adapt the pipeline for this plugin to make it work with OBS.
from obs-gstreamer.
Hi, i try again with this code in cmd, and it works
gst-launch-1.0 rtspsrc location="rtsp://admin:*****@IPAddress:554" latency=10 ! rtph264depay ! h264parse ! decodebin ! autovideosink
but why when i try this on gstreamer OBS, it's not working ? please advice me about this.
Thanks.
from obs-gstreamer.
Replacing autovideosink
with video.
(note the dot) should do it.
from obs-gstreamer.
Important note: Be sure that you are NOT including the "gst-launch-1.0
" command itself in the obs-gstreamer plugin pipeline field -- that's just for command-line testing! But since you've got it working on the command line with gst-launch-1.0
, it should certainly be possible to get it working within the obs-gstreamer plugin as well.
I have had great success using the obs-gstreamer plugin with my HikVision camera (including its audio feed) with the following pipeline:
rtspsrc latency=1600 location=rtsp://admin:*****@192.168.1.***/Streaming/Channels/101 name=bin
bin. ! parsebin ! nvh264sldec ! videoconvert ! video.
bin. ! parsebin ! decodebin ! audioconvert ! audio.
And a simpler ("video-only, no audio") version of my obs-gstreamer plugin pipeline might look like this:
rtspsrc latency=1600 location=rtsp://admin:*****@192.168.1.***/Streaming/Channels/101 ! parsebin ! nvh264sldec ! videoconvert ! video.
A similar pipeline to might work for you. (Be sure to notice the terminating "video." in both examples, just as was mentioned by @fzwoch).
Good luck!
from obs-gstreamer.
Related Issues (20)
- Use openh264enc if x264enc is unavailable (Flatpak gstreamer only has the former) for software encoding HOT 3
- GStreamer Source: Cannot start pipeline: no property "uri" in element "srtsrc" HOT 1
- No Element "airplaysrc" HOT 2
- How to cross-compile for Windows? HOT 1
- OBS gstreamer output HOT 9
- nixos with gstreamer not working HOT 2
- gstreamer plugin is not available in OBS ver29.1.3 HOT 2
- Effect filter HOT 4
- Constant QP rate control option in the GStreamer Encoder doesn't work. HOT 5
- Can't output Audio to device HOT 6
- Latency High when OBS is started, Latency Low when GStreamer Effect is updated / edited HOT 7
- How to use intel igpu HOT 4
- Creeping latency issue HOT 5
- RX 6000 not working with GStreamer H265 Flatpak HOT 9
- No encoder type OBS 29 Beta HOT 5
- MSVC Support for Windows HOT 2
- Add VP8, VP9, and AV1 support HOT 3
- Compilation failed on aarch64 HOT 2
- 0.4.0 system-wide install from source is broken HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from obs-gstreamer.