From 4bf925eb1c26bb54fe5daca5adaea93fd394bdcd Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 18 Dec 2021 16:28:21 -0500 Subject: [PATCH] changed libcamera-still to libcamera-jpeg --- rpitx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpitx.py b/rpitx.py index 07181daa..c5d2d71d 100644 --- a/rpitx.py +++ b/rpitx.py @@ -190,7 +190,7 @@ if __name__ == "__main__": except: print("image 2 did not load - copy from CubeSatSim/sstv directory") while 1: - system("libcamera-still -o /home/pi/CubeSatSim/camera_out.jpg --width 320 --height 256") # > /dev/null 2>&1") + system("libcamera-jpeg -o /home/pi/CubeSatSim/camera_out.jpg --width 320 --height 256") # > /dev/null 2>&1") print("Photo taken") system("/home/pi/PiSSTVpp/pisstvpp -r 48000 -p s2 /home/pi/CubeSatSim/camera_out.jpg") system("sudo rm /home/pi/CubeSatSim/camera_out.jpg > /dev/null 2>&1")