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. How to stream hires camera at VGA resolution and simultaneously capture 4k30 to a file

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

Scheduled Pinned Locked Moved Ask your questions right here!
14 Posts 4 Posters 4.2k Views 2 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.
  • Eric KatzfeyE Online
    Eric KatzfeyE Online
    Eric Katzfey
    ModalAI Team
    wrote on last edited by
    #1

    There is a new module under development that allows you to pipe VGA (640x480) video from the hires camera at 30fps via MPA so that it can be streamed with voxl-streamer using RTSP while simultaneously saving 4k HD video at 30fps encoded as h265 into a file, preferably on the SD card on voxl. This module is now available in beta and will be officially released in upcoming releases of the voxl SDK for voxl, rb5-flight, and voxl 2. The beta package is available using wget https://storage.googleapis.com/modalai_public/modal_packages/archive/voxl-hires-server_0.0.1.ipk. It is meant for use on voxl only and is compatible with voxl platform release 3-3-0-0.5.0-a. In order to use it with voxl-camera-server, reconfigure voxl-camera-server to not use the hires camera. For example, call voxl-configure-cameras and choose option 1 Tracking + Stereo to allow voxl-camera-server to access the tracking and stereo cameras but not the hires camera. Then you can use voxl-hires-server for the hires camera. Use voxl-hires-server -h to see the available options. More documentation will be available upon official release of this new package.

    1 Reply Last reply
    3
    • C Offline
      C Offline
      czarsimon
      Regular
      wrote on last edited by
      #2

      Hi @Eric-Katzfey thanks for this update. I tried installing this on a fresh 3-3-0-0.5.0-a installation but got the following error:

      voxl:~$ opkg install voxl-hires-server_0.0.1.ipk
      Not selecting voxl-hires-server 0.0.1 due to incompatible architecture.
      Unknown package 'voxl-hires-server'.
      Collected errors:
       * opkg_install_cmd: Cannot install package voxl-hires-server.
      voxl:~$ 
      

      Also is the streaming resolution configurable or is it locked to VGA?

      Eric KatzfeyE 2 Replies Last reply
      0
      • C czarsimon

        Hi @Eric-Katzfey thanks for this update. I tried installing this on a fresh 3-3-0-0.5.0-a installation but got the following error:

        voxl:~$ opkg install voxl-hires-server_0.0.1.ipk
        Not selecting voxl-hires-server 0.0.1 due to incompatible architecture.
        Unknown package 'voxl-hires-server'.
        Collected errors:
         * opkg_install_cmd: Cannot install package voxl-hires-server.
        voxl:~$ 
        

        Also is the streaming resolution configurable or is it locked to VGA?

        Eric KatzfeyE Online
        Eric KatzfeyE Online
        Eric Katzfey
        ModalAI Team
        wrote on last edited by
        #3

        @czarsimon Can you add the line arch arm64 7 to /etc/opkg/arch.conf and try installation again?

        1 Reply Last reply
        0
        • C czarsimon

          Hi @Eric-Katzfey thanks for this update. I tried installing this on a fresh 3-3-0-0.5.0-a installation but got the following error:

          voxl:~$ opkg install voxl-hires-server_0.0.1.ipk
          Not selecting voxl-hires-server 0.0.1 due to incompatible architecture.
          Unknown package 'voxl-hires-server'.
          Collected errors:
           * opkg_install_cmd: Cannot install package voxl-hires-server.
          voxl:~$ 
          

          Also is the streaming resolution configurable or is it locked to VGA?

          Eric KatzfeyE Online
          Eric KatzfeyE Online
          Eric Katzfey
          ModalAI Team
          wrote on last edited by
          #4

          @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
          0
          • C Offline
            C Offline
            czarsimon
            Regular
            wrote on last edited by
            #5

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

            1 Reply Last reply
            0
            • Eric KatzfeyE Online
              Eric KatzfeyE Online
              Eric Katzfey
              ModalAI Team
              wrote on last edited by
              #6

              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
              0
              • Eric KatzfeyE Online
                Eric KatzfeyE Online
                Eric Katzfey
                ModalAI Team
                wrote on last edited by
                #7

                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.

                sspillerS 1 Reply Last reply
                0
                • K Offline
                  K Offline
                  kitkatSG
                  Contributor
                  wrote on last edited by
                  #8

                  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.

                  Eric KatzfeyE 1 Reply Last reply
                  0
                  • K kitkatSG

                    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.

                    Eric KatzfeyE Online
                    Eric KatzfeyE Online
                    Eric Katzfey
                    ModalAI Team
                    wrote on last edited by
                    #9

                    @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
                    0
                    • Eric KatzfeyE Eric Katzfey

                      @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 Offline
                      K Offline
                      kitkatSG
                      Contributor
                      wrote on last edited by
                      #10

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

                      1 Reply Last reply
                      0
                      • Eric KatzfeyE Eric Katzfey

                        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.

                        sspillerS Offline
                        sspillerS Offline
                        sspiller
                        wrote on last edited by
                        #11

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

                        Eric KatzfeyE 1 Reply Last reply
                        0
                        • sspillerS sspiller

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

                          Eric KatzfeyE Online
                          Eric KatzfeyE Online
                          Eric Katzfey
                          ModalAI Team
                          wrote on last edited by
                          #12

                          @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
                          0
                          • C Offline
                            C Offline
                            czarsimon
                            Regular
                            wrote on last edited by
                            #13

                            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

                            Eric KatzfeyE 1 Reply Last reply
                            0
                            • C czarsimon

                              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

                              Eric KatzfeyE Online
                              Eric KatzfeyE Online
                              Eric Katzfey
                              ModalAI Team
                              wrote on last edited by
                              #14

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