<div dir="ltr">$ ./test-launch “videotestsrc ! nvvidconv ! nvv4l2h264enc ! h264parse ! rtph264pay name=pay0 pt=96”<br><p>
stream ready at rtsp://<a href="http://127.0.0.1:8554/test">127.0.0.1:8554/test</a></p>
<p>nvbuf_utils: Could not get EGL display connection<br>
Opening in BLOCKING MODE<br>
NvMMLiteOpen : Block : BlockType = 4<br>
===== NVMEDIA: NVENC =====<br>
NvMMLiteBlockCreate : Block : BlockType = 4<br>
H264: Profile = 66, Level = 0<br>
Opening in BLOCKING MODE<br>
NvMMLiteOpen : Block : BlockType = 4<br>
===== NVMEDIA: NVENC =====<br>
NvMMLiteBlockCreate : Block : BlockType = 4<br>
H264: Profile = 66, Level = 0</p>
<p>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://<a href="http://192.168.1.3:8554/test">192.168.1.3:8554/test</a></p><p><br></p>
<div class="gmail-lightbox-wrapper"><a class="gmail-lightbox" href="https://aws1.discourse-cdn.com/nvidia/original/3X/e/0/e03a993a5e4005cdb52a32336bd7830fe7fb27ef.png" title="Screenshot_1" rel="noopener nofollow ugc"><img src="https://aws1.discourse-cdn.com/nvidia/optimized/3X/e/0/e03a993a5e4005cdb52a32336bd7830fe7fb27ef_2_690x351.png" alt="Screenshot_1" class="gmail-d-lazyload" width="690" height="351"></a></div>
<p><br></p><p>it does not work even locally. When I open the address : 
rtsp://<a href="http://127.0.0.1:8554/test">127.0.0.1:8554/test</a> or rtsp://<a href="http://192.168.1.3:8554/test,with">192.168.1.3:8554/test,with</a> VLC,it 
closes itself.</p>

</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno lun 11 gen 2021 alle ore 17:16 Mario Marietto <<a href="mailto:marietto2008@gmail.com">marietto2008@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>thanks. give a look here : <br></div><div><br></div><div><a href="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" target="_blank">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</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno lun 11 gen 2021 alle ore 17:15 Mathieu Duponchelle <<a href="mailto:mathieu@centricular.com" target="_blank">mathieu@centricular.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    In that test-launch.c source code you're trying to compile.<br>
    <br>
    <div>On 1/11/21 3:48 PM, Mario Marietto
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">I'm not expert. where and how I should remove
        "gst_rtsp_media_factory_set_enable_rtcp() " ?</div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">Il giorno lun 11 gen 2021 alle
          ore 15:45 Mathieu Duponchelle <<a href="mailto:mathieu@centricular.com" target="_blank">mathieu@centricular.com</a>>
          ha scritto:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div> Hey,<br>
            <br>
            gst_rtsp_media_factory_set_enable_rtcp() is new API, not
            part of 1.18. You<br>
            can safely remove the call for your testing.<br>
            <br>
            <div>-- <br>
              Mathieu Duponchelle · <a href="https://www.centricular.com" target="_blank">https://www.centricular.com</a></div>
            <br>
            <br>
            <div>On 1/9/21 6:42 PM, Mario Marietto wrote:<br>
            </div>
            <blockquote type="cite">
              <div dir="ltr">
                <div>Hello to everyone.</div>
                <div>
                  <p>Im working on this project :</p>
                  <p><a href="https://www.hackster.io/jonmendenhall/jetson-nano-search-and-rescue-ai-uav-9ca547" target="_blank">https://www.hackster.io/jonmendenhall/jetson-nano-search-and-rescue-ai-uav-9ca547</a></p>
                  <p>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). </p>
                  <p>To achieve my goal this is the thread that I'm
                    following :</p>
                  <p><a href="https://forums.developer.nvidia.com/t/vlc-playing-gstreamer-flow/51694/6" target="_blank">https://forums.developer.nvidia.com/t/vlc-playing-gstreamer-flow/51694/6</a></p>
                  <p> </p>
                  <div>
                    <div><span>At some point<a href="https://forums.developer.nvidia.com/u/DaneLLL" target="_blank">
                          DaneLLL </a>says :<br>
                      </span></div>
                    <div><span><span title="This user is a moderator"></span></span></div>
                    <div>
                      <div><a href="https://forums.developer.nvidia.com/t/vlc-playing-gstreamer-flow/51694/3?u=marietto2008" target="_blank"><span title="Jul 18, 2017 5:09 am"></span></a></div>
                    </div>
                  </div>
                  <div>
                    <div>
                      <p>Please also try test-launch.c @ <a href="https://github.com/GStreamer/gst-rtsp-server/blob/master/examples/test-launch.c" target="_blank">https://github.com/GStreamer/gst-rtsp-server/blob/master/examples/test-launch.c
                          <span title="136 clicks">136</span></a></p>
                      <p>Target</p>
                      <p><br>
                        sudo apt-get install libgstrtspserver-1.0
                        libgstreamer1.0-dev<br>
                      </p>
                      <p>gcc test-launch.c -o test-launch $(pkg-config
                        --cflags --libs gstreamer-1.0
                        gstreamer-rtsp-server-1.0)<br>
                      </p>
                      <p>./test-launch “videotestsrc ! omxh265enc !
                        rtph265pay name=pay0 pt=96”</p>
                      <p>Host<br>
                      </p>
                      <p>Open network stream <a>rtsp://</a><TARGET_IP_ADDRESS>:8554/test
                        via VLC</p>
                    </div>
                  </div>
                  <p><br>
                  </p>
                  <p>this is what I did and this is what happened :</p>
                  <p> </p>
                  <p><br>
                  </p>
                  <p>root@ziomario-desktop:/home/ziomario/Desktop/Tools/gst-rtsp-server/examples#
                    gcc test-launch.c -o test-launch<br>
                  </p>
                  <p>test-launch.c:20:10: fatal error: gst/gst.h: No
                    such file or directory<br>
                    <span>#include</span> <gst/gst.h><br>
                    ^~~~~~~~~~~<br>
                    compilation terminated.</p>
                  <p><br>
                  </p>
                  <p>root@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)<br>
                  </p>
                  <p>test-launch.c: In function ‘main’:<br>
                    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]<br>
                    gst_rtsp_media_factory_set_enable_rtcp (factory,
                    !disable_rtcp);<br>
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
                    gst_rtsp_media_factory_set_latency<br>
                    /tmp/ccJPG5EO.o: In function <code>main':
                      test-launch.c:(.text+0x154): undefined reference
                      to </code>gst_rtsp_media_factory_set_enable_rtcp’<br>
                    collect2: error: ld returned 1 exit status</p>
                  <p><br>
                  </p>
                  <p>Can someone help me to fix this error ? thanks.<br>
                  </p>
                </div>
                <div>-- <br>
                  <div dir="ltr">Mario.<br>
                  </div>
                </div>
              </div>
              <br>
              <fieldset></fieldset>
              <pre>_______________________________________________
gstreamer-devel mailing list
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
            </blockquote>
          </div>
          _______________________________________________<br>
          gstreamer-devel mailing list<br>
          <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
          <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
        </blockquote>
      </div>
      <br clear="all">
      <br>
      -- <br>
      <div dir="ltr">Mario.<br>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
gstreamer-devel mailing list
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
  </div>

_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr">Mario.<br></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">Mario.<br></div>