• 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
    5.3k
    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 @Eric Katzfey
      last edited by 29 Dec 2021, 16:53

      @Eric-Katzfey

      I know that it is there as ffmpeg picks up on it

      6daa081a-c811-465d-b76b-e9f2a8e8c107-image.png

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

        @wilkinsaf Unfortunately, it's hard to debug this without actually having the camera in my test setup. I've never seen a camera stop being detected like that. I did order the cameras but won't have them in my possession until the 9th of January.

        W 1 Reply Last reply 6 Jan 2022, 01:20 Reply Quote 0
        • W
          wilkinsaf ModalAI Team @Eric Katzfey
          last edited by 6 Jan 2022, 01:20

          @Eric-Katzfey My apologies. I thought I sent a response to this.

          Totally get it. Debugging over a message board is really hard. I believe my associate is getting some of the cameras to your offices sooner than the 9th.

          I have been continuing to try different things on our end.

          E 1 Reply Last reply 12 Jan 2022, 00:00 Reply Quote 0
          • E
            Eric Katzfey ModalAI Team @wilkinsaf
            last edited by Chad Sweet 30 Mar 2022, 04:11 12 Jan 2022, 00:00

            @wilkinsaf I have both of the cameras now. I have updated libuvc to version 1.0.3 (http://voxl-packages.modalai.com/dev/) and voxl-uvc-server to version 0.0.6 (http://voxl-packages.modalai.com/dev/). The voxl-uvc-server update isn't really necessary but I cleaned up a little bit of the debug logic. There was a check that was failing in libuvc for the Blue Robotics camera (USB 32e4:9422, "H264 USB Camera") so I removed that check and then it started working. So far it has been reliable. The other camera (USB 337b:090c, "HBVCAM 5M-AF") was coming up without these changes. However, it isn't reliable. Sometimes uvc_open will fail, other times it will pass. If it passes then sometimes it will successfully start streaming and other times it will think it was successful but gets no frames. Not sure why it is having these issues so need to debug more.

            W 1 Reply Last reply 12 Jan 2022, 20:10 Reply Quote 0
            • W
              wilkinsaf ModalAI Team @Eric Katzfey
              last edited by 12 Jan 2022, 20:10

              @Eric-Katzfey Awesome!

              Thank you Eric. Will try that out and report back

              E 1 Reply Last reply 12 Jan 2022, 23:13 Reply Quote 0
              • E
                Eric Katzfey ModalAI Team @wilkinsaf
                last edited by Chad Sweet 30 Mar 2022, 04:10 12 Jan 2022, 23:13

                @wilkinsaf A new version of voxl-uvc-server was just posted here: http://voxl-packages.modalai.com/dev/. Documentation has been updated accordingly: https://docs.modalai.com/voxl-uvc-server/. Seems to be working pretty well with your cameras but one of them will fail occasionally. The program will fail and you can try again when that happens. Still not sure why it isn't reliable on all cameras.

                W 3 Replies Last reply 13 Jan 2022, 16:08 Reply Quote 0
                • W
                  wilkinsaf ModalAI Team @Eric Katzfey
                  last edited by 13 Jan 2022, 16:08

                  @Eric-Katzfey Nice! Thank you for putting the time in to get that for us.

                  1 Reply Last reply Reply Quote 0
                  • W
                    wilkinsaf ModalAI Team @Eric Katzfey
                    last edited by 17 Jan 2022, 18:50

                    @Eric-Katzfey the uvc-server appears to be working. however, the voxl-streamer does not seem to be able to connect to the pipe. is there a different voxl-streamer command than what was mentioned above?

                    voxl-streamer -f /usr/share/modalai/voxl-streamer/voxl-streamer.conf -c uvc-server
                    
                    1 Reply Last reply Reply Quote 0
                    • W
                      wilkinsaf ModalAI Team @Eric Katzfey
                      last edited by wilkinsaf 17 Jan 2022, 19:08 17 Jan 2022, 19:07

                      @Eric-Katzfey 547c03aa-fb6a-4705-84a4-2c26d30adbfb-image.png

                      6d85e44e-e168-4c9e-a548-037aca9c4731-image.png

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

                        @wilkinsaf Yes, there is a newer version of voxl-streamer available that has some new configurations defined. See documenation here: https://docs.modalai.com/voxl-streamer/#streaming-uvc-cameras-from-voxl-uvc-server

                        W 1 Reply Last reply 17 Jan 2022, 20:14 Reply Quote 1
                        • W
                          wilkinsaf ModalAI Team @Eric Katzfey
                          last edited by wilkinsaf 17 Jan 2022, 20:24 17 Jan 2022, 20:14

                          @Eric-Katzfey I am not seeing the uvc-generic in my /etc/modalai/voxl-streamer.conf file after my install of voxl-streamer_0.2.7_202111272338.ipk

                          Is there a repo online of these .conf files?

                          I found the voxl-streamer.conf file in the gitlab repo, however I do not see the uvc-generic tag in any of the branches I looked through

                          E 1 Reply Last reply 17 Jan 2022, 21:11 Reply Quote 0
                          • E
                            Eric Katzfey ModalAI Team @wilkinsaf
                            last edited by 17 Jan 2022, 21:11

                            @wilkinsaf Sorry, forgot to deploy the latest one. It is there now.

                            W 1 Reply Last reply 17 Jan 2022, 23:31 Reply Quote 0
                            • W
                              wilkinsaf ModalAI Team @Eric Katzfey
                              last edited by 17 Jan 2022, 23:31

                              @Eric-Katzfey Got it working about 50% of the time. It seems like most of the time it is just the uvc server trying to connect. I am going to see if I can create a service file around it. Maybe restarting on fail will get it to work with a bit of delay in between.

                              A bandaid for the issue, but at least it will work

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