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

    voxl-streamer client repetitive connect/disconnect

    Ask your questions right here!
    3
    63
    7.4k
    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.
    • W
      wilkinsaf ModalAI Team
      last edited by 17 Dec 2021, 16:52

      Not sure if voxl-uvc-server got removed.
      I can not seem to find it in the public repo:

      6c9ccd79-a410-48ce-9117-b4ec0156f68e-image.png

      E 2 Replies Last reply 17 Dec 2021, 16:56 Reply Quote 0
      • E
        Eric Katzfey ModalAI Team @wilkinsaf
        last edited by 17 Dec 2021, 16:56

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

        W 1 Reply Last reply 21 Dec 2021, 16:10 Reply Quote 0
        • E
          Eric Katzfey ModalAI Team @wilkinsaf
          last edited by 17 Dec 2021, 16:58

          @wilkinsaf The current voxl-uvc-server capabilities only cover uncompressed frames, not mjpeg. The two cameras that you are looking at both have uncompressed formats but the guidFormat is slightly different than the cameras I have tested with. Let me look into this a little deeper.

          1 Reply Last reply Reply Quote 0
          • E
            Eric Katzfey ModalAI Team @wilkinsaf
            last edited by 17 Dec 2021, 17:27

            @wilkinsaf The formats should be compatible. I'll have to dig into the libuvc code to see why they are not accepted.

            1 Reply Last reply Reply Quote 0
            • E
              Eric Katzfey ModalAI Team @wilkinsaf
              last edited by 17 Dec 2021, 18:14

              @wilkinsaf Are either of these cameras cheap and easy to purchase?

              1 Reply Last reply Reply Quote 0
              • W
                wilkinsaf ModalAI Team
                last edited by 17 Dec 2021, 19:02

                I believe so. Let me find them online really quick. I was able to get the video's from the cameras streaming using the directions here: https://docs.modalai.com/uvc-streaming/

                I moved over the ffmpeg ipk and executed
                ffmpeg -i /dev/video2 -f mpegts udp://QCS_IP:4242

                So I know that they are working.

                1 Reply Last reply Reply Quote 0
                • E
                  Eric Katzfey ModalAI Team @wilkinsaf
                  last edited by 18 Dec 2021, 18:53

                  @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 Reply Quote 0
                  • E
                    Eric Katzfey ModalAI Team @wilkinsaf
                    last edited by 18 Dec 2021, 22:25

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

                    W 2 Replies Last reply 20 Dec 2021, 18:48 Reply Quote 1
                    • W
                      wilkinsaf ModalAI Team @Eric Katzfey
                      last edited by 20 Dec 2021, 18:48

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

                      1 Reply Last reply Reply Quote 0
                      • W
                        wilkinsaf ModalAI Team @Eric Katzfey
                        last edited by 20 Dec 2021, 18:55

                        @Eric-Katzfey will post results after run

                        1 Reply Last reply Reply Quote 0
                        • W
                          wilkinsaf ModalAI Team @Eric Katzfey
                          last edited by 21 Dec 2021, 16:10

                          @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

                          E 1 Reply Last reply 21 Dec 2021, 20:39 Reply Quote 0
                          • E
                            Eric Katzfey ModalAI Team @wilkinsaf
                            last edited by 21 Dec 2021, 20:39

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

                            W 2 Replies Last reply 22 Dec 2021, 03:21 Reply Quote 0
                            • W
                              wilkinsaf ModalAI Team @Eric Katzfey
                              last edited by 22 Dec 2021, 03:21

                              @Eric-Katzfey Got it, thank you!

                              Will download and play with

                              1 Reply Last reply Reply Quote 0
                              • W
                                wilkinsaf ModalAI Team @Eric Katzfey
                                last edited by 22 Dec 2021, 03:25

                                @Eric-Katzfey Will it remain public?

                                E 1 Reply Last reply 23 Dec 2021, 15:48 Reply Quote 0
                                • E
                                  Eric Katzfey ModalAI Team @wilkinsaf
                                  last edited by 23 Dec 2021, 15:48

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

                                  W 2 Replies Last reply 27 Dec 2021, 19:39 Reply Quote 0
                                  • W
                                    wilkinsaf ModalAI Team @Eric Katzfey
                                    last edited by 27 Dec 2021, 19:39

                                    @Eric-Katzfey Testing out today

                                    1 Reply Last reply Reply Quote 0
                                    • W
                                      wilkinsaf ModalAI Team @Eric Katzfey
                                      last edited by 28 Dec 2021, 18:46

                                      @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

                                      E 2 Replies Last reply 28 Dec 2021, 18:58 Reply Quote 0
                                      • E
                                        Eric Katzfey ModalAI Team @wilkinsaf
                                        last edited by 28 Dec 2021, 18:58

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

                                        W 1 Reply Last reply 28 Dec 2021, 18:59 Reply Quote 0
                                        • W
                                          wilkinsaf ModalAI Team @Eric Katzfey
                                          last edited by 28 Dec 2021, 18:59

                                          @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 Reply Quote 0
                                          • E
                                            Eric Katzfey ModalAI Team @wilkinsaf
                                            last edited by 28 Dec 2021, 19:00

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

                                            W 1 Reply Last reply 28 Dec 2021, 20:52 Reply Quote 0
                                            15 out of 63
                                            • First post
                                              15/63
                                              Last post
                                            Powered by NodeBB | Contributors