GstRtspSink - Building the plug-in: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{GstRtspSink Page|TODO|TODO| | {{GstRtspSink Page|TODO|TODO| | ||
This page describes the process of building the GstRtspSink plug-in using both, RidgeRun's professional SDK and as a standalone GStreamer project. | This page describes the process of building the GstRtspSink plug-in using both, RidgeRun's professional SDK and as a standalone GStreamer project. | ||
__TOC__ | |||
== Building GstRtspSink Using RidgeRun SDK == | == Building GstRtspSink Using RidgeRun SDK == |
Revision as of 22:10, 21 June 2017
← TODO |
⌂ Home |
→ TODO |
This page describes the process of building the GstRtspSink plug-in using both, RidgeRun's professional SDK and as a standalone GStreamer project.
Building GstRtspSink Using RidgeRun SDK
The source code for GstRtspSink can be found in
$DEVDIR/proprietary/gst-rtsp-sink
The element will be built along with the SDK if selected on the configuration menu.
make config '-> Proprietary software '-> [*] RidgeRun RTSP GStreamer sink element '-> [] Enable Multicast support
This will automatically make sure all the dependencies are built before the plug-in.
On the other hand, GstRtspSink can be built manually by:
cd $DEVDIR/proprietary/gst-rtsp-sink rm -f rrbuilt rrinstalled # for cases where the project was already built make make install
In this case, the dependencies will not be automatically built, and is up to you to ensure they are all built before building GstRtspSink.
Building as a Standalone Project
GstRtspSink may be built as a standalone Autotools project. First, make sure the dependencies are fulfilled:
sudo apt-get install \ libgstrtspserver-1.0-dev \ libgstreamer1.0-dev \ libgstreamer-plugins-base1.0-dev \ libgstreamer-plugins-good1.0-dev \ libgstreamer-plugins-bad1.0-dev
After that, proceed to build the package:
cd gst_rtsp_sink/src # Note the src subdirectory ./autogen.sh ./configure --libdir=/usr/lib/x86_64-linux-gnu/ # GStreamer will look for its plug-ins in this standard location make sudo make install
The location of the plug-in can vary according to the system. The following table summarizes some standard locations for different setups
System | Libdir |
---|---|
Ubuntu | /usr/lib/x86_64-linux-gnu/ |
Mac OSX (macports) | /opt/local/lib |
RidgeRun SDK | /usr/lib/ |
Note: The default port used by RTSP is 554. Running RTSP Sink on a host PC may require root privileges to open the appropriate sockets (port numbers less than 1024). If the debug reveals a permission problem, then run the pipeline using sudo. You should be able to run GStreamer pipelines with rtspsink if the specified port number is 1024 or greater.
← TODO |
⌂ Home |
→ TODO |