about to start a streaming server with RTSP and gstreamer on ubuntu 18.04 on the jetson nano

Mario Marietto marietto2008 at gmail.com
Sat Jan 9 17:42:59 UTC 2021


Hello to everyone.

Im working on this project :

https://www.hackster.io/jonmendenhall/jetson-nano-search-and-rescue-ai-uav-9ca547

At some point I will need to mount my camera (waveshare ; IMX219-77IR) on
top of the drone and I would like to use Windows or Linux outside of
nomachine (because the nano will be in headless mode),to display what the
camera sees when the drone is flying. For this reason I'm trying to
configure a gstreamer with RTSP to start a streaming server on the Ubuntu
18.04 that I have installed on the jetson nano. (Keep in consideration that
I will attach to the nano the “huawei e3372 4g” dongle to provide to the
drone a mobile connection,instead of a wi-fi connection and this may have
an impact on the performance of the encoder used).

To achieve my goal this is the thread that I'm following :

https://forums.developer.nvidia.com/t/vlc-playing-gstreamer-flow/51694/6

At some point DaneLLL <https://forums.developer.nvidia.com/u/DaneLLL>says :
<https://forums.developer.nvidia.com/t/vlc-playing-gstreamer-flow/51694/3?u=marietto2008>

Please also try test-launch.c @
https://github.com/GStreamer/gst-rtsp-server/blob/master/examples/test-launch.c
136
<https://github.com/GStreamer/gst-rtsp-server/blob/master/examples/test-launch.c>

Target


sudo apt-get install libgstrtspserver-1.0 libgstreamer1.0-dev

gcc test-launch.c -o test-launch $(pkg-config --cflags --libs gstreamer-1.0
gstreamer-rtsp-server-1.0)

./test-launch “videotestsrc ! omxh265enc ! rtph265pay name=pay0 pt=96”

Host

Open network stream rtsp://<TARGET_IP_ADDRESS>:8554/test via VLC


this is what I did and this is what happened :


root at ziomario-desktop:/home/ziomario/Desktop/Tools/gst-rtsp-server/examples#
gcc test-launch.c -o test-launch

test-launch.c:20:10: fatal error: gst/gst.h: No such file or directory
#include <gst/gst.h>
^~~~~~~~~~~
compilation terminated.


root at ziomario-desktop:/home/ziomario/Desktop/Tools/gst-rtsp-server/examples#
gcc test-launch.c -o test-launch $(pkg-config --cflags --libs gstreamer-1.0
gstreamer-rtsp-server-1.0)

test-launch.c: In function ‘main’:
test-launch.c:77:3: warning: implicit declaration of function
‘gst_rtsp_media_factory_set_enable_rtcp’; did you mean
‘gst_rtsp_media_factory_set_latency’? [-Wimplicit-function-declaration]
gst_rtsp_media_factory_set_enable_rtcp (factory, !disable_rtcp);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gst_rtsp_media_factory_set_latency
/tmp/ccJPG5EO.o: In function main': test-launch.c:(.text+0x154): undefined
reference to gst_rtsp_media_factory_set_enable_rtcp’
collect2: error: ld returned 1 exit status


Can someone help me to fix this error ? thanks.

-- 
Mario.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210109/9abaa59c/attachment.htm>


More information about the gstreamer-devel mailing list