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

    Error: gst_rtsp_server_attach_failed

    Ask your questions right here!
    2
    7
    320
    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 1 Oct 2022, 06:38

      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
      • M
        modaltb ModalAI Team
        last edited by 3 Oct 2022, 16:36

        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 4 Oct 2022, 05:09 Reply Quote 0
        • M
          Moodsh00
          last edited by 3 Oct 2022, 17:22

          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 4 Oct 2022, 05:09

            @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
            • M
              modaltb ModalAI Team
              last edited by 5 Oct 2022, 15:58

              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 7 Oct 2022, 09:49 Reply Quote 0
              • M
                Moodsh00 @modaltb
                last edited by 7 Oct 2022, 09:49

                @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 10 Oct 2022, 04:44

                  @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
                  1 out of 7
                  • First post
                    1/7
                    Last post
                  Powered by NodeBB | Contributors