1.Which seller did you purchase the product(s) from?
Amazon
2.The Model number of the product(s) you have purchased?
https://www.amazon.com/gp/product/B07V215NHN/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1
3.Which Platform are you using the product(s) on?
Raspberry Pi 3B+ Rev 1.3
4.Which instruction are you following?
https://unix.stackexchange.com/questions/3304/how-do-i-watch-my-webcams-feed-on-linux
5.Has your product ever worked properly?
No
6.What problems are you experiencing?
I’ve followed the instructions here - https://www.arducam.com/docs/cameras-for-raspberry-pi/migrated/ov7251-0-3mp-global-shutter-raspberrypi-camera/ -
This appears to work -
$ v4l2-ctl --stream-mmap --stream-count=-1 -d /dev/video0 --stream-to=/dev/null
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 30.00 fps
But I can’t see video or images from /dev/video0 - tried using gst-launch, vlc, mplayer, cheese, and ffplay - they seem to recognize the camera but give various errors…
gst-launch:
$ gst-launch-1.0 v4l2src device=/dev/video0 ! xvimagesink
Setting pipeline to PAUSED …
ERROR: Pipeline doesn’t want to pause.
ERROR: from element /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0: Could not initialise Xv output
Additional debug info:
xvimagesink.c(1773): gst_xv_image_sink_open (): /GstPipeline:pipeline0/GstXvImageSink:xvimagesink0:
No Xv Port available
Setting pipeline to NULL …
Freeing pipeline …
vlc:
$ vlc
VLC media player 3.0.11 Vetinari (revision 3.0.11-0-gdc0c5ced72)
[00374b40] main libvlc: Running vlc with the default interface. Use ‘cvlc’ to use vlc without interface.
libEGL warning: DRI2: failed to authenticate
[003d0b28] main playlist: playlist is empty
[59600cb8] main demux error: option v4l2-exposure does not exist
[59607050] main decoder error: buffer deadlock prevented
QObject::~QObject: Timers cannot be stopped from another thread
mplayer:
$ mplayer /dev/video0
MPlayer 1.3.0 (Debian), built with gcc-8 (C) 2000-2016 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing /dev/video0.
libavformat version 58.20.100 (external)
Cannot seek backward in linear streams!
Seek failed
cheese:
“There was an error playing video from webcam”
ffplay:
$ ffplay /dev/video0
[video4linux2,v4l2 @ 0x64a00720] Cannot find a proper format for codec ‘none’ (id 0), pixel format ‘none’ (id -1)
Assertion *codec_id != AV_CODEC_ID_NONE failed at src/libavdevice/v4l2.c:811
Aborted
7.What attempts at troubleshooting have you already made?
8.How would you like us to help you?
Does anyone recognize what the issue might be?