voxl-streamer decimator
-
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 ?
-
also besides that would be nice if you add
voxl-configure-pkg-manager
to the docs
-
@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.
-
@Eric-Katzfey it's the image quality. Thanks for the fast answer ️
-
@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.