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

ModalAI Forum

  1. ModalAI Support Forum
  2. General Questions
  3. voxl-streamer decimator

voxl-streamer decimator

Scheduled Pinned Locked Moved Unsolved General Questions
5 Posts 2 Posters 925 Views 1 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.
  • Philemon BennerP Offline
    Philemon BennerP Offline
    Philemon Benner
    Regular
    wrote on last edited by
    #1

    Hey,
    i'm currently pushing frames from tflite-server to voxl-streamer rtsp. My question is what the decimator parameter in /etc/modalai/voxl-streamer.conf exactly does, because when you lower it fps are higher resolution goes down, if i set a higher value fps are less but image quality gets better.

    In https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-streamer/-/blob/master/src/main.c

    ctx->input_frame_rate /= ctx->output_frame_decimator;
    ctx->output_frame_rate = ctx->input_frame_rate;
    

    it seems to just cut down the input frame rate. But why does the resolution change if we just lower the output_frame_rate ?

    Eric KatzfeyE 1 Reply Last reply
    0
    • Philemon BennerP Offline
      Philemon BennerP Offline
      Philemon Benner
      Regular
      wrote on last edited by
      #2

      also besides that would be nice if you add

      voxl-configure-pkg-manager
      

      to the docs

      1 Reply Last reply
      0
      • Philemon BennerP Philemon Benner

        Hey,
        i'm currently pushing frames from tflite-server to voxl-streamer rtsp. My question is what the decimator parameter in /etc/modalai/voxl-streamer.conf exactly does, because when you lower it fps are higher resolution goes down, if i set a higher value fps are less but image quality gets better.

        In https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-streamer/-/blob/master/src/main.c

        ctx->input_frame_rate /= ctx->output_frame_decimator;
        ctx->output_frame_rate = ctx->input_frame_rate;
        

        it seems to just cut down the input frame rate. But why does the resolution change if we just lower the output_frame_rate ?

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

        @Philemon-Benner When you say resolution goes down are you referring to image quality or the actual width x height resolution? If you are talking about image quality that makes sense because the video encoder is working toward a target output bit rate. If you have more frames in one second then it has to decrease quality in order to meet the target output bit rate.

        1 Reply Last reply
        0
        • Philemon BennerP Offline
          Philemon BennerP Offline
          Philemon Benner
          Regular
          wrote on last edited by
          #4

          @Eric-Katzfey it's the image quality. Thanks for the fast answer ☺️

          Eric KatzfeyE 1 Reply Last reply
          0
          • Philemon BennerP Philemon Benner

            @Eric-Katzfey it's the image quality. Thanks for the fast answer ☺️

            Eric KatzfeyE Offline
            Eric KatzfeyE Offline
            Eric Katzfey
            ModalAI Team
            wrote on last edited by
            #5

            @Philemon-Benner No problem. But that's exactly why the decimator is there. It's often nicer to see lower frame rate with higher image quality.

            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