-
-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Description
I'm trying to get the native resolution of this camera working - supposedly 2048x1536 ...
v4l2-ctl --list-formats-ext -d /dev/video0 -L
User Controls
brightness 0x00980900 (int) : min=-64 max=64 step=1 default=0 value=0
contrast 0x00980901 (int) : min=0 max=64 step=1 default=32 value=32
saturation 0x00980902 (int) : min=1 max=128 step=1 default=64 value=64
hue 0x00980903 (int) : min=-40 max=40 step=1 default=0 value=0
white_balance_automatic 0x0098090c (bool) : default=1 value=1
gamma 0x00980910 (int) : min=72 max=500 step=1 default=100 value=100
gain 0x00980913 (int) : min=0 max=100 step=1 default=0 value=0
power_line_frequency 0x00980918 (menu) : min=0 max=2 default=1 value=1
0: Disabled
1: 50 Hz
2: 60 Hz
white_balance_temperature 0x0098091a (int) : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
sharpness 0x0098091b (int) : min=0 max=6 step=1 default=5 value=5
backlight_compensation 0x0098091c (int) : min=0 max=2 step=1 default=1 value=1
Camera Controls
auto_exposure 0x009a0901 (menu) : min=0 max=3 default=3 value=3
1: Manual Mode
3: Aperture Priority Mode
exposure_time_absolute 0x009a0902 (int) : min=1 max=5000 step=1 default=625 value=625 flags=inactive
exposure_dynamic_framerate 0x009a0903 (bool) : default=0 value=1
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture
[0]: 'MJPG' (Motion-JPEG, compressed)
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1024x768
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1280x1024
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 2048x1536
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 320x240
Interval: Discrete 0.033s (30.000 fps)
[1]: 'YUYV' (YUYV 4:2:2)
Size: Discrete 640x480
Interval: Discrete 0.040s (25.000 fps)
Size: Discrete 1024x768
Interval: Discrete 0.100s (10.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.100s (10.000 fps)
Size: Discrete 1280x1024
Interval: Discrete 0.200s (5.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.200s (5.000 fps)
Size: Discrete 320x240
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 2048x1536
Interval: Discrete 0.200s (5.000 fps)
running
camera-streamer --http-port=8080 --camera-path=/dev/video0 --camera-type=v4l2 --camera-format=MJPG --camera-snapshot.height=1080 --camera-width=2048 --camera-height=1536 --camera-video.height=1080 --camera-stream.height=1080 --log-verbose
eventually gets to :
device/links.c: DECODER:capture:mplane: No buffer dequeued from capture_list?
camera-streamer Version: (f1627aa)
device/v4l2/device_list.c: bcm2835-isp: Device (/dev/video23) does not support capture (skipping)
device/v4l2/device_list.c: bcm2835-isp: Device (/dev/video20) does not support capture (skipping)
device/v4l2/device_list.c: bcm2835-isp: Device (/dev/video16) does not support capture (skipping)
device/v4l2/device_list.c: bcm2835-isp: Device (/dev/video13) does not support capture (skipping)
device/v4l2/device.c: CAMERA: Device path=/dev/video0 fd=14 opened
device/v4l2/device_media.c: CAMERA: Opened '/dev/media4' (fd=15)
device/v4l2/device_media.c: CAMERA: Link '../../devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb1/1-1/1-1.1/1-1.1:1.0/video4linux/video0' does not contain '/v4l-subdev'
device/v4l2/device_options.c: CAMERA: The 'usercontrols' is read-only
device/v4l2/device_options.c: CAMERA: Available control: brightness (00980900, type=1)
device/v4l2/device_options.c: CAMERA: Available control: contrast (00980901, type=1)
device/v4l2/device_options.c: CAMERA: Available control: saturation (00980902, type=1)
device/v4l2/device_options.c: CAMERA: Available control: hue (00980903, type=1)
device/v4l2/device_options.c: CAMERA: Available control: whitebalanceautomatic (0098090c, type=2)
device/v4l2/device_options.c: CAMERA: Available control: gamma (00980910, type=1)
device/v4l2/device_options.c: CAMERA: Available control: gain (00980913, type=1)
device/v4l2/device_options.c: CAMERA: Available control: powerlinefrequency (00980918, type=3)
device/v4l2/device_options.c: CAMERA: Available control: whitebalancetemperature (0098091a, type=1)
device/v4l2/device_options.c: CAMERA: Available control: sharpness (0098091b, type=1)
device/v4l2/device_options.c: CAMERA: Available control: backlightcompensation (0098091c, type=1)
device/v4l2/device_options.c: CAMERA: The 'cameracontrols' is read-only
device/v4l2/device_options.c: CAMERA: Available control: autoexposure (009a0901, type=3)
device/v4l2/device_options.c: CAMERA: Available control: exposuretimeabsolute (009a0902, type=1)
device/v4l2/device_options.c: CAMERA: Available control: exposuredynamicframerate (009a0903, type=2)
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: 2048x1536/MJPG, buffers=3, bytesperline=0, sizeimage=6.0MiB
device/buffer_list.c: CAMERA:capture: Opened 3 buffers. Memory used: 18.0 MiB
device/v4l2/device.c: CAMERA: ioctl(ret=-1, errno=22): Can't force keyframe
device/v4l2/device.c: DECODER: Device path=/dev/video10 fd=18 opened
device/v4l2/device_media.c: DECODER: Opened '/dev/media1' (fd=19)
device/v4l2/device_media.c: DECODER: Link '../../devices/platform/soc/fe00b840.mailbox/bcm2835-codec/video4linux/video10' does not contain '/v4l-subdev'
device/v4l2/device_options.c: DECODER: The 'usercontrols' is read-only
device/v4l2/device_options.c: DECODER: The 'minnumberofcapturebuffers' is read-only
device/v4l2/device_options.c: DECODER: The 'codeccontrols' is read-only
device/v4l2/device_options.c: DECODER: The 'h264level' is read-only
device/v4l2/device_options.c: DECODER: The 'h264profile' is read-only
device/v4l2/buffer_list.c: DECODER:output:mplane: Requested resolution=2048x1536 is unavailable. Got 1920x1536. Accepted
device/buffer_list.c: DECODER:output:mplane: Using: 1920x1536/MJPG, buffers=3, bytesperline=0, sizeimage=6.0MiB
device/buffer_list.c: DECODER:output:mplane: Opened 3 buffers. Memory used: 18.0 MiB
device/buffer_list.c: DECODER:capture:mplane: Using: 1920x1536/NV12, buffers=3, bytesperline=1920, sizeimage=4.2MiB
device/buffer_list.c: DECODER:capture:mplane: Opened 3 buffers. Memory used: 12.7 MiB
device/v4l2/device.c: RESCALLER:SNAPSHOT: Device path=/dev/video12 fd=25 opened
device/v4l2/device_media.c: RESCALLER:SNAPSHOT: Opened '/dev/media1' (fd=26)
device/v4l2/device_media.c: RESCALLER:SNAPSHOT: Link '../../devices/platform/soc/fe00b840.mailbox/bcm2835-codec/video4linux/video10' does not contain '/v4l-subdev'
device/v4l2/device_options.c: RESCALLER:SNAPSHOT: The 'usercontrols' is read-only
device/v4l2/device_options.c: RESCALLER:SNAPSHOT: Available control: horizontalflip (00980914, type=2)
device/v4l2/device_options.c: RESCALLER:SNAPSHOT: Available control: verticalflip (00980915, type=2)
device/buffer_list.c: RESCALLER:SNAPSHOT:output:mplane: Using: 1920x1536/NV12, buffers=3, bytesperline=1920, sizeimage=4.2MiB
device/buffer_list.c: RESCALLER:SNAPSHOT:output:mplane: Opened 3 buffers. Memory used: 0.0 MiB
device/buffer_list.c: RESCALLER:SNAPSHOT:capture:mplane: Using: 1376x1088/NV12, buffers=3, bytesperline=1376, sizeimage=2.1MiB
device/buffer_list.c: RESCALLER:SNAPSHOT:capture:mplane: Opened 3 buffers. Memory used: 6.4 MiB
device/v4l2/device.c: SNAPSHOT: Device path=/dev/video11 fd=29 opened
device/v4l2/device_media.c: SNAPSHOT: Opened '/dev/media1' (fd=30)
device/v4l2/device_media.c: SNAPSHOT: Link '../../devices/platform/soc/fe00b840.mailbox/bcm2835-codec/video4linux/video10' does not contain '/v4l-subdev'
device/v4l2/device_options.c: SNAPSHOT: The 'codeccontrols' is read-only
device/v4l2/device_options.c: SNAPSHOT: Available control: videobframes (009909ca, type=1)
device/v4l2/device_options.c: SNAPSHOT: Available control: videogopsize (009909cb, type=1)
device/v4l2/device_options.c: SNAPSHOT: Available control: videobitratemode (009909ce, type=3)
device/v4l2/device_options.c: SNAPSHOT: Available control: videobitrate (009909cf, type=1)
device/v4l2/device_options.c: SNAPSHOT: Available control: sequenceheadermode (009909d8, type=3)
device/v4l2/device_options.c: SNAPSHOT: Available control: repeatsequenceheader (009909e2, type=2)
device/v4l2/device_options.c: SNAPSHOT: Available control: forcekeyframe (009909e5, type=4)
device/v4l2/device_options.c: SNAPSHOT: Available control: h264minimumqpvalue (00990a61, type=1)
device/v4l2/device_options.c: SNAPSHOT: Available control: h264maximumqpvalue (00990a62, type=1)
device/v4l2/device_options.c: SNAPSHOT: Available control: h264iframeperiod (00990a66, type=1)
device/v4l2/device_options.c: SNAPSHOT: Available control: h264level (00990a67, type=3)
device/v4l2/device_options.c: SNAPSHOT: Available control: h264profile (00990a6b, type=3)
device/buffer_list.c: SNAPSHOT:output:mplane: Using: 1376x1088/NV12, buffers=3, bytesperline=1376, sizeimage=2.1MiB
device/buffer_list.c: SNAPSHOT:output:mplane: Opened 3 buffers. Memory used: 0.0 MiB
device/buffer_list.c: SNAPSHOT:capture:mplane: Using: 1376x1088/MJPG, buffers=3, bytesperline=0, sizeimage=0.8MiB
device/buffer_list.c: SNAPSHOT:capture:mplane: Opened 3 buffers. Memory used: 2.2 MiB
device/v4l2/device.c: VIDEO: Device path=/dev/video11 fd=33 opened
device/v4l2/device_media.c: VIDEO: Opened '/dev/media1' (fd=34)
device/v4l2/device_media.c: VIDEO: Link '../../devices/platform/soc/fe00b840.mailbox/bcm2835-codec/video4linux/video10' does not contain '/v4l-subdev'
device/v4l2/device_options.c: VIDEO: The 'codeccontrols' is read-only
device/v4l2/device_options.c: VIDEO: Available control: videobframes (009909ca, type=1)
device/v4l2/device_options.c: VIDEO: Available control: videogopsize (009909cb, type=1)
device/v4l2/device_options.c: VIDEO: Available control: videobitratemode (009909ce, type=3)
device/v4l2/device_options.c: VIDEO: Available control: videobitrate (009909cf, type=1)
device/v4l2/device_options.c: VIDEO: Available control: sequenceheadermode (009909d8, type=3)
device/v4l2/device_options.c: VIDEO: Available control: repeatsequenceheader (009909e2, type=2)
device/v4l2/device_options.c: VIDEO: Available control: forcekeyframe (009909e5, type=4)
device/v4l2/device_options.c: VIDEO: Available control: h264minimumqpvalue (00990a61, type=1)
device/v4l2/device_options.c: VIDEO: Available control: h264maximumqpvalue (00990a62, type=1)
device/v4l2/device_options.c: VIDEO: Available control: h264iframeperiod (00990a66, type=1)
device/v4l2/device_options.c: VIDEO: Available control: h264level (00990a67, type=3)
device/v4l2/device_options.c: VIDEO: Available control: h264profile (00990a6b, type=3)
device/buffer_list.c: VIDEO:output:mplane: Using: 1376x1088/NV12, buffers=3, bytesperline=1376, sizeimage=2.1MiB
device/buffer_list.c: VIDEO:output:mplane: Opened 3 buffers. Memory used: 0.0 MiB
device/buffer_list.c: VIDEO:capture:mplane: Using: 1376x1088/H264, buffers=3, bytesperline=0, sizeimage=0.8MiB
device/buffer_list.c: VIDEO:capture:mplane: Opened 3 buffers. Memory used: 2.2 MiB
device/device.c: CAMERA: Setting frame interval_us=0 for FPS=30
device/buffer_list.c: CAMERA:capture: Streaming started... Was 0 of 3 enqueud
device/v4l2/device_options.c: CAMERA: The 'AfTrigger=1' was failed to find.
device/v4l2/device_options.c: SNAPSHOT: The 'compression_quality=80' was failed to find.
device/v4l2/device_options.c: VIDEO: Configuring option repeatsequenceheader (009909e2) = 1
device/v4l2/device_options.c: VIDEO: Configuring option videobitratemode (009909ce) = 0
device/v4l2/device_options.c: VIDEO: Configuring option videobitrate (009909cf) = 2000000
device/v4l2/device_options.c: VIDEO: Configuring option repeatsequenceheader (009909e2) = 5000000
device/v4l2/device_options.c: VIDEO: Configuring option h264iframeperiod (00990a66) = 30
device/v4l2/device_options.c: VIDEO: Configuring option h264level (00990a67) = 11
device/v4l2/device_options.c: VIDEO: Configuring option h264profile (00990a6b) = 4
device/v4l2/device_options.c: VIDEO: Configuring option h264minimumqpvalue (00990a61) = 16
device/v4l2/device_options.c: VIDEO: Configuring option h264maximumqpvalue (00990a62) = 32
device/links.c: ?: Link 0: CAMERA:capture[2048x1536/MJPG/3] => [DECODER:output:mplane[1920x1536/MJPG/3]]
device/links.c: ?: Link 1: DECODER:capture:mplane[1920x1536/NV12/3] => [RESCALLER:SNAPSHOT:output:mplane[1920x1536/NV12/3]]
device/links.c: ?: Link 2: RESCALLER:SNAPSHOT:capture:mplane[1376x1088/NV12/3] => [SNAPSHOT:output:mplane[1376x1088/NV12/3], VIDEO:output:mplane[1376x1088/NV12/3]]
device/links.c: ?: Link 3: SNAPSHOT:capture:mplane[1376x1088/MJPG/3] => [SNAPSHOT-CAPTURE, STREAM-CAPTURE]
device/links.c: ?: Link 4: VIDEO:capture:mplane[1376x1088/H264/3] => [VIDEO-CAPTURE]
device/buffer_list.c: DECODER:output:mplane: Streaming started... Was 0 of 3 enqueud
device/buffer_list.c: DECODER:capture:mplane: Streaming started... Was 0 of 3 enqueud
device/buffer_list.c: RESCALLER:SNAPSHOT:output:mplane: Streaming started... Was 0 of 3 enqueud
device/buffer_list.c: RESCALLER:SNAPSHOT:capture:mplane: Streaming started... Was 0 of 3 enqueud
device/buffer_list.c: SNAPSHOT:output:mplane: Streaming started... Was 0 of 3 enqueud
device/buffer_list.c: VIDEO:output:mplane: Streaming started... Was 0 of 3 enqueud
device/buffer_list.c: SNAPSHOT:capture:mplane: Streaming started... Was 0 of 3 enqueud
device/buffer_list.c: VIDEO:capture:mplane: Streaming started... Was 0 of 3 enqueud
util/http/http.c: HTTP8080/0: Client connected 127.0.0.1 (fd=4).
util/http/http.c: HTTP8080/0: Request 'POST' '/webrtc' ''
output/webrtc/webrtc.cc: rtc-gcgmkkeljbkclcqojowg: Stream requested.
output/webrtc/webrtc.cc: rtc-gcgmkkeljbkclcqojowg: Local SDP Offer: v=0
o=rtc 3496981105 0 IN IP4 127.0.0.1
s=-
t=0 0
a=group:BUNDLE video
a=group:LS video
a=msid-semantic:WMS *
a=setup:actpass
a=ice-ufrag:JuAK
a=ice-pwd:ye3XI7+S3PJ/FrbsFr8MHa
a=ice-options:ice2,trickle
a=fingerprint:sha-256 C5:38:78:0B:57:1A:AE:B9:3C:A8:20:D0:F7:82:6B:73:E8:16:79:4A:BC:BE:8D:47:03:2B:95:73:E3:14:98:3C
m=video 56407 UDP/TLS/RTP/SAVPF 102
c=IN IP4 192.168.1.245
b=AS:1000
a=mid:video
a=sendonly
a=ssrc:1500500338 cname:video
a=ssrc:1500500338 msid: video
a=rtcp-mux
a=rtpmap:102 H264/90000
a=fmtp:102 nack
a=fmtp:102 nack pli
a=fmtp:102 goog-remb
a=fmtp:102 profile-level-id=42e01f;packetization-mode=1;level-asymmetry-allowed=1
a=candidate:2 1 UDP 2130706175 2a0e:1d47:8980:2b01:97c1:8d77:e0d6:38e8 56407 typ host
a=candidate:1 1 UDP 2122317823 192.168.1.245 56407 typ host
a=end-of-candidates
util/http/http.c: HTTP8080/0: Client disconnected 127.0.0.1.
util/http/http.c: HTTP8080/1: Client connected 127.0.0.1 (fd=5).
util/http/http.c: HTTP8080/1: Request 'POST' '/webrtc' ''
output/webrtc/webrtc.cc: rtc-gcgmkkeljbkclcqojowg: Answer received.
output/webrtc/webrtc.cc: rtc-gcgmkkeljbkclcqojowg: Remote SDP Answer: v=0
o=mozilla...THIS_IS_SDPARTA-99.0 2293163117752886866 0 IN IP4 0.0.0.0
s=-
t=0 0
a=sendrecv
a=fingerprint:sha-256 72:46:A1:9A:82:A3:82:6E:B1:4B:15:25:5C:7E:AD:63:8F:69:90:A9:09:72:01:6B:16:FB:42:64:3B:48:F8:2D
a=group:BUNDLE video
a=ice-options:trickle
a=msid-semantic:WMS *
m=video 9 UDP/TLS/RTP/SAVPF 102
c=IN IP4 0.0.0.0
a=recvonly
a=fmtp:102 profile-level-id=42e01f;level-asymmetry-allowed=1;packetization-mode=1
a=ice-pwd:c205158f7251e444124eb2ea339ffe4f
a=ice-ufrag:7d6a5d2e
a=mid:video
a=rtcp-mux
a=rtpmap:102 H264/90000
a=setup:active
a=ssrc:4065511779 cname:{2e2bc6e0-af66-4dc0-8480-d67c497bf0cf}
util/http/http.c: HTTP8080/1: Client disconnected 127.0.0.1.
device/v4l2/buffer.c: DECODER:capture:mplane: ioctl(ret=-1, errno=32): Can't grab capture buffer (flags=00000000)
device/links.c: DECODER:capture:mplane: No buffer dequeued from capture_list?
seems to work if I use 1920x1080 as the camera resolution. Is this just a device that is really 1920x1080 ?
Metadata
Metadata
Assignees
Labels
No labels