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. voxl-streamer decimator

voxl-streamer decimator

Scheduled Pinned Locked Moved Ask your questions right here!
5 Posts 2 Posters 824 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

            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