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

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL 2 and VOXL 2 Mini
  3. How to record high resolution camera frames/videos?

How to record high resolution camera frames/videos?

Scheduled Pinned Locked Moved Unsolved VOXL 2 and VOXL 2 Mini
voxl-2
7 Posts 3 Posters 1.7k Views
  • 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.
  • A Offline
    A Offline
    afdrus
    Regular
    wrote on last edited by
    #1

    Hi everyone,
    I am currently working with a Sentinel dev drone (VOXL2) on which voxl-camera-server version 1.3.5 and voxl-streamer version 0.4.1 are running. I tried to save frames through voxl-logger, but the saved images have a resolution preview_width x preview_height = 1280 x 720 instead of snapshot_width x snapshot_height = 3840 x 2160 (as specified in the voxl-camera-server.conf file). Is it possible to save the frame (and also stream the video) in the original format (3840 x 2160) and NOT in the preview format (1280 x 720)?
    Thank you in advance for your response.

    1 Reply Last reply
    0
    • ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      The frames that go through logger/streamer are the preview stream, to take a snapshot run voxl-send-command hires snapshot <file path> and it will save a full resolution jpeg snapshot to the filesystem. You can also not provide a file path and it will save to /data/snapshots/

      1 Reply Last reply
      0
      • A Offline
        A Offline
        afdrus
        Regular
        wrote on last edited by
        #3

        Thank you for your quick response. I tried to use the command that you suggested

        voxl-send-command hires snapshot
        

        After running this command the console prompts

        Successfully sent command to /run/mpa/hires/control
        

        However no path /data/snapshots/ is created and no .jpg is saved in the /data/ folder. If I try to run again the same command the following response appears

        Unable to find valid pipe that accepts control commands at: hires
        

        The only way to retry to take another snapshot is to reboot the system, but it keeps not saving any images.

        A 1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          Sounds like an error occurred, what does journalctl -u voxl-camera-server say after running the commands?

          1 Reply Last reply
          0
          • A Offline
            A Offline
            afdrus
            Regular
            wrote on last edited by
            #5
            Feb 09 11:44:02 m0054 systemd[1]: Started voxl-camera-server.
            Feb 09 11:44:04 m0054 bash[1394]: ------ voxl-camera-server: Camera server is now running
            Feb 09 11:44:04 m0054 bash[1394]: WARNING: Camera stereo_front recieved much newer master than child
            Feb 09 11:44:04 m0054 bash[1394]: WARNING: Camera stereo_rear recieved much newer child than master 
            Feb 09 11:55:32 m0054 bash[1394]: Camera: hires taking snapshot (destination: /data/snapshots/hires-
            Feb 09 11:55:33 m0054 bash[1394]: free(): invalid pointer
            Feb 09 11:55:33 m0054 systemd[1]: voxl-camera-server.service: Main process exited, code=killed, stat
            Feb 09 11:55:33 m0054 systemd[1]: voxl-camera-server.service: Failed with result 'signal'.
            
            1 Reply Last reply
            0
            • A Offline
              A Offline
              aharvey
              Contributor
              wrote on last edited by
              #6

              I am having the same problem. I created a the snapshots folder too, and the camera server crashes.

              1 Reply Last reply
              -1
              • A afdrus

                Thank you for your quick response. I tried to use the command that you suggested

                voxl-send-command hires snapshot
                

                After running this command the console prompts

                Successfully sent command to /run/mpa/hires/control
                

                However no path /data/snapshots/ is created and no .jpg is saved in the /data/ folder. If I try to run again the same command the following response appears

                Unable to find valid pipe that accepts control commands at: hires
                

                The only way to retry to take another snapshot is to reboot the system, but it keeps not saving any images.

                A Offline
                A Offline
                aharvey
                Contributor
                wrote on last edited by
                #7

                @afdrus instead of rebooting, you can restart the server with: systemctl restart voxl-camera-server

                1 Reply Last reply
                0

                Reading along? Create a free ModalAI Forum account to join in.

                With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.

                Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.

                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