This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wiki:running_utilities [2021/10/08 10:35] vizycam created |
wiki:running_utilities [2022/02/18 23:35] (current) freed add / remove commas, put utility names in code font |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Running Raspberry Pi camera utilities ====== | + | ====== Running the Raspberry Pi camera utilities ====== |
- | If you have experience with Raspberry Pi's and Raspberry Pi cameras, you're probably familiar with raspivid, raspistill, and raspiraw. As of January 2021, these utilities have been deprecated and replaced with libcamera utilities libcamera-vid, libcamera-still, and libcamera-raw. | + | If you have experience with Raspberry Pi's and Raspberry Pi cameras, you're probably familiar with ''raspivid'', ''raspistill'', and ''raspiraw''. As of January 2021, these utilities have been deprecated and replaced with libcamera utilities ''libcamera-vid'', ''libcamera-still'', ''libcamera-raw'' and others. |
===== What is libcamera? ===== | ===== What is libcamera? ===== | ||
Line 9: | Line 9: | ||
===== Running the utilities ===== | ===== Running the utilities ===== | ||
- | Before running these utilities, you’ll need to stop the vizy server: | + | Before running these utilities, you’ll need to stop the Vizy server because it is likely using the camera interface: |
sudo systemctl stop vizy-server | sudo systemctl stop vizy-server | ||
- | The libcamera utilities are installed on Vizy and in the shell search path (libcamera-vid, libcamera-still, etc). The advantage of using these utiltiies instead of the older ones is that libcamera offers better performance (significantly better images) over the older utilities and it’s more modular for mixing in customizations. | + | This will stop the Vizy server. (To run the server again, either reboot or run ''%%sudo systemctl start vizy-server%%''). You'll also want to [[wiki:connect_monitor_etc|hook Vizy to a monitor]], as most utilities preview the video through the monitor. |
+ | |||
+ | The libcamera utilities are installed on Vizy and in the shell search path: | ||
+ | |||
+ | * [[https://www.raspberrypi.com/documentation/accessories/camera.html#libcamera-vid|libcamera-vid]] | ||
+ | * [[https://www.raspberrypi.com/documentation/accessories/camera.html#libcamera-still|libcamera-still]] | ||
+ | * [[https://www.raspberrypi.com/documentation/accessories/camera.html#libcamera-raw|libcamera-raw]] | ||
+ | * [[https://www.raspberrypi.com/documentation/accessories/camera.html#libcamera-and-libcamera-apps|and others]] | ||
+ | |||
+ | ==== Running the legacy utilities ==== | ||
+ | |||
+ | If you want to go back to the legacy utilities, you can change ''/boot/config.txt'' by commenting out the line that says ''%%dtoverlay=imx477%%'' and rebooting. You can then run ''raspivid'', ''raspistill'', etc., which are also installed. However, when you make this change to config.txt, the Vizy server/software will no longer be able to get camera data and will likely give up and exit. | ||
- | If you want to go back to the old stuff, you can change /boot/config.txt by commenting out the line that says “dtoverlay=imx477” and rebooting. You can then run raspistill, raspivid, etc, which are also installed. But when you do this, the Vizy server/software will not longer be able to get camera data and will likely give up and exit. |