<< return to Vizycam.com

User Tools

Site Tools


wiki:running_utilities

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:running_utilities [2021/10/08 10:43]
vizycam
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
  
-And you'll want to 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:+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-vid|libcamera-vid]]
Line 22: Line 24:
 ==== Running the legacy utilities ==== ==== 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. ​But 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 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.
  
  
wiki/running_utilities.1633707836.txt.gz · Last modified: 2021/10/08 10:43 by vizycam