rtsp-server | Lightweight RTSP/RTP streaming media server | Video Utils library
kandi X-RAY | rtsp-server Summary
kandi X-RAY | rtsp-server Summary
Clients can connect and send RTSP commands to receive RTP data. This was designed to make rebroadcasting audio and video data over a network simple.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of rtsp-server
rtsp-server Key Features
rtsp-server Examples and Code Snippets
Community Discussions
Trending Discussions on rtsp-server
QUESTION
I have a third party application that reads data from a thermal camera and generates a RTP stream to a given UDP source. I am trying to wrap this RTP into a RTSP stream but I am running into problems...
The third party application basically runs gstreamer with this command
...ANSWER
Answered 2022-Mar-10 at 20:45It might be a lack of support of J2K in VLC (I'm using revision 3.0.8-0). Simulating your source with:
QUESTION
I'm currently working on a remotely controlled robot that is sending two camera streams from a Jetson Nano to a PC/Android Phone/VR Headset.
I've been able to create a stable link between the robot and PC using gst-rtsp-server running this pipeline:
...ANSWER
Answered 2022-Feb-16 at 20:31The rtsp server uses TCP because your client query asked for that using rtspt
where last t
queries for TCP transport. Just using rstp
instead should use UDP. You may have a look to protocols
property of rtspsrc
for more details.
Full story is in the comments here and continued to solution here: Gstreamer Android HW accelerated H.264 encoding
QUESTION
I'm trying to install "gst-rtsp-server" library by running meson.build. To do so, I installed meson from pip3, and tried to build the library using
...ANSWER
Answered 2021-Oct-20 at 16:16It looks like you're on windows, and you don't have any compilers in your path. IF you're wanting to use the Visual Studio compiler (cl), then the easiest way is to open the Visual Studio command prompt, and run Meson from there (I think that the forthcoming meson 0.60 will have an option to discover cl.exe automatically). Other compiler options on Windows are gcc or clang from msys or the older intel icl compiler (not the new oneAPI one)
QUESTION
I'm building a gstreamer-rtsp-server that has a tee (when a client is connected). However, when a client connects, the autovideosink
seems to only show one frame and sticks. Without the tee/autovideosink, it works. Why does it stick/freeze?
RTSP Server launch string: videotestsrc pattern=ball ! videoconvert ! video/x-raw, width=(int)800, height=(int)800, format=(string)I420 ! tee name=t ! x264enc ! rtph264pay name=pay0 pt=96 t. ! autovideosink
Client: gst-launch-1.0 rtspsrc protocols=tcp buffer-mode=1 location=rtsp://127.0.0.1:8554/test latency=0 ! rtph264depay ! avdec_h264 ! queue ! videoconvert ! xvimagesink sync=false
Client output:
...ANSWER
Answered 2021-Sep-16 at 18:26As the documentation notes, always use a queue
after each tee
branch:
https://gstreamer.freedesktop.org/documentation/coreelements/tee.html?gi-language=c
One needs to use separate queue elements (or a multiqueue) in each branch to provide separate threads for each branch. Otherwise a blocked dataflow in one branch would stall the other branches.
In your particular case, you should also add the tune=zerolatency
option to the x264enc
element. That is because the latency of x264enc
by default is higher than the default queue sizes. Alternatively you need to increase the queue sizes to compensate for x264enc
's latency.
QUESTION
I am trying to find out that how bitbake search for recipe in build process ? For example, I have a recipe something like below:
...ANSWER
Answered 2021-May-26 at 10:28You have two different files: a .bb
and a .bbappend
.
A .bb
is the base recipe of one (or multiple) packages. It generally describe how to fetch, configure, compile, install files in a package for your target.
A .bbappend
file is an 'append' file. It allows a meta (here meta-petalinux) to modify an existing recipe in another meta without copying it. A .bbappend
can modify any steps of the bb file: source fetch, configure, compile, install...
You can for example create your own bbappend of Gstreamer, to enable pango (disbaled by default on my Yocto). The bbappend filename is gstreamer1.0-plugins-base_%.bbappend
and only contains PACKAGECONFIG_append = "pango"
The Yocto Manual can give you more information on bbappend files here.
QUESTION
I'm calling next
multiple times on a Stream
returned by this function: https://github.com/sdroege/rtsp-server/blob/96dbaf00a7111c775348430a64d6a60f16d66445/src/listener/message_socket.rs#L43:
ANSWER
Answered 2021-Apr-06 at 07:44This error is an error for a reason, as it likely means that you are doing something wrong: when a stream returns Poll::Ready(None)
, it means that the stream is completed (in a similar fashion to Iterator
, as has been commented).
However, if you are still sure that this is what you want to do, then you can call stream.fuse()
in order to silence the error and simply return Poll::Ready(None)
forever.
QUESTION
I'm trying to set up a RTSP server for my camera on my Raspberry Pi 4B. I installed GStreamer and libgstrtspserver-1.0-dev (version 1.14.4), and am using the test-launch.c script, compiled with gcc test-launch.c -o test-launch $(pkg-config --cflags --libs gstreamer-1.0 gstreamer-rtsp-server-1.0)
I then try to use the pipeline
...ANSWER
Answered 2021-Apr-05 at 09:52The extra single quotation marks in the pipeline caused the problem. So a working pipeline would be:
QUESTION
ANSWER
Answered 2021-Mar-31 at 01:02It refers to to the crate currently being compiled. So in this example, it is resolved as rtsp_server::body::Body
. The body::Body
part is refering to the Body
struct/enum of the body
module.
crate
is also used to represent the absolute path of a module, wherecrate
refers to the root of the current crate. For instance,crate::foo::bar
refers to the namebar
inside the modulefoo
, from anywhere else in the same crate.
QUESTION
I want to capture a Rtsp-stream from a Live-CAM which I then want to re-stream to another Rtsp-server. Basically, my computer will work as a relay-server using FFMpeg.
I have tried this temporary command but I cannot get it working i.e.
...ANSWER
Answered 2021-Mar-15 at 16:25Well, I found that this one works:
QUESTION
I am trying to build test-launch.c on my ubuntu machine (i5) with this command:
...ANSWER
Answered 2021-Feb-08 at 09:06What version of GStreamer do you have installed? According to the documentation gst_rtsp_media_factory_set_enable_rtcp()
is introduced with GStreamer 1.20 which has not yet been released.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install rtsp-server
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page