ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Error: gst_rtsp_server_attach_failed

    Ask your questions right here!
    2
    7
    238
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Moodsh00
      last edited by

      Trying to get rtsp stream from hi res camera of sentinel voxl2. I dont have doodle labs or 5g. Can someone please help as im getting above error. Camera server connected. The pc is connected direct to voxl wifi. In rtsp-streamer it seems to get 0 from gst rtsp server attach after creating rtsp server main loop source for callback. Cannot find any info online to get past this.

      1 Reply Last reply Reply Quote 0
      • modaltbM
        modaltb ModalAI Team
        last edited by

        Hi @Moodsh00 ,

        Have you tried using voxl-streamer ? This would be the preferred way of using gst

        https://docs.modalai.com/voxl-streamer/

        Source code here:

        https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-streamer

        M 1 Reply Last reply Reply Quote 0
        • M
          Moodsh00
          last edited by

          Thanks for reply. The error message referred to is actually from voxl-streamer. I enter the shell; then type voxl-streamer. It responds saying:
          using config file etc/modalai/voxl-streamer
          Camera server connected.
          ERROR: gst rtsp server attach fail

          1 Reply Last reply Reply Quote 0
          • M
            Moodsh00 @modaltb
            last edited by

            @modaltb

            Thanks for reply. The error message referred to is actually from voxl-streamer. I enter the shell; then type voxl-streamer. It responds saying:
            using config file etc/modalai/voxl-streamer
            Camera server connected.
            ERROR: gst rtsp server attach fail

            1 Reply Last reply Reply Quote 0
            • modaltbM
              modaltb ModalAI Team
              last edited by

              If you run voxl-inspect-cam -a do you have hires showing up?

              Can check out this config file: /etc/modalai/voxl-streamer.conf

              Here's hires example config: https://docs.modalai.com/voxl-streamer/#high-resolution-hires-camera-example

              M 2 Replies Last reply Reply Quote 0
              • M
                Moodsh00 @modaltb
                last edited by

                @modaltb

                Yes it shows up. 480X640 with 11.90ms exposure and gt =2

                It also shows up fine in the web portal

                1 Reply Last reply Reply Quote 0
                • M
                  Moodsh00 @modaltb
                  last edited by

                  @modaltb

                  I figured it out this weekend. It had to do with a swap file in streamer config. I deleted the file and rtsp showed up. However now im trying to get rtsp stream quality to match the quality on voxl portal. Its really grainy. I tried the config files in streamer at 1920X1080 and increased the bitrate by a factor of 5. Will try the camera server today.

                  Also; is there a way to stream to both vlc and gcs at same time. The feed cuts when i try a second viewer.

                  Lastly; is there a way to keep the rtsp stream connected to gcs from bootup. It seems like when i close the shell; the rtsp stream to gcs gets lost.

                  Many thanks again.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB | Contributors