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

    How to stream hires camera at VGA resolution and simultaneously capture 4k30 to a file

    Ask your questions right here!
    4
    14
    1.2k
    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.
    • E
      Eric Katzfey ModalAI Team @czarsimon
      last edited by 27 Apr 2022, 17:10

      @czarsimon All parameters except for the filename are fixed right now. Feel free to modify the source and rebuild to change things. Future versions will allow more things to be configured.

      1 Reply Last reply Reply Quote 0
      • C
        czarsimon
        last edited by 27 Apr 2022, 17:12

        That worked, I'll take a look at the source. Thanks!

        1 Reply Last reply Reply Quote 0
        • E
          Eric Katzfey ModalAI Team
          last edited by 3 May 2022, 18:00

          There is now an updated version. It is available using wget https://storage.googleapis.com/modalai_public/modal_packages/archive/voxl-hires-server_0.0.2.ipk. This newer version allows configuration of the camera number and the resolution of the video that gets sent to MPA. It also has a new feature to record JPEG snapshots every second. One should choose either video capture or snapshots but not both simultaneously as it will drop frames in the captured video.

          1 Reply Last reply Reply Quote 0
          • E
            Eric Katzfey ModalAI Team
            last edited by 3 May 2022, 18:20

            Yet another version is now available with wget https://storage.googleapis.com/modalai_public/modal_packages/archive/voxl-hires-server_0.0.3.ipk. This has a couple of new command line configuration options to select video capture / jpeg snapshot resolution and video capture frame rate.

            S 1 Reply Last reply 11 Aug 2022, 14:33 Reply Quote 0
            • K
              kitkatSG
              last edited by 20 Jun 2022, 23:03

              Hi,
              I'm new to QRB5. Can you guide me step-by-step to login the voxl terminal? Now I can ssh or adb to the QRB5 (which I guess is PX4), but not the voxl. Thank you.

              E 1 Reply Last reply 21 Jun 2022, 22:05 Reply Quote 0
              • E
                Eric Katzfey ModalAI Team @kitkatSG
                last edited by 21 Jun 2022, 22:05

                @kitkatSG Are you referring to the screen shot from above? That is on a voxl board, not an RB5. That is what you get when logging in via adb. So if you are already in with adb then you are on the RB5. That would not be the PX4 shell.

                K 1 Reply Last reply 21 Jun 2022, 23:01 Reply Quote 0
                • K
                  kitkatSG @Eric Katzfey
                  last edited by 21 Jun 2022, 23:01

                  @Eric-Katzfey Yes, I referred to the screenshot above. Thank you for clarifying my misunderstanding about QRB5.

                  1 Reply Last reply Reply Quote 0
                  • S
                    sspiller @Eric Katzfey
                    last edited by 11 Aug 2022, 14:33

                    @Eric-Katzfey said in How to stream hires camera at VGA resolution and simultaneously capture 4k30 to a file:

                    Yet another version is now available with wget https://storage.googleapis.com/modalai_public/modal_packages/archive/voxl-hires-server_0.0.3.ipk. This has a couple of new command line configuration options to select video capture / jpeg snapshot resolution and video capture frame rate.

                    Eric, is this new module tied in with any MAVLINK commands that we can send from QGroundControl to turn it on and off or do we have to write a custom program / config file for every combination? Along same lines, does your system support standard MAVLINK camera commands from QGC to take a picture or do we have to write custom code to do that as well?

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

                      @sspiller That module is not tied into mavlink at all. There is code available the implements a portion of the mavlink camera protocol here: https://gitlab.com/voxl-public/voxl-sdk/utilities/mavlink-camera-manager/-/tree/add-snapshot-mode. Both of these modules are place holders until a full implementation of snapshots and video recording is available. It is something we are working on but we cannot offer a timeline on availability right now.

                      1 Reply Last reply Reply Quote 0
                      • C
                        czarsimon
                        last edited by 23 Nov 2022, 23:11

                        Hi @Eric-Katzfey is it possible to use the voxl-hires-server project with the tracking/stereo cameras? The default configuration doesn't seem to work. Thank you

                        E 1 Reply Last reply 25 Nov 2022, 18:02 Reply Quote 0
                        • E
                          Eric Katzfey ModalAI Team @czarsimon
                          last edited by 25 Nov 2022, 18:02

                          @czarsimon Yes, it should be possible. But there are probably hard coded parameters in the code that make it only work with the hires camera right now. That code has been archived but is still available here: https://gitlab.com/voxl-public/voxl-sdk/services/voxl-hires-server

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