Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. voxl-streamer client repetitive connect/disconnect

voxl-streamer client repetitive connect/disconnect

Scheduled Pinned Locked Moved Ask your questions right here!
63 Posts 3 Posters 23.7k Views 3 Watching
  • 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.
  • wilkinsafW wilkinsaf

    @Eric-Katzfey

    Apologies for the delay. Some other things came up.
    I was able to pull down the camera information. We have 2 cameras we are trying to get up.

    Cam 1: https://pastebin.com/qHvHKXay
    Cam 2: https://pastebin.com/7DgvP58k

    They appear to be able to post in MJPEG

    Eric KatzfeyE Offline
    Eric KatzfeyE Offline
    Eric Katzfey
    ModalAI Team
    wrote on last edited by
    #21

    @wilkinsaf There are some clues here: https://github.com/gregkh/usbutils/issues/42. It seems like there are some endian issues with interpretation of the guidFormat field. For example, for my Logitech C270 test camera, lsusb reports the guidFormat as 32595559-0000-0010-8000-00aa00389b71 but libuvc (which voxl-uvc-server uses) reports the guidFormat as 59555932-0000-1000-8000-00aa00389b71. So, my guess is that since lsusb reports the guidFormat of your camera as 59555932-0000-1000-8000-00aa00389b71, libuvc (and hence voxl-uvc-server) will see it as 32595559-0000-0010-8000-00aa00389b71 which doesn't match any valid formats. I think I can hack libuvc to add the extra guidFormat and then your cameras will work but I won't be able to test it without one of your cameras. But I will post it and you can try it. For reference this is where libuvc needs to be modified to add the extra guidFormat: https://github.com/libuvc/libuvc/blob/37f00abd32b083a3d748f2a25c1c794578b51c16/src/stream.c#L109

    1 Reply Last reply
    0
    • wilkinsafW wilkinsaf

      @Eric-Katzfey

      Apologies for the delay. Some other things came up.
      I was able to pull down the camera information. We have 2 cameras we are trying to get up.

      Cam 1: https://pastebin.com/qHvHKXay
      Cam 2: https://pastebin.com/7DgvP58k

      They appear to be able to post in MJPEG

      Eric KatzfeyE Offline
      Eric KatzfeyE Offline
      Eric Katzfey
      ModalAI Team
      wrote on last edited by
      #22

      @wilkinsaf There is a new version of libuvc available at http://voxl-packages.modalai.com/dev/libuvc_1.0.2_202112182223.ipk with the changes. If you rebuild the dev branch of voxl-uvc-server and install build deps from dev you should pick up the new libuvc. Then you can rebuild and test with your camera.

      wilkinsafW 2 Replies Last reply
      1
      • Eric KatzfeyE Eric Katzfey

        @wilkinsaf There is a new version of libuvc available at http://voxl-packages.modalai.com/dev/libuvc_1.0.2_202112182223.ipk with the changes. If you rebuild the dev branch of voxl-uvc-server and install build deps from dev you should pick up the new libuvc. Then you can rebuild and test with your camera.

        wilkinsafW Offline
        wilkinsafW Offline
        wilkinsaf
        ModalAI Team
        wrote on last edited by
        #23

        @Eric-Katzfey roger that. thank you for your support here Eric

        1 Reply Last reply
        0
        • Eric KatzfeyE Eric Katzfey

          @wilkinsaf There is a new version of libuvc available at http://voxl-packages.modalai.com/dev/libuvc_1.0.2_202112182223.ipk with the changes. If you rebuild the dev branch of voxl-uvc-server and install build deps from dev you should pick up the new libuvc. Then you can rebuild and test with your camera.

          wilkinsafW Offline
          wilkinsafW Offline
          wilkinsaf
          ModalAI Team
          wrote on last edited by
          #24

          @Eric-Katzfey will post results after run

          1 Reply Last reply
          0
          • Eric KatzfeyE Eric Katzfey

            @wilkinsaf Project is here: https://gitlab.com/voxl-public/modal-pipe-architecture/voxl-uvc-server

            wilkinsafW Offline
            wilkinsafW Offline
            wilkinsaf
            ModalAI Team
            wrote on last edited by
            #25

            @Eric-Katzfey Sorry for being such a pain, but it seems like this repo keeps moving.

            I went to https://gitlab.com/voxl-public/modal-pipe-architecture/voxl-uvc-server

            but got this

            533db1c7-724e-4732-bf4a-7659d9acf39d-image.png

            I keep searching around for the repo, but can not find it

            Eric KatzfeyE 1 Reply Last reply
            0
            • wilkinsafW wilkinsaf

              @Eric-Katzfey Sorry for being such a pain, but it seems like this repo keeps moving.

              I went to https://gitlab.com/voxl-public/modal-pipe-architecture/voxl-uvc-server

              but got this

              533db1c7-724e-4732-bf4a-7659d9acf39d-image.png

              I keep searching around for the repo, but can not find it

              Eric KatzfeyE Offline
              Eric KatzfeyE Offline
              Eric Katzfey
              ModalAI Team
              wrote on last edited by
              #26

              @wilkinsaf Sorry, it was setup as private. I changed it to public. Can you try again?

              wilkinsafW 2 Replies Last reply
              0
              • Eric KatzfeyE Eric Katzfey

                @wilkinsaf Sorry, it was setup as private. I changed it to public. Can you try again?

                wilkinsafW Offline
                wilkinsafW Offline
                wilkinsaf
                ModalAI Team
                wrote on last edited by
                #27

                @Eric-Katzfey Got it, thank you!

                Will download and play with

                1 Reply Last reply
                0
                • Eric KatzfeyE Eric Katzfey

                  @wilkinsaf Sorry, it was setup as private. I changed it to public. Can you try again?

                  wilkinsafW Offline
                  wilkinsafW Offline
                  wilkinsaf
                  ModalAI Team
                  wrote on last edited by
                  #28

                  @Eric-Katzfey Will it remain public?

                  Eric KatzfeyE 1 Reply Last reply
                  0
                  • wilkinsafW wilkinsaf

                    @Eric-Katzfey Will it remain public?

                    Eric KatzfeyE Offline
                    Eric KatzfeyE Offline
                    Eric Katzfey
                    ModalAI Team
                    wrote on last edited by
                    #29

                    @wilkinsaf Yes, it will remain public. Did you get a chance to see if the changes worked?

                    wilkinsafW 2 Replies Last reply
                    0
                    • Eric KatzfeyE Eric Katzfey

                      @wilkinsaf Yes, it will remain public. Did you get a chance to see if the changes worked?

                      wilkinsafW Offline
                      wilkinsafW Offline
                      wilkinsaf
                      ModalAI Team
                      wrote on last edited by
                      #30

                      @Eric-Katzfey Testing out today

                      1 Reply Last reply
                      0
                      • Eric KatzfeyE Eric Katzfey

                        @wilkinsaf Yes, it will remain public. Did you get a chance to see if the changes worked?

                        wilkinsafW Offline
                        wilkinsafW Offline
                        wilkinsaf
                        ModalAI Team
                        wrote on last edited by
                        #31

                        @Eric-Katzfey

                        We seem to be having trouble finding the camera now which is weird. I wonder if we need to specifically download and install the drivers?

                        2f9579c4-88ea-4693-b7a8-e67415540bad-image.png

                        Eric KatzfeyE 2 Replies Last reply
                        0
                        • wilkinsafW wilkinsaf

                          @Eric-Katzfey

                          We seem to be having trouble finding the camera now which is weird. I wonder if we need to specifically download and install the drivers?

                          2f9579c4-88ea-4693-b7a8-e67415540bad-image.png

                          Eric KatzfeyE Offline
                          Eric KatzfeyE Offline
                          Eric Katzfey
                          ModalAI Team
                          wrote on last edited by
                          #32

                          @wilkinsaf No, you shouldn't need any drivers. Any USB device should be listed with lsusb, even without any specific drivers. Does it show up when plugged into a regular Linux computer?

                          wilkinsafW 1 Reply Last reply
                          0
                          • Eric KatzfeyE Eric Katzfey

                            @wilkinsaf No, you shouldn't need any drivers. Any USB device should be listed with lsusb, even without any specific drivers. Does it show up when plugged into a regular Linux computer?

                            wilkinsafW Offline
                            wilkinsafW Offline
                            wilkinsaf
                            ModalAI Team
                            wrote on last edited by
                            #33

                            @Eric-Katzfey Yes, we have hardwired it into a computer before. We have seen the stream using ffmpeg on VOXL as well. We just can not seem to get voxl-streamer to work with it

                            1 Reply Last reply
                            0
                            • wilkinsafW wilkinsaf

                              @Eric-Katzfey

                              We seem to be having trouble finding the camera now which is weird. I wonder if we need to specifically download and install the drivers?

                              2f9579c4-88ea-4693-b7a8-e67415540bad-image.png

                              Eric KatzfeyE Offline
                              Eric KatzfeyE Offline
                              Eric Katzfey
                              ModalAI Team
                              wrote on last edited by
                              #34

                              @wilkinsaf If you unplug the camera from Voxl does anything disappear from the lsusb list?

                              wilkinsafW 1 Reply Last reply
                              0
                              • Eric KatzfeyE Eric Katzfey

                                @wilkinsaf If you unplug the camera from Voxl does anything disappear from the lsusb list?

                                wilkinsafW Offline
                                wilkinsafW Offline
                                wilkinsaf
                                ModalAI Team
                                wrote on last edited by wilkinsaf
                                #35

                                @Eric-Katzfey

                                Yes, the top 3 entries in lsusb screenshots above are all cameras. I can unplug those one by one and see them disappear.
                                Would it matter if we have 2 UVC cameras?

                                Eric KatzfeyE 2 Replies Last reply
                                0
                                • wilkinsafW wilkinsaf

                                  @Eric-Katzfey

                                  Yes, the top 3 entries in lsusb screenshots above are all cameras. I can unplug those one by one and see them disappear.
                                  Would it matter if we have 2 UVC cameras?

                                  Eric KatzfeyE Offline
                                  Eric KatzfeyE Offline
                                  Eric Katzfey
                                  ModalAI Team
                                  wrote on last edited by
                                  #36

                                  @wilkinsaf Just try one at a time for now. And when you plug the camera in do you see a new /dev/videoX entry appear?

                                  1 Reply Last reply
                                  0
                                  • wilkinsafW wilkinsaf

                                    @Eric-Katzfey

                                    Yes, the top 3 entries in lsusb screenshots above are all cameras. I can unplug those one by one and see them disappear.
                                    Would it matter if we have 2 UVC cameras?

                                    Eric KatzfeyE Offline
                                    Eric KatzfeyE Offline
                                    Eric Katzfey
                                    ModalAI Team
                                    wrote on last edited by
                                    #37

                                    @wilkinsaf Also, were you able to get the ordering information for these cameras? If they aren't too expensive I would like to order at least one of them to test against.

                                    wilkinsafW 3 Replies Last reply
                                    0
                                    • Eric KatzfeyE Eric Katzfey

                                      @wilkinsaf Also, were you able to get the ordering information for these cameras? If they aren't too expensive I would like to order at least one of them to test against.

                                      wilkinsafW Offline
                                      wilkinsafW Offline
                                      wilkinsaf
                                      ModalAI Team
                                      wrote on last edited by
                                      #38

                                      @Eric-Katzfey

                                      Yes, let me try one at a time now.
                                      Here are the two cameras

                                      4de39b51-2708-4707-a1fe-d67161270aa3-image.png ![0_1640728100493_PXL_20211228_214717072.jpg](Uploading 100%)

                                      1. Banggood URL

                                      2. Blue Robotics URL

                                      Eric KatzfeyE 1 Reply Last reply
                                      0
                                      • Eric KatzfeyE Eric Katzfey

                                        @wilkinsaf Also, were you able to get the ordering information for these cameras? If they aren't too expensive I would like to order at least one of them to test against.

                                        wilkinsafW Offline
                                        wilkinsafW Offline
                                        wilkinsaf
                                        ModalAI Team
                                        wrote on last edited by
                                        #39

                                        @Eric-Katzfey

                                        Good news, I was able to get voxl-uvc-server to spin up with one usb camera connected.
                                        21d09d1b-d888-45a2-a663-51af22ab926b-image.png

                                        However, I am getting this issue from voxl-streamer
                                        cc766c80-29ad-4160-8191-964e40998ea5-image.png

                                        Seems like I need to figure out the frame size and set the correct one. Let me play around with that now

                                        Eric KatzfeyE 1 Reply Last reply
                                        0
                                        • Eric KatzfeyE Eric Katzfey

                                          @wilkinsaf Also, were you able to get the ordering information for these cameras? If they aren't too expensive I would like to order at least one of them to test against.

                                          wilkinsafW Offline
                                          wilkinsafW Offline
                                          wilkinsaf
                                          ModalAI Team
                                          wrote on last edited by
                                          #40

                                          @Eric-Katzfey Doesn't look to be frame size as the "sizes" seem non-deterministic
                                          f7371975-b223-4f6e-a9f0-3e2b3e744c26-image.png

                                          Eric KatzfeyE 1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          ModalAI
                                          Categories Recent Tags ModalAI.com Docs
                                          © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups