Difference between revisions of "Explorer/RaspberryPi/Softwares/rtsp-server"
Jump to navigation
Jump to search
(Created page with "hello") |
|||
Line 1: | Line 1: | ||
* Install Server-RTP | |||
sudo apt-get install libglib2.0 -y | |||
sudo apt-get install libgstreamer1.0-dev -y | |||
sudo apt-get install libgstreamer-plugins-base1.0-dev -y | |||
gst-launch-1.0 --version | |||
=> gst-launch-1.0 version 1.14.4 | |||
wget http://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.14.4.tar.xz | |||
tar -xf gst-rtsp-server-1.14.4.tar.xz | |||
rm gst-rtsp-server-1.14.4.tar.xz | |||
cd gst-rtsp-server-1.14.4/ | |||
./configure | |||
~/gst-rtsp-server-1.14.4/examples/test-launch.c | |||
patched with second stream | |||
GstRTSPMediaFactory *factory2; | |||
factory2 = gst_rtsp_media_factory_new (); | |||
gst_rtsp_media_factory_set_launch (factory2, argv[2]); | |||
gst_rtsp_mount_points_add_factory (mounts, "/test2", factory2); | |||
cd ~/gst-rtsp-server-1.14.4 | |||
make | |||
sudo make install | |||
* Check installation with camera unicast |
Revision as of 09:17, 22 June 2020
- Install Server-RTP
sudo apt-get install libglib2.0 -y sudo apt-get install libgstreamer1.0-dev -y sudo apt-get install libgstreamer-plugins-base1.0-dev -y
gst-launch-1.0 --version => gst-launch-1.0 version 1.14.4
wget http://gstreamer.freedesktop.org/src/gst-rtsp-server/gst-rtsp-server-1.14.4.tar.xz tar -xf gst-rtsp-server-1.14.4.tar.xz rm gst-rtsp-server-1.14.4.tar.xz cd gst-rtsp-server-1.14.4/ ./configure
~/gst-rtsp-server-1.14.4/examples/test-launch.c patched with second stream GstRTSPMediaFactory *factory2; factory2 = gst_rtsp_media_factory_new (); gst_rtsp_media_factory_set_launch (factory2, argv[2]); gst_rtsp_mount_points_add_factory (mounts, "/test2", factory2);
cd ~/gst-rtsp-server-1.14.4 make sudo make install
- Check installation with camera unicast