camera-streamer
camera-streamer copied to clipboard
48 MP USB camera support
Hi there, just got a new 48 MP USB camera...
It seems like the high resolution (8000x6000 px for capture) is not supported yet.
Later I want to stream in low resolution, e.g. 800x600 px and capture high res 8000x6000 px.
$ v4l2-ctl -d /dev/video0 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture
[0]: 'MJPG' (Motion-JPEG, compressed)
Size: Discrete 3840x2160
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 4000x3000
Interval: Discrete 0.067s (15.000 fps)
Size: Discrete 8000x6000
Interval: Discrete 0.200s (5.000 fps)
[1]: 'YUYV' (YUYV 4:2:2)
Size: Discrete 1920x1080
Interval: Discrete 0.200s (5.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Size: Discrete 800x600
Interval: Discrete 0.040s (25.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.200s (5.000 fps)
Interval: Discrete 0.100s (10.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.050s (20.000 fps)
$ camera-streamer --camera-fps=5 --camera-format=MJPEG --camera-stream.height=600 --camera-snapshot.height=6000
camera-streamer Version: v0.2.1 (91d19da)
device/v4l2/device_list.c: (null): ioctl(ret=-1, errno=25): Can't query device capabilities
device/v4l2/device_list.c: (null): ioctl(ret=-1, errno=25): Can't query device capabilities
device/v4l2/device.c: CAMERA: Device path=/dev/video0 fd=12 opened
device/v4l2/device_options.c: CAMERA: The 'horizontal_flip=0' was failed to find.
device/v4l2/device_options.c: CAMERA: The 'vertical_flip=0' was failed to find.
device/camera/camera_input.c: CAMERA: Disabling DMA since device uses USB (which is likely not working properly).
device/buffer_list.c: CAMERA:capture: Using: 1920x1080/MJPG, buffers=3, bytesperline=0, sizeimage=1.0MiB
device/buffer_list.c: CAMERA:capture: Opened 3 buffers. Memory used: 3.0 MiB
device/camera/camera_decoder.c: CAMERA: Cannot find 'MJPG' decoder
device/camera/camera_output.c: CAMERA: Cannot find source for 'STREAM' for one of the formats 'JPEG, MJPG'.
Can you please assist what to do?