Differences between rpicam and raspicam
The rpicam-apps emulate most features of the legacy raspicam applications. However, you might notice the following differences:
-
Boost
program_optionsdon’t allow multi-character short versions of options, so where these were present they have had to be dropped. The long form options are named the same way, and any single-character short forms are preserved. -
rpicam-stillandrpicam-jpegdo not show the captured image in the preview window. -
rpicam-appsremoved the followingraspicamfeatures:-
opacity (
--opacity) -
image effects (
--imxfx) -
colour effects (
--colfx) -
annotation (
--annotate,--annotateex) -
dynamic range compression, or DRC (
--drc) -
stereo (
--stereo,--decimateand--3dswap) -
image stabilisation (
--vstab) -
demo modes (
--demo)Post-processing replaced many of these features.
-
-
rpicam-appsremovedrotationoption support for 90° and 270° rotations. -
raspicamconflated metering and exposure;rpicam-appsseparates these options. -
To disable Auto White Balance (AWB) in
rpicam-apps, set a pair of colour gains withawbgains(for example,1.0,1.0). -
rpicam-appscannot set Auto White Balance (AWB) into greyworld mode for NoIR camera modules. Instead, pass thetuning-fileoption a NoIR-specific tuning file likeimx219_noir.json. -
rpicam-appsdoes not provide explicit control of digital gain. Instead, thegainoption sets it implicitly. -
rpicam-appsremoved the--ISOoption. Instead, calculate the gain corresponding to the ISO value required. Vendors can provide mappings of gain to ISO. -
rpicam-appsdoes not support setting a flicker period. -
rpicam-stilldoes not support burst capture. Instead, consider usingrpicam-vidin MJPEG mode with--segment 1to force each frame into a separate file. -
rpicam-appsuses open source drivers for all image sensors, so the mechanism for enabling or disabling on-sensor Defective Pixel Correction (DPC) is different. The imx477 driver on the Raspberry Pi HQ Camera enables on-sensor DPC by default. To disable on-sensor DPC on the HQ Camera, run the following command:$ sudo echo 0 > /sys/module/imx477/parameters/dpc_enable