stephendade / Rpanion-server

Web-based configurator for companion computers of MAVLink vehicles
https://www.docs.rpanion.com/software/rpanion-server
GNU General Public License v3.0
146 stars 62 forks source link

[Feature Request] Custom Camera Parameter Settings #228

Open lida2003 opened 6 months ago

lida2003 commented 6 months ago

Rpanion Video settings is simple and easy to use (resolution, bitrate, rotation, fps, etc).

Currently, I'm facing noise pixelation. I hope there are more advanced settings opened to public, such as:

Note: Any debug settings or backdoor for tuning is well appreciated.

  1. Lowering ISO:

    raspivid -o video.h264 -w 1280 -h 720 -fps 30 -ISO 100
  2. Increasing Shutter Speed:

    raspivid -o video.h264 -w 1280 -h 720 -fps 30 -ss 10000
    • -ss is the shutter speed in microseconds. Shorter shutter speeds reduce motion blur.
  3. Increasing Bitrate:

    raspivid -o video.h264 -w 1280 -h 720 -fps 30 -b 5000000
    • -b is the bitrate in bits per second. Higher bitrates reduce compression artifacts.
  4. Adjusting Exposure Mode:

    raspivid -o video.h264 -w 1280 -h 720 -fps 30 -ex sports
    • -ex sets the exposure mode. The sports mode is useful for capturing fast-moving subjects.

Combining these settings into one command:

raspivid -o video.h264 -w 1280 -h 720 -fps 30 -ISO 100 -ss 10000 -b 5000000 -ex sports

When takeoff, the video image is NOT good.

https://www.youtube.com/watch?v=9-dx-JjKZ1M

And it's on the Rover also

https://www.youtube.com/watch?v=Q-lAwk4nHVo