Open ssendev opened 3 years ago
I'm not sure you've implemented everything you need to get RG10 working there. You need to add the bits to convert it to jpeg too. Is that the only pixelformat the camera supports? Can you not get it to give you YUV or RGB565 or something we already support?
That was the complete output of v4l2-ctl --list-formats-ext
so i would assume it's the only format supported. I tried different format options but that didn't result in an image.
I managed to get something "usable" with https://maker.pro/nvidia-jetson/tutorial/streaming-real-time-video-from-rpi-camera-to-browser-on-jetson-nano-with-flask but i have no idea how that would translate to something that mjpeg-streamer understands.
Hello, I have the same issue.
My background is Arducam announced a "Sony IMX519" based PI camera, and they said it is the best camera for raspberry pi and support 10bit image balabala...
Ironically, it does not support either MJPG or YUYV, which made it now nearly useless.
v4l2-ctl --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture
[0]: 'pRAA' (10-bit Bayer RGRG/GBGB Packed)
Size: Discrete 4656x3496
Size: Discrete 3840x2160
Size: Discrete 2328x1748
Size: Discrete 1920x1080
Size: Discrete 1280x720
[1]: 'RG10' (10-bit Bayer RGRG/GBGB)
Size: Discrete 4656x3496
Size: Discrete 3840x2160
Size: Discrete 2328x1748
Size: Discrete 1920x1080
Size: Discrete 1280x720
Kindly could you please check whether you can support this camera?
Here are some other (user) documents about it: https://www.arducam.com/16mp-autofocus-camera-for-raspberry-pi/ https://www.arducam.com/downloads/arducam-imx519-start-guide.pdf https://www.arducam.com/docs/cameras-for-raspberry-pi/raspberry-pi-libcamera-guide
Hello, I have the same issue.
My background is Arducam announced a "Sony IMX519" based PI camera, and they said it is the best camera for raspberry pi and support 10bit image balabala...
Ironically, it does not support either MJPG or YUYV, which made it now nearly useless.
v4l2-ctl --list-formats-ext ioctl: VIDIOC_ENUM_FMT Type: Video Capture [0]: 'pRAA' (10-bit Bayer RGRG/GBGB Packed) Size: Discrete 4656x3496 Size: Discrete 3840x2160 Size: Discrete 2328x1748 Size: Discrete 1920x1080 Size: Discrete 1280x720 [1]: 'RG10' (10-bit Bayer RGRG/GBGB) Size: Discrete 4656x3496 Size: Discrete 3840x2160 Size: Discrete 2328x1748 Size: Discrete 1920x1080 Size: Discrete 1280x720
Kindly could you please check whether you can support this camera?
Here are some other (user) documents about it: https://www.arducam.com/16mp-autofocus-camera-for-raspberry-pi/ https://www.arducam.com/downloads/arducam-imx519-start-guide.pdf https://www.arducam.com/docs/cameras-for-raspberry-pi/raspberry-pi-libcamera-guide
Are you using the new Raspbian Buster by any chance? I think you are actually hitting issue #336 not this one. Try enabling the legacy camera stack.
Are you using the new Raspbian Buster by any chance? I think you are actually hitting issue #336 not this one. Try enabling the legacy camera stack.
I have the same camera and it seems to be not supported by the legacy stack. I tried this on buster and on bullseye with legacy stack enabled. At least for me, the output of v4l2 is the same when enabled and vcgencmd get_camera
prints detected=0
.
Are you using the new Raspbian Buster by any chance? I think you are actually hitting issue #336 not this one. Try enabling the legacy camera stack.
I have the same camera and it seems to be not supported by the legacy stack. I tried this on buster and on bullseye with legacy stack enabled. At least for me, the output of v4l2 is the same when enabled and
vcgencmd get_camera
printsdetected=0
.
I tried the same, I have used the Pi Imager to get the latest OS Image both for Raspberry PI OS FULL(32bit) and Raspberry PI OS (LEGACY), install the needed software, but still has the same issue: ` pi@octoprint:~ $ v4l2-ctl --list-formats-ext ioctl: VIDIOC_ENUM_FMT Type: Video Capture
[0]: 'pRAA' (10-bit Bayer RGRG/GBGB Packed)
Size: Discrete 4656x3496
Size: Discrete 3840x2160
Size: Discrete 2328x1748
Size: Discrete 1920x1080
Size: Discrete 1280x720
[1]: 'RG10' (10-bit Bayer RGRG/GBGB)
Size: Discrete 4656x3496
Size: Discrete 3840x2160
Size: Discrete 2328x1748
Size: Discrete 1920x1080
Size: Discrete 1280x720
`
Hi i have a imx219 "Raspberry" camera but can't get it to work
using no options aborts with
Could not obtain the requested pixelformat: MJPG , driver gave us: RG10
using-y
or-u
results in a green imagev4l2-ctl --list-formats-ext
reportsi tried
and then ran it with
LD_LIBRARY_PATH=. ./mjpg_streamer -o "output_http.so -w ./www" -i "input_uvc.so -r 1280x720 -f 60 -fourcc RG10"
but this results in
with
i get a file that's 16084992 bytes trying to change the resolution to 720p results in a file of the same size
i also tried to symlink
/opt/vc
as suggested in #259 but that results in afatal error: bcm_host.h: No such file or directory
which is caused by me using a Jetson Nano and there appears to be no alternative so the raspicam seems out of the question even on a 32 bit system