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

    VOXL UVC Server not connecting

    Ask your questions right here!
    3
    19
    963
    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.
    • K
      Kris @Eric Katzfey
      last edited by 29 Aug 2022, 15:38

      @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:~$ 
      
      
      E 1 Reply Last reply 29 Aug 2022, 15:39 Reply Quote 0
      • E
        Eric Katzfey ModalAI Team @Kris
        last edited by 29 Aug 2022, 15:39

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

        K 1 Reply Last reply 29 Aug 2022, 15:43 Reply Quote 0
        • K
          Kris @Eric Katzfey
          last edited by 29 Aug 2022, 15:43

          @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
          
          
          E 1 Reply Last reply 29 Aug 2022, 15:46 Reply Quote 0
          • E
            Eric Katzfey ModalAI Team @Kris
            last edited by 29 Aug 2022, 15:46

            @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.

            K 2 Replies Last reply 29 Aug 2022, 15:54 Reply Quote 0
            • K
              Kris @Eric Katzfey
              last edited by Kris 29 Aug 2022, 15:56 29 Aug 2022, 15:54

              @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
              
              E 1 Reply Last reply 29 Aug 2022, 15:58 Reply Quote 0
              • K
                Kris @Eric Katzfey
                last edited by 29 Aug 2022, 15:57

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

                1 Reply Last reply Reply Quote 0
                • E
                  Eric Katzfey ModalAI Team @Kris
                  last edited by 29 Aug 2022, 15:58

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

                  K 2 Replies Last reply 29 Aug 2022, 16:00 Reply Quote 0
                  • K
                    Kris @Eric Katzfey
                    last edited by 29 Aug 2022, 16:00

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

                    E 1 Reply Last reply 29 Aug 2022, 16:11 Reply Quote 0
                    • K
                      Kris @Eric Katzfey
                      last edited by 29 Aug 2022, 16:04

                      @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.

                      E 1 Reply Last reply 29 Aug 2022, 16:12 Reply Quote 0
                      • E
                        Eric Katzfey ModalAI Team @Kris
                        last edited by 29 Aug 2022, 16:11

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

                        K 1 Reply Last reply 29 Aug 2022, 16:15 Reply Quote 0
                        • E
                          Eric Katzfey ModalAI Team @Kris
                          last edited by 29 Aug 2022, 16:12

                          @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
                          • K
                            Kris @Eric Katzfey
                            last edited by 29 Aug 2022, 16:15

                            @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?

                            E 1 Reply Last reply 29 Aug 2022, 16:17 Reply Quote 0
                            • E
                              Eric Katzfey ModalAI Team @Kris
                              last edited by 29 Aug 2022, 16:17

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

                              K 1 Reply Last reply 29 Aug 2022, 16:18 Reply Quote 0
                              • K
                                Kris @Eric Katzfey
                                last edited by 29 Aug 2022, 16:18

                                @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 29 Aug 2022, 16:59

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

                                  1 Reply Last reply Reply Quote 0
                                  5 out of 19
                                  • First post
                                    5/19
                                    Last post
                                  Powered by NodeBB | Contributors