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
Please also try test-launch.c @ https://github.com/GStreamer/gst-rtsp-server/blob/master/examples/test-launch.c 136 Target
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@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 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) test-launch.c: In function ‘main’: Can someone help me to fix this error ? thanks. -- Mario. _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Hey Mario That method was just recently added (as per the documentation, it was added on 1.20). All your steps seem correct, except that you are using the latest version of the example, which uses the latest API. Most Jetson boards come with Gstreamer 1.16 pre-installed (if I recall correctly) so the simplest way is to use that same version of the example: https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/-/blob/1.16/examples/test-launch.c Hope this helps! Michael _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by Mario Marietto
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:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 <[hidden email]> ha scritto:
-- Mario.
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In that test-launch.c source code you're trying to compile.
On 1/11/21 3:48 PM, Mario Marietto
wrote:
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
thanks. give a look here : Il giorno lun 11 gen 2021 alle ore 17:15 Mathieu Duponchelle <[hidden email]> ha scritto:
-- Mario.
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
$ ./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 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 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 <[hidden email]> ha scritto:
-- Mario.
_______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |