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

    voxl-streamer decimator

    Ask your questions right here!
    2
    5
    406
    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.
    • Philemon BennerP
      Philemon Benner
      last edited by

      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 Reply Quote 0
      • Philemon BennerP
        Philemon Benner
        last edited by

        also besides that would be nice if you add

        voxl-configure-pkg-manager
        

        to the docs

        1 Reply Last reply Reply Quote 0
        • Eric KatzfeyE
          Eric Katzfey ModalAI Team @Philemon Benner
          last edited by

          @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 Reply Quote 0
          • Philemon BennerP
            Philemon Benner
            last edited by

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

            Eric KatzfeyE 1 Reply Last reply Reply Quote 0
            • Eric KatzfeyE
              Eric Katzfey ModalAI Team @Philemon Benner
              last edited by

              @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 Reply Quote 0
              • First post
                Last post
              Powered by NodeBB | Contributors