Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7503

Camera board • Blank JPG from camera when using SSH

$
0
0
Hi,

I am using the current Raspi OS Lite on a PI Zero W with one of the original cameras attached.

If I log into the Pi directly and run this script, it works and I get the expected JPG

Code:

#!/bin/bashlibcamera-still --width 1280 --height 720 --immediate -o test3.jpg
So I know the camera is connected and working.

However. If I log in via SSH (Using Putty from Windows 11) and run the same script, all I get is a blank JPG.

I have tried doing the same thing from a Python program (using the picamera2 interface), and get the same results. Works when logged in directly, but fails when logged in via SSH.

The console output from both the direct log in and the SSH login have the same messages.

Code:

nick@camerapione:~ $ libcamera-still  --width 1280 --height 720 --immediate -o test3.jpgMade DRM preview window[0:02:52.694917388] [592]  INFO Camera camera_manager.cpp:297 libcamera v0.0.5+83-bde9b04f[0:02:52.879751490] [593]  WARN RPI vc4.cpp:383 Mismatch between Unicam and CamHelper for embedded data usage![0:02:52.885778395] [593]  INFO RPI vc4.cpp:437 Registered camera /base/soc/i2c0mux/i2c@1/imx219@10 to Unicam device /dev/media3 and ISP device /dev/media0[0:02:52.887556367] [593]  INFO RPI pipeline_base.cpp:1101 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml'[0:02:52.899486180] [592]  INFO Camera camera.cpp:1033 configuring streams: (0) 1280x720-YUV420 (1) 3280x2464-SBGGR10_CSI2P[0:02:52.903423118] [593]  INFO RPI vc4.cpp:565 Sensor: /base/soc/i2c0mux/i2c@1/imx219@10 - Selected sensor format: 3280x2464-SBGGR10_1X10 - Selected unicam format: 3280x2464-pBAAStill capture image receivednick@camerapione:~ $

Statistics: Posted by vrtisworks — Sat Apr 13, 2024 6:54 pm — Replies 0 — Views 38



Viewing all articles
Browse latest Browse all 7503

Trending Articles