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

    VOXL UVC Server not connecting

    Ask your questions right here!
    3
    19
    866
    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.
    • KrisK
      Kris @Eric Katzfey
      last edited by

      @Eric-Katzfey

      voxl:~$ voxl-uvc-server -d -m
      Enabling debug messages
      Enabling MPA debug messages
      voxl-uvc-server starting
      Image resolution 640x480, 30 fps chosen
      UVC initialized
      Device found
      Device opened
      uvc_get_stream_ctrl_format_size succeeded for format 0
      Streaming starting
      Got frame callback! frame_format = 3, width = 640, height = 480, length = 614400, ptr = (nil)
       * got image 30
       * got image 60
       * got image 90
       * got image 120
       * got image 150
       * got image 180
       * got image 210
       * got image 240
       * got image 270
       * got image 300
       * got image 330
       * got image 360
       * got image 390
       * got image 420
       * got image 450
       * got image 480
       * got image 510
       * got image 540
       * got image 570
       * got image 600
       * got image 630
       * got image 660
       * got image 690
       * got image 720
       * got image 750
       * got image 780
       * got image 810
       * got image 840
       * got image 870
       * got image 900
       * got image 930
       * got image 960
       * got image 990
      ^CGot SIGINT, exiting
      helper thread received sigusr 10
      channel 0 request thread closing
      Done streaming
      UVC exited
      voxl-uvc-server ending
      voxl:~$ 
      
      
      Eric KatzfeyE 1 Reply Last reply Reply Quote 0
      • Eric KatzfeyE
        Eric Katzfey ModalAI Team @Kris
        last edited by

        @Kris Okay, so that shows that voxl-uvc-server is running.

        KrisK 1 Reply Last reply Reply Quote 0
        • KrisK
          Kris @Eric Katzfey
          last edited by

          @Eric-Katzfey
          What do I need to do to view the images/video from my UVC camera?

          voxl:~$ show-video-device-info.sh
          /dev/video2: USB Camera 0bda:3035
          
          
          Eric KatzfeyE 1 Reply Last reply Reply Quote 0
          • Eric KatzfeyE
            Eric Katzfey ModalAI Team @Kris
            last edited by

            @Kris You run voxl-uvc-server to get the frames from the camera. See docs.modalai.com/voxl-uvc-server for more information. Then you run voxl-streamer -c uvc-generic to create an RTSP stream that can be viewed remotely using VLC or QGC. Se docs.modalai.com/voxl-streamer for more information.

            KrisK 2 Replies Last reply Reply Quote 0
            • KrisK
              Kris @Eric Katzfey
              last edited by Kris

              @Eric-Katzfey
              This is where I am a little confused. Do I need to SSH into VOXL and run the

              voxl:~$ voxl-uvc-server
              

              in one terminal. Then open a new terminal, SSH into VOXL again and run

              voxl:~$ voxl-streamer -c uvc-generic
              
              Eric KatzfeyE 1 Reply Last reply Reply Quote 0
              • KrisK
                Kris @Eric Katzfey
                last edited by

                @Eric-Katzfey Ok, Thank you!!! I finally got it working 👍

                1 Reply Last reply Reply Quote 0
                • Eric KatzfeyE
                  Eric Katzfey ModalAI Team @Kris
                  last edited by

                  @Kris I usually use adb shell to setup two separate sessions. I run voxl-uvc-server in one and voxl-streamer in the other.

                  KrisK 2 Replies Last reply Reply Quote 0
                  • KrisK
                    Kris @Eric Katzfey
                    last edited by

                    @Eric-Katzfey How can I change the frame rates, etc.
                    Or edit the config files?

                    Eric KatzfeyE 1 Reply Last reply Reply Quote 0
                    • KrisK
                      Kris @Eric Katzfey
                      last edited by

                      @Eric-Katzfey I am trying to get better quality because I need to record via some type of Screen Recorder. I would prefer to save the recorded videos to an SD card, but I don't think that is possible.

                      Eric KatzfeyE 1 Reply Last reply Reply Quote 0
                      • Eric KatzfeyE
                        Eric Katzfey ModalAI Team @Kris
                        last edited by

                        @Kris Yes, you can edit the config files to change resolution, frame rate, etc.

                        KrisK 1 Reply Last reply Reply Quote 0
                        • Eric KatzfeyE
                          Eric Katzfey ModalAI Team @Kris
                          last edited by

                          @Kris We don't currently have a way to save to SD card from the UVC camera. However, you can create your own code to do this. This is a feature that we will be adding in the future.

                          1 Reply Last reply Reply Quote 0
                          • KrisK
                            Kris @Eric Katzfey
                            last edited by

                            @Eric-Katzfey Would I edit the config files from the "uvc-geneirc" at the top or the "uvc-video" at the bottom of the config files?

                            Eric KatzfeyE 1 Reply Last reply Reply Quote 0
                            • Eric KatzfeyE
                              Eric Katzfey ModalAI Team @Kris
                              last edited by

                              @Kris If you are using the uvc-generic configuration then that is the one that you would edit.

                              KrisK 1 Reply Last reply Reply Quote 0
                              • KrisK
                                Kris @Eric Katzfey
                                last edited by

                                @Eric-Katzfey Got it 👍
                                Thank you for your help and quick responses 😊

                                1 Reply Last reply Reply Quote 0
                                • local adL
                                  local ad
                                  last edited by

                                  WOW what a great thread, so on time for me Thanks Kris

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