Camera model
Logitech C920
What is the problem?
Hello OctoPrint Community,
I am reaching out for assistance with setting up a Logitech C920 webcam on my OctoPi system. I am attempting to use multiple cameras, but I am encountering issues with getting the C920 to stream. The PI camera connected via Ribbon cable no problem its just the C920 doesn't seem to show a stream
Setup Details:
- Raspberry Pi running OctoPi Version 1.9.3 with camera stac
- Logitech C920 connected via USB.
- Attempting to set up the C920 as a second camera alongside my existing Pi camera.
Steps Taken So Far:
- Added the C920 using the
sudo add-usb-camera c920
command. This set up the camera on port 8081. - Confirmed that the C920 is recognised by the system with
lsusb
. - Checked the camera configuration file at
/boot/camera-streamer/usb-c920.conf
. The configuration includes:
PORT=8081
DEVICE=/dev/v4l/by-id/usb-046d_HD_Pro_Webcam_C920_935BA82F-video-index0
- Standard format, resolution (1280x720), and framerate (15fps) settings.
- Encountered issues with the
camera-streamer-usb-c920
service not being found. - Created the service file manually and tried to start the service, but it remains inactive (dead).
- Found a condition in
override.conf
(ConditionPathExists=/etc/octopi_streamer/mjpeg
). Attempted to satisfy this condition by creating the directory, but the service still won't start. - I also installed Multicam plugin hoping that would get it to work, I see two drop downs now , USB Camera and Default the PI camera works the other does not.
Current Issue:
- The camera service for the C920 does not remain active. It shows as "inactive (dead)" despite the steps taken to address configuration and service setup.
- Unable to access the camera stream via
http://<Raspberry_Pi_IP>:8081
.
I am seeking guidance on how to resolve this issue to get the C920 streaming alongside my existing camera. Any advice, suggestions, or troubleshooting tips would be greatly appreciated. If there are known compatibility issues with this setup or specific nuances with the camera-streamer
software that I should be aware of, please let me know.
Thank you in advance for your time and assistance!
Have you tried running in safe mode?
No
Did running in safe mode solve the problem?
No
Systeminfo Bundle
You can download this in OctoPrint's System Information dialog ... no bundle, no support!)
### Additional information about your setup
<small>OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... **as much data as possible**</small>
Camera Journal Log:
-- Journal begins at Sun 2023-12-10 01:04:26 GMT, ends at Wed 2024-01-10 18:17:06 GMT. --
Jan 10 15:06:01 octopi systemd[1]: Starting camera-streamer...
Jan 10 15:06:01 octopi camera-streamer-control[563]: Running start for camera-streamer-libcamera.service...
Jan 10 15:06:02 octopi systemd[1]: Starting camera-streamer libcamera...
Jan 10 15:06:02 octopi camera-streamer-control[563]: ... done.
Jan 10 15:06:02 octopi camera-streamer-control[563]: Adding path unit for autolaunch of camera-streamer-usb@c920
Jan 10 15:06:03 octopi camera-streamer-control[563]: Running start for camera-streamer-usb-c920.path...
Jan 10 15:06:03 octopi systemd[1]: Started camera-streamer c920 autolaunch.
Jan 10 15:06:03 octopi camera-streamer-control[563]: ... done.
Jan 10 15:06:03 octopi systemd[1]: Finished camera-streamer.
Jan 10 15:06:05 octopi sh[595]: /base/soc/i2c0mux/i2c@1/ov5647@36
Jan 10 15:06:05 octopi systemd[1]: Started camera-streamer libcamera.
Jan 10 15:06:05 octopi systemd[1]: Starting camera-streamer c920...
Jan 10 15:06:05 octopi systemd[1]: Started camera-streamer c920.
Jan 10 15:06:05 octopi sh[631]: util/http/http.c: ?: HTTP listening on 127.0.0.1:8080.
Jan 10 15:06:05 octopi sh[640]: util/http/http.c: ?: HTTP listening on 127.0.0.1:8081.
Jan 10 15:06:05 octopi sh[631]: /usr/bin/camera-streamer Version: v0.2.5 (41d8dfd)
Jan 10 15:06:05 octopi sh[631]: [0:00:36.516882070] [631] INFO Camera camera_manager.cpp:297 libcamera v0.0.5+83-bde9b04f
Jan 10 15:06:05 octopi sh[640]: device/v4l2/device.c: CAMERA: Device path=/dev/v4l/by-id/usb-046d_HD_Pro_Webcam_C920_935BA82F-video-index0 fd=13 opened
Jan 10 15:06:05 octopi sh[640]: device/v4l2/device_options.c: CAMERA: The 'horizontal_flip=0' was failed to find.
Jan 10 15:06:05 octopi sh[640]: device/v4l2/device_options.c: CAMERA: The 'vertical_flip=0' was failed to find.
Jan 10 15:06:05 octopi sh[640]: device/camera/camera_input.c: CAMERA: Disabling DMA since device uses USB (which is likely not working properly).
Jan 10 15:06:05 octopi sh[640]: device/buffer_list.c: CAMERA:capture: Using: 1280x720/YUYV, buffers=2, bytesperline=2560, sizeimage=1.8MiB
Jan 10 15:06:05 octopi sh[640]: device/buffer_list.c: CAMERA:capture: Opened 2 buffers. Memory used: 3.5 MiB
Jan 10 15:06:05 octopi sh[640]: device/v4l2/device.c: SNAPSHOT: Device path=/dev/video31 fd=17 opened
Jan 10 15:06:05 octopi sh[640]: device/buffer_list.c: SNAPSHOT:output:mplane: Using: 1280x720/YUYV, buffers=2, bytesperline=2560, sizeimage=1.8MiB
Jan 10 15:06:05 octopi sh[640]: device/buffer_list.c: SNAPSHOT:output:mplane: Opened 2 buffers. Memory used: 3.5 MiB
Jan 10 15:06:05 octopi sh[640]: device/buffer_list.c: SNAPSHOT:capture:mplane: Using: 1280x720/JPEG, buffers=2, bytesperline=0, sizeimage=4.0MiB
Jan 10 15:06:05 octopi sh[640]: device/buffer_list.c: SNAPSHOT:capture:mplane: Opened 2 buffers. Memory used: 8.0 MiB
Jan 10 15:06:05 octopi sh[640]: device/v4l2/device.c: VIDEO: Device path=/dev/video11 fd=22 opened
Jan 10 15:06:05 octopi sh[640]: device/buffer_list.c: VIDEO:output:mplane: Using: 1280x720/YUYV, buffers=2, bytesperline=2560, sizeimage=1.8MiB
Jan 10 15:06:05 octopi sh[640]: device/buffer_list.c: VIDEO:output:mplane: Opened 2 buffers. Memory used: 3.5 MiB
Jan 10 15:06:05 octopi sh[640]: device/buffer_list.c: VIDEO:capture:mplane: Using: 1280x720/H264, buffers=2, bytesperline=0, sizeimage=0.5MiB
Jan 10 15:06:05 octopi sh[640]: device/buffer_list.c: VIDEO:capture:mplane: Opened 2 buffers. Memory used: 1.0 MiB
Jan 10 15:06:05 octopi sh[640]: device/device.c: CAMERA: Setting frame interval_us=0 for FPS=15
Jan 10 15:06:05 octopi sh[640]: device/v4l2/device_options.c: CAMERA: The 'AfTrigger=1' was failed to find.
Jan 10 15:06:05 octopi sh[640]: device/v4l2/device_options.c: SNAPSHOT: Configuring option 'Compression Quality' (009d0903) = 80
Jan 10 15:06:05 octopi sh[640]: device/v4l2/device_options.c: VIDEO: Configuring option 'Repeat Sequence Header' (009909e2) = 1
Jan 10 15:06:05 octopi sh[640]: device/v4l2/device_options.c: VIDEO: Configuring option 'Video Bitrate Mode' (009909ce) = 0
Jan 10 15:06:05 octopi sh[640]: device/v4l2/device_options.c: VIDEO: Configuring option 'Video Bitrate' (009909cf) = 2000000
Jan 10 15:06:05 octopi sh[640]: device/v4l2/device_options.c: VIDEO: Configuring option 'Repeat Sequence Header' (009909e2) = 5000000
Jan 10 15:06:05 octopi sh[640]: device/v4l2/device_options.c: VIDEO: Configuring option 'H264 I-Frame Period' (00990a66) = 30
Jan 10 15:06:05 octopi sh[640]: device/v4l2/device_options.c: VIDEO: Configuring option 'H264 Level' (00990a67) = 11
Jan 10 15:06:05 octopi sh[640]: device/v4l2/device_options.c: VIDEO: Configuring option 'H264 Profile' (00990a6b) = 4
Jan 10 15:06:05 octopi sh[640]: device/v4l2/device_options.c: VIDEO: Configuring option 'H264 Minimum QP Value' (00990a61) = 16
Jan 10 15:06:05 octopi sh[640]: device/v4l2/device_options.c: VIDEO: Configuring option 'H264 Maximum QP Value' (00990a62) = 32
Jan 10 15:06:05 octopi sh[640]: device/links.c: ?: Link 0: CAMERA:capture[1280x720/YUYV/2] => [SNAPSHOT:output:mplane[1280x720/YUYV/2], VIDEO:output:mplane[1280x720/YUYV/2]]
Jan 10 15:06:05 octopi sh[640]: device/links.c: ?: Link 1: SNAPSHOT:capture:mplane[1280x720/JPEG/2] => [SNAPSHOT-CAPTURE, STREAM-CAPTURE]
Jan 10 15:06:05 octopi sh[640]: device/links.c: ?: Link 2: VIDEO:capture:mplane[1280x720/H264/2] => [VIDEO-CAPTURE]
Jan 10 15:06:05 octopi sh[631]: [0:00:36.562492792] [667] INFO RPI vc4.cpp:437 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media2 and ISP device /dev/media0
Jan 10 15:06:06 octopi sh[640]: device/buffer_list.c: CAMERA:capture: Streaming started... Was 0 of 2 enqueud
Jan 10 15:06:06 octopi sh[631]: [0:00:36.721441181] [667] WARN V4L2 v4l2_pixelformat.cpp:328 Unsupported V4L2 pixel format H264
Jan 10 15:06:06 octopi sh[631]: device/libcamera/device.cc: CAMERA: Device path=/base/soc/i2c0mux/i2c@1/ov5647@36 opened
Jan 10 15:06:06 octopi sh[631]: [0:00:36.723514199] [631] INFO Camera camera.cpp:1033 configuring streams: (0) 1920x1080-YUYV
Jan 10 15:06:06 octopi sh[631]: [0:00:36.724417625] [667] INFO RPI vc4.cpp:565 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1920x1080-SGBRG10_1X10 - Selected unicam format: 1920x1080-pGAA
Jan 10 15:06:06 octopi sh[631]: [0:00:36.727787199] [631] INFO Camera camera.cpp:1033 configuring streams: (0) 1920x1080-YUYV (1) 1920x1080-SGBRG10_CSI2P
Jan 10 15:06:06 octopi sh[631]: [0:00:36.728605384] [667] INFO RPI vc4.cpp:565 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1920x1080-SGBRG10_1X10 - Selected unicam format: 1920x1080-pGAA
Jan 10 15:06:06 octopi sh[640]: device/buffer_list.c: SNAPSHOT:output:mplane: Streaming started... Was 0 of 2 enqueud
Jan 10 15:06:06 octopi sh[640]: device/buffer_list.c: VIDEO:output:mplane: Streaming started... Was 0 of 2 enqueud
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: CAMERA:capture: Using: 1920x1080/YUYV, buffers=2, bytesperline=3840, sizeimage=0.0MiB
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: CAMERA:capture: Opened 2 buffers. Memory used: 7.9 MiB
Jan 10 15:06:06 octopi sh[640]: device/buffer_list.c: SNAPSHOT:capture:mplane: Streaming started... Was 0 of 2 enqueud
Jan 10 15:06:06 octopi sh[640]: device/buffer_list.c: VIDEO:capture:mplane: Streaming started... Was 0 of 2 enqueud
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: CAMERA:capture:1: Using: 1920x1080/GB10, buffers=2, bytesperline=2400, sizeimage=0.0MiB
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: CAMERA:capture:1: Opened 2 buffers. Memory used: 4.9 MiB
Jan 10 15:06:06 octopi sh[631]: device/v4l2/device.c: SNAPSHOT: Device path=/dev/video31 fd=39 opened
Jan 10 15:06:06 octopi sh[631]: device/v4l2/buffer_list.c: SNAPSHOT:output:mplane: Requested resolution=1920x1080 is unavailable. Got 1920x1088.
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: SNAPSHOT:output:mplane: Using: 1920x1056/YUYV, buffers=2, bytesperline=3840, sizeimage=3.9MiB
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: SNAPSHOT:output:mplane: Opened 2 buffers. Memory used: 0.0 MiB
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: SNAPSHOT:capture:mplane: Using: 1920x1056/JPEG, buffers=2, bytesperline=0, sizeimage=4.0MiB
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: SNAPSHOT:capture:mplane: Opened 2 buffers. Memory used: 8.0 MiB
Jan 10 15:06:06 octopi sh[631]: device/v4l2/device.c: RESCALLER:STREAM: Device path=/dev/video12 fd=42 opened
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: RESCALLER:STREAM:output:mplane: Using: 1920x1080/YUYV, buffers=2, bytesperline=3840, sizeimage=4.0MiB
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: RESCALLER:STREAM:output:mplane: Opened 2 buffers. Memory used: 0.0 MiB
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: RESCALLER:STREAM:capture:mplane: Using: 1312x736/YUYV, buffers=2, bytesperline=2624, sizeimage=1.8MiB
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: RESCALLER:STREAM:capture:mplane: Opened 2 buffers. Memory used: 3.7 MiB
Jan 10 15:06:06 octopi sh[631]: device/v4l2/device.c: STREAM: Device path=/dev/video31 fd=45 opened
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: STREAM:output:mplane: Using: 1312x736/YUYV, buffers=2, bytesperline=2624, sizeimage=1.8MiB
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: STREAM:output:mplane: Opened 2 buffers. Memory used: 0.0 MiB
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: STREAM:capture:mplane: Using: 1312x736/JPEG, buffers=2, bytesperline=0, sizeimage=4.0MiB
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: STREAM:capture:mplane: Opened 2 buffers. Memory used: 8.0 MiB
Jan 10 15:06:06 octopi sh[631]: device/v4l2/device.c: VIDEO: Device path=/dev/video11 fd=48 opened
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: VIDEO:output:mplane: Using: 1312x736/YUYV, buffers=2, bytesperline=2624, sizeimage=1.8MiB
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: VIDEO:output:mplane: Opened 2 buffers. Memory used: 0.0 MiB
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: VIDEO:capture:mplane: Using: 1312x736/H264, buffers=2, bytesperline=0, sizeimage=0.8MiB
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: VIDEO:capture:mplane: Opened 2 buffers. Memory used: 1.5 MiB
Jan 10 15:06:06 octopi sh[631]: device/device.c: CAMERA: Setting frame interval_us=0 for FPS=15
Jan 10 15:06:06 octopi sh[631]: device/v4l2/device_options.c: SNAPSHOT: Configuring option 'Compression Quality' (009d0903) = 80
Jan 10 15:06:06 octopi sh[631]: device/v4l2/device_options.c: STREAM: Configuring option 'Compression Quality' (009d0903) = 80
Jan 10 15:06:06 octopi sh[631]: device/v4l2/device_options.c: VIDEO: Configuring option 'Repeat Sequence Header' (009909e2) = 1
Jan 10 15:06:06 octopi sh[631]: device/v4l2/device_options.c: VIDEO: Configuring option 'Video Bitrate Mode' (009909ce) = 0
Jan 10 15:06:06 octopi sh[631]: device/v4l2/device_options.c: VIDEO: Configuring option 'Video Bitrate' (009909cf) = 2000000
Jan 10 15:06:06 octopi sh[631]: device/v4l2/device_options.c: VIDEO: Configuring option 'Repeat Sequence Header' (009909e2) = 5000000
Jan 10 15:06:06 octopi sh[631]: device/v4l2/device_options.c: VIDEO: Configuring option 'H264 I-Frame Period' (00990a66) = 30
Jan 10 15:06:06 octopi sh[631]: device/v4l2/device_options.c: VIDEO: Configuring option 'H264 Level' (00990a67) = 11
Jan 10 15:06:06 octopi sh[631]: device/v4l2/device_options.c: VIDEO: Configuring option 'H264 Profile' (00990a6b) = 4
Jan 10 15:06:06 octopi sh[631]: device/v4l2/device_options.c: VIDEO: Configuring option 'H264 Minimum QP Value' (00990a61) = 16
Jan 10 15:06:06 octopi sh[631]: device/v4l2/device_options.c: VIDEO: Configuring option 'H264 Maximum QP Value' (00990a62) = 32
Jan 10 15:06:06 octopi sh[631]: device/links.c: ?: Link 0: CAMERA:capture[1920x1080/YUYV/2] => [SNAPSHOT:output:mplane[1920x1056/YUYV/2], RESCALLER:STREAM:output:mplane[1920x1080/YUYV/2]]
Jan 10 15:06:06 octopi sh[631]: device/links.c: ?: Link 1: SNAPSHOT:capture:mplane[1920x1056/JPEG/2] => [SNAPSHOT-CAPTURE]
Jan 10 15:06:06 octopi sh[631]: device/links.c: ?: Link 2: RESCALLER:STREAM:capture:mplane[1312x736/YUYV/2] => [STREAM:output:mplane[1312x736/YUYV/2], VIDEO:output:mplane[1312x736/YUYV/2]]
Jan 10 15:06:06 octopi sh[631]: device/links.c: ?: Link 3: STREAM:capture:mplane[1312x736/JPEG/2] => [STREAM-CAPTURE]
Jan 10 15:06:06 octopi sh[631]: device/links.c: ?: Link 4: VIDEO:capture:mplane[1312x736/H264/2] => [VIDEO-CAPTURE]
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: CAMERA:capture: Streaming started... Was 0 of 2 enqueud
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: SNAPSHOT:output:mplane: Streaming started... Was 0 of 2 enqueud
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: RESCALLER:STREAM:output:mplane: Streaming started... Was 0 of 2 enqueud
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: SNAPSHOT:capture:mplane: Streaming started... Was 0 of 2 enqueud
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: RESCALLER:STREAM:capture:mplane: Streaming started... Was 0 of 2 enqueud
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: STREAM:output:mplane: Streaming started... Was 0 of 2 enqueud
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: VIDEO:output:mplane: Streaming started... Was 0 of 2 enqueud
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: STREAM:capture:mplane: Streaming started... Was 0 of 2 enqueud
Jan 10 15:06:06 octopi sh[631]: device/buffer_list.c: VIDEO:capture:mplane: Streaming started... Was 0 of 2 enqueud
Jan 10 15:07:32 octopi sh[631]: util/http/http.c: HTTP8080/7: Client connected 127.0.0.1 (fd=5).
Jan 10 15:07:32 octopi sh[631]: util/http/http.c: HTTP8080/7: Request 'GET' '/' 'action=stream'
Jan 10 15:07:51 octopi sh[631]: util/http/http.c: HTTP8080/7: Client disconnected 127.0.0.1.
Jan 10 15:07:51 octopi sh[631]: util/http/http.c: HTTP8080/8: Client connected 127.0.0.1 (fd=6).
Jan 10 15:07:51 octopi sh[631]: util/http/http.c: HTTP8080/8: Request 'GET' '/' 'action=stream'
Jan 10 15:08:23 octopi sh[631]: util/http/http.c: HTTP8080/8: Client disconnected 127.0.0.1.
Jan 10 15:10:02 octopi sh[631]: util/http/http.c: HTTP8080/9: Client connected 127.0.0.1 (fd=7).
Jan 10 15:10:02 octopi sh[631]: util/http/http.c: HTTP8080/9: Request 'GET' '/' 'action=stream'
Jan 10 15:10:02 octopi sh[631]: device/links.c: RESCALLER:STREAM:capture:mplane:buf0: Capture image is outdated. Skipped. Now: 259883855, vs 160002346.
Jan 10 15:11:23 octopi sh[631]: util/http/http.c: HTTP8080/9: Client disconnected 127.0.0.1.
Jan 10 15:11:58 octopi sh[631]: util/http/http.c: HTTP8080/6: Client connected 127.0.0.1 (fd=8).
Jan 10 15:11:58 octopi sh[631]: util/http/http.c: HTTP8080/6: Request 'GET' '/' 'action=stream%20instead'
Jan 10 15:21:49 octopi systemd[1]: Condition check resulted in camera-streamer usb-046d_HD_Pro_Webcam_C920_935BA82F-video-index0 being skipped.
Jan 10 15:25:54 octopi systemd[1]: Condition check resulted in camera-streamer usb-046d_HD_Pro_Webcam_C920_935BA82F-video-index0 being skipped.
Jan 10 15:26:36 octopi sh[631]: util/http/http.c: HTTP8080/5: Client connected 127.0.0.1 (fd=9).
Jan 10 15:26:36 octopi sh[631]: util/http/http.c: HTTP8080/5: Request 'GET' '/' 'action=stream'
Jan 10 15:26:48 octopi sh[631]: util/http/http.c: HTTP8080/5: Client disconnected 127.0.0.1.
Jan 10 15:27:18 octopi systemd[1]: Condition check resulted in camera-streamer usb-046d_HD_Pro_Webcam_C920_935BA82F-video-index0 being skipped.
Jan 10 15:27:21 octopi systemd[1]: Condition check resulted in camera-streamer usb-046d_HD_Pro_Webcam_C920_935BA82F-video-index0 being skipped.
Jan 10 15:29:51 octopi sh[631]: util/http/http.c: HTTP8080/4: Client connected 127.0.0.1 (fd=10).
Jan 10 15:29:51 octopi sh[631]: util/http/http.c: HTTP8080/4: Request 'GET' '/' 'action=stream'
Jan 10 15:29:59 octopi sh[631]: util/http/http.c: HTTP8080/4: Client disconnected 127.0.0.1.
Jan 10 15:36:29 octopi sh[631]: util/http/http.c: HTTP8080/3: Client connected 127.0.0.1 (fd=11).
Jan 10 15:36:29 octopi sh[631]: util/http/http.c: HTTP8080/3: Request 'GET' '/' 'action=stream'
Jan 10 15:36:35 octopi sh[631]: util/http/http.c: HTTP8080/3: Client disconnected 127.0.0.1.
Jan 10 15:48:41 octopi sh[640]: device/links.c: CAMERA:capture: Device disconnected.
Jan 10 15:48:42 octopi sh[640]: /usr/bin/camera-streamer Version: v0.2.5 (41d8dfd)
Jan 10 15:48:42 octopi systemd[1]: camera-streamer-usb@c920.service: Main process exited, code=exited, status=255/EXCEPTION
Jan 10 15:48:42 octopi systemd[1]: camera-streamer-usb@c920.service: Failed with result 'exit-code'.
Jan 10 15:48:42 octopi systemd[1]: camera-streamer-usb@c920.service: Consumed 2.173s CPU time.
Jan 10 15:48:46 octopi sh[631]: [0:43:03.712384639] [667] WARN V4L2 v4l2_pixelformat.cpp:328 Unsupported V4L2 pixel format H264
Jan 10 15:48:52 octopi systemd[1]: camera-streamer-usb@c920.service: Scheduled restart job, restart counter is at 1.
Jan 10 15:48:52 octopi systemd[1]: Stopped camera-streamer c920.
Jan 10 15:48:52 octopi systemd[1]: camera-streamer-usb@c920.service: Consumed 2.173s CPU time.
Jan 10 15:48:52 octopi systemd[1]: Starting camera-streamer c920...
Jan 10 15:48:52 octopi systemd[1]: Started camera-streamer c920.
Jan 10 15:48:52 octopi sh[1306]: util/http/http.c: ?: HTTP listening on 127.0.0.1:8081.
Jan 10 15:48:52 octopi sh[1306]: device/v4l2/device.c: CAMERA: Device path=/dev/v4l/by-id/usb-046d_HD_Pro_Webcam_C920_935BA82F-video-index0 fd=14 opened
Jan 10 15:48:52 octopi sh[1306]: device/v4l2/device_options.c: CAMERA: The 'horizontal_flip=0' was failed to find.
Jan 10 15:48:52 octopi sh[1306]: device/v4l2/device_options.c: CAMERA: The 'vertical_flip=0' was failed to find.
Jan 10 15:48:52 octopi sh[1306]: device/camera/camera_input.c: CAMERA: Disabling DMA since device uses USB (which is likely not working properly).
Jan 10 15:48:52 octopi sh[1306]: device/buffer_list.c: CAMERA:capture: Using: 1280x720/YUYV, buffers=2, bytesperline=2560, sizeimage=1.8MiB
Jan 10 15:48:52 octopi sh[1306]: device/buffer_list.c: CAMERA:capture: Opened 2 buffers. Memory used: 3.5 MiB
Jan 10 15:48:52 octopi sh[1306]: device/v4l2/device.c: SNAPSHOT: Device path=/dev/video31 fd=17 opened
Jan 10 15:48:52 octopi sh[1306]: device/buffer_list.c: SNAPSHOT:output:mplane: Using: 1280x720/YUYV, buffers=2, bytesperline=2560, sizeimage=1.8MiB
Jan 10 15:48:52 octopi sh[1306]: device/buffer_list.c: SNAPSHOT:output:mplane: Opened 2 buffers. Memory used: 3.5 MiB
Jan 10 15:48:52 octopi sh[1306]: device/buffer_list.c: SNAPSHOT:capture:mplane: Using: 1280x720/JPEG, buffers=2, bytesperline=0, sizeimage=4.0MiB
Jan 10 15:48:52 octopi sh[1306]: device/buffer_list.c: SNAPSHOT:capture:mplane: Opened 2 buffers. Memory used: 8.0 MiB
Jan 10 15:48:52 octopi sh[1306]: device/v4l2/device.c: VIDEO: Device path=/dev/video11 fd=22 opened
Jan 10 15:48:52 octopi sh[1306]: device/buffer_list.c: VIDEO:output:mplane: Using: 1280x720/YUYV, buffers=2, bytesperline=2560, sizeimage=1.8MiB
Jan 10 15:48:52 octopi sh[1306]: device/buffer_list.c: VIDEO:output:mplane: Opened 2 buffers. Memory used: 3.5 MiB
Jan 10 15:48:52 octopi sh[1306]: device/buffer_list.c: VIDEO:capture:mplane: Using: 1280x720/H264, buffers=2, bytesperline=0, sizeimage=0.5MiB
Jan 10 15:48:52 octopi sh[1306]: device/buffer_list.c: VIDEO:capture:mplane: Opened 2 buffers. Memory used: 1.0 MiB
Jan 10 15:48:52 octopi sh[1306]: device/device.c: CAMERA: Setting frame interval_us=0 for FPS=15
Jan 10 15:48:52 octopi sh[1306]: device/v4l2/device_options.c: CAMERA: The 'AfTrigger=1' was failed to find.
Jan 10 15:48:52 octopi sh[1306]: device/v4l2/device_options.c: SNAPSHOT: Configuring option 'Compression Quality' (009d0903) = 80
Jan 10 15:48:52 octopi sh[1306]: device/v4l2/device_options.c: VIDEO: Configuring option 'Repeat Sequence Header' (009909e2) = 1
Jan 10 15:48:52 octopi sh[1306]: device/v4l2/device_options.c: VIDEO: Configuring option 'Video Bitrate Mode' (009909ce) = 0
Jan 10 15:48:52 octopi sh[1306]: device/v4l2/device_options.c: VIDEO: Configuring option 'Video Bitrate' (009909cf) = 2000000
Jan 10 15:48:52 octopi sh[1306]: device/v4l2/device_options.c: VIDEO: Configuring option 'Repeat Sequence Header' (009909e2) = 5000000
Jan 10 15:48:52 octopi sh[1306]: device/v4l2/device_options.c: VIDEO: Configuring option 'H264 I-Frame Period' (00990a66) = 30
Jan 10 15:48:52 octopi sh[1306]: device/v4l2/device_options.c: VIDEO: Configuring option 'H264 Level' (00990a67) = 11
Jan 10 15:48:52 octopi sh[1306]: device/v4l2/device_options.c: VIDEO: Configuring option 'H264 Profile' (00990a6b) = 4
Jan 10 15:48:52 octopi sh[1306]: device/v4l2/device_options.c: VIDEO: Configuring option 'H264 Minimum QP Value' (00990a61) = 16
Jan 10 15:48:52 octopi sh[1306]: device/v4l2/device_options.c: VIDEO: Configuring option 'H264 Maximum QP Value' (00990a62) = 32
Jan 10 15:48:52 octopi sh[1306]: device/links.c: ?: Link 0: CAMERA:capture[1280x720/YUYV/2] => [SNAPSHOT:output:mplane[1280x720/YUYV/2], VIDEO:output:mplane[1280x720/YUYV/2]]
Jan 10 15:48:52 octopi sh[1306]: device/links.c: ?: Link 1: SNAPSHOT:capture:mplane[1280x720/JPEG/2] => [SNAPSHOT-CAPTURE, STREAM-CAPTURE]
Jan 10 15:48:52 octopi sh[1306]: device/links.c: ?: Link 2: VIDEO:capture:mplane[1280x720/H264/2] => [VIDEO-CAPTURE]
Jan 10 15:48:52 octopi sh[1306]: device/buffer_list.c: CAMERA:capture: Streaming started... Was 0 of 2 enqueud
Jan 10 15:48:52 octopi sh[1306]: device/buffer_list.c: SNAPSHOT:output:mplane: Streaming started... Was 0 of 2 enqueud
Jan 10 15:48:52 octopi sh[1306]: device/buffer_list.c: VIDEO:output:mplane: Streaming started... Was 0 of 2 enqueud
Jan 10 15:48:52 octopi sh[1306]: device/buffer_list.c: SNAPSHOT:capture:mplane: Streaming started... Was 0 of 2 enqueud
Jan 10 15:48:52 octopi sh[1306]: device/buffer_list.c: VIDEO:capture:mplane: Streaming started... Was 0 of 2 enqueud
Jan 10 15:48:58 octopi sh[631]: util/http/http.c: HTTP8080/6: Client disconnected 127.0.0.1.
Jan 10 15:49:25 octopi sh[631]: util/http/http.c: HTTP8080/2: Client connected 127.0.0.1 (fd=12).
Jan 10 15:49:25 octopi sh[631]: util/http/http.c: HTTP8080/2: Request 'GET' '/' 'action=stream'
Jan 10 15:49:25 octopi sh[631]: device/links.c: RESCALLER:STREAM:capture:mplane:buf0: Capture image is outdated. Skipped. Now: 2622085519, vs 2595605355.
Jan 10 15:49:26 octopi sh[631]: util/http/http.c: HTTP8080/1: Client connected 127.0.0.1 (fd=13).
Jan 10 15:49:26 octopi sh[631]: util/http/http.c: HTTP8080/1: Request 'GET' '/' 'action=stream'
Jan 10 15:49:26 octopi sh[631]: util/http/http.c: HTTP8080/2: Client disconnected 127.0.0.1.
Jan 10 15:49:35 octopi sh[1306]: device/links.c: CAMERA:capture: Device disconnected.
Jan 10 15:49:35 octopi sh[1306]: /usr/bin/camera-streamer Version: v0.2.5 (41d8dfd)
Jan 10 15:49:35 octopi systemd[1]: camera-streamer-usb@c920.service: Main process exited, code=exited, status=255/EXCEPTION
Jan 10 15:49:35 octopi systemd[1]: camera-streamer-usb@c920.service: Failed with result 'exit-code'.
Jan 10 15:49:45 octopi systemd[1]: camera-streamer-usb@c920.service: Scheduled restart job, restart counter is at 2.
Jan 10 15:49:45 octopi systemd[1]: Stopped camera-streamer c920.
Jan 10 15:49:45 octopi systemd[1]: Condition check resulted in camera-streamer c920 being skipped.
Jan 10 15:50:48 octopi sh[631]: util/http/http.c: HTTP8080/1: Client disconnected 127.0.0.1.
Jan 10 15:52:03 octopi sh[631]: util/http/http.c: HTTP8080/0: Client connected 127.0.0.1 (fd=14).
Jan 10 15:52:03 octopi sh[631]: util/http/http.c: HTTP8080/0: Request 'GET' '/' 'action=stream'
Jan 10 15:52:03 octopi sh[631]: device/links.c: RESCALLER:STREAM:capture:mplane:buf0: Capture image is outdated. Skipped. Now: 2780602355, vs 2705047922.
Jan 10 15:52:04 octopi sh[631]: util/http/http.c: HTTP8080/0: Client disconnected 127.0.0.1.
Jan 10 18:13:09 octopi sh[631]: util/http/http.c: HTTP8080/7: Client connected 127.0.0.1 (fd=5).
Jan 10 18:13:09 octopi sh[631]: util/http/http.c: HTTP8080/7: Request 'GET' '/' 'action=stream'
Jan 10 18:13:09 octopi sh[631]: device/links.c: CAMERA:capture: Stale detected. Restarting streaming...
Jan 10 18:13:09 octopi sh[631]: device/buffer_list.c: CAMERA:capture: Streaming stopped... Was 0 of 2 enqueud
Jan 10 18:13:09 octopi sh[631]: device/buffer_list.c: CAMERA:capture: Streaming started... Was 0 of 2 enqueud
Jan 10 18:13:34 octopi sh[631]: util/http/http.c: HTTP8080/7: Client disconnected 127.0.0.1.
Jan 10 18:16:54 octopi sh[631]: util/http/http.c: HTTP8080/8: Client connected 127.0.0.1 (fd=6).
Jan 10 18:16:54 octopi sh[631]: util/http/http.c: HTTP8080/8: Request 'GET' '/' 'action=stream'
Jan 10 18:16:54 octopi sh[631]: device/links.c: RESCALLER:STREAM:capture:mplane:buf0: Capture image is outdated. Skipped. Now: 11471711145, vs 11271101886.