Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use RPi zero v1.3 with arducam IMX219 module in ubuntu #210

Open
Varghesemela opened this issue Oct 17, 2022 · 5 comments
Open

Comments

@Varghesemela
Copy link

Varghesemela commented Oct 17, 2022

Hi,
I tried installing the latest release on showmewebcam on RPi zero v1.3 with the IMX219 camera module. When i connect the USB to my ubuntu computer, the led blinks once then 3 times to confirm proper booting of the RPi with the camera.
But regardless of that, i am unable to get any feed from the camera, i can even communcate with the debug line on ttyACM0, but i am not able to see any image or video.
I tried using mpv /dev/video0
but after waiting for 30 secs, i get a response

Playing: /dev/video1
[ffmpeg/demuxer] video4linux2,v4l2: ioctl(VIDIOC_STREAMON): Connection timed out
[lavf] avformat_open_input() failed
Failed to recognize file format.
it doesnt work on cheese or guvcview also

the camera module is the one below:
https://www.arducam.com/product/arducam-raspberry-pi-camera-v2-8mp-ixm219-b0103/

update: ffmpeg command mentioned in the FAQ gives the below output on terminal:

ffmpeg version 3.4.11-0ubuntu0.1 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
configuration: --prefix=/usr --extra-version=0ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
[video4linux2,v4l2 @ 0x562ede01b900] ioctl(VIDIOC_STREAMON): Connection timed out
/dev/video0: Connection timed out

@misel228
Copy link

Showmewebcam still uses the (somewhat proprietary) tools directly from the Pi Foundation that are only available for the official Pi cameras.

ArduCams use the Video4Linux framework which is the de facto standard for Cameras on Linux.

IIRC there is a V4L version in the works but I don't know its current status.

@kbingham
Copy link

kbingham commented Oct 17, 2022

From : https://www.arducam.com/product/arducam-raspberry-pi-camera-v2-8mp-ixm219-b0103/

Note: This camera module supports the latest Raspberry Pi OS Bullseye (released on Jan 28th, 2022) and libcamera apps, for the previous Raspberry Pi OS (Legacy) users, contact us at sales@arducam.com.

Most arducam cameras require libcamera, as they're not supported by Raspberry Pi.
showmewebcam doesn't yet have libcamera support.

(Though we've made a lot of progress on our uvc-gadget, which I expect to then add libcamera support to in the nearish future).

@dgsiegel
Copy link
Contributor

(Though we've made a lot of progress on our uvc-gadget, which I expect to then add libcamera support to in the nearish future).

Let us know once that is ready, would love to integrate it in showmewebcam.

@kbingham
Copy link

(Though we've made a lot of progress on our uvc-gadget, which I expect to then add libcamera support to in the nearish future).

Let us know once that is ready, would love to integrate it in showmewebcam.

You're high on my radar!

@Varghesemela
Copy link
Author

OK thanks! Eagerly waiting for libcamera support on showmewebcam. Until then, i will have to work with the official rpi camera v2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants