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

Mario Marietto marietto2008 at gmail.com
Mon Jan 11 21:00:13 UTC 2021


$ ./test-launch “videotestsrc ! nvvidconv ! nvv4l2h264enc ! h264parse !
rtph264pay name=pay0 pt=96”

stream ready at rtsp://127.0.0.1:8554/test

nvbuf_utils: Could not get EGL display connection
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 4
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
H264: Profile = 66, Level = 0
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 4
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
H264: Profile = 66, Level = 0

in headless mode and with the HDMI monitor attached,this is what I see on
VLC,when I open this address outside of the jetson nano (I’m on windows 10
and the IP address 192.168.1.3 is the IP number assigned to the nano,that’s
running in headless mode) : rtsp://192.168.1.3:8554/test


[image: Screenshot_1]
<https://aws1.discourse-cdn.com/nvidia/original/3X/e/0/e03a993a5e4005cdb52a32336bd7830fe7fb27ef.png>


it does not work even locally. When I open the address : rtsp://
127.0.0.1:8554/test or rtsp://192.168.1.3:8554/test,with VLC,it closes
itself.

Il giorno lun 11 gen 2021 alle ore 17:16 Mario Marietto <
marietto2008 at gmail.com> ha scritto:

> thanks. give a look here :
>
>
> https://forums.developer.nvidia.com/t/about-to-start-a-streaming-server-with-rtsp-and-gstreamer-on-ubuntu-18-04-on-the-jetson-nano/165564/4
>
> Il giorno lun 11 gen 2021 alle ore 17:15 Mathieu Duponchelle <
> mathieu at centricular.com> ha scritto:
>
>> In that test-launch.c source code you're trying to compile.
>>
>> On 1/11/21 3:48 PM, Mario Marietto wrote:
>>
>> I'm not expert. where and how I should remove
>> "gst_rtsp_media_factory_set_enable_rtcp() " ?
>>
>> Il giorno lun 11 gen 2021 alle ore 15:45 Mathieu Duponchelle <
>> mathieu at centricular.com> ha scritto:
>>
>>> Hey,
>>>
>>> gst_rtsp_media_factory_set_enable_rtcp() is new API, not part of 1.18.
>>> You
>>> can safely remove the call for your testing.
>>>
>>> --
>>> Mathieu Duponchelle · https://www.centricular.com
>>>
>>>
>>> On 1/9/21 6:42 PM, Mario Marietto wrote:
>>>
>>> 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.
>>>
>>> _______________________________________________
>>> gstreamer-devel mailing listgstreamer-devel at lists.freedesktop.orghttps://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> gstreamer-devel at lists.freedesktop.org
>>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>>
>>
>>
>> --
>> Mario.
>>
>> _______________________________________________
>> gstreamer-devel mailing listgstreamer-devel at lists.freedesktop.orghttps://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>
>
> --
> Mario.
>


-- 
Mario.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210111/95fbb228/attachment-0001.htm>


More information about the gstreamer-devel mailing list