Hello,
I ordered a raspberry pi camera v2 with the adafruit case for it. I have received it, but I’m having a problem with it. I ran a simple command, which was (sudo mplayer tv://). The camera should display live output to the screen. All I was getting was a blank screen with colored line all over it. As if there was a problem with the internals of the camera. I restarted the raspberry pi awell as unplugging and plugging the camera. It was still the same. Tried everything still nothing. I am certain it’s a defected camera.
Also the Adafruit Raspberry Pi camera Case with 1/4” Tripod Mount does not close as the camera is a bit bigger.
I paid extra for it to get here sooner, just my luck for it to not work. I have a project due in less than a week. Can someone please help, it really urgent.
Raspberry pi camera v2 not working
Moderators: adafruit_support_bill, adafruit
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
- Taki741
- Posts: 5
- Joined: Wed Nov 23, 2022 11:14 pm
Raspberry pi camera v2 not working
- Attachments
-
- 9603764D-A544-4818-B171-6D2A497CCEBF.jpeg (297.72 KiB) Viewed 142 times
-
- 5E3FCA0D-647A-4130-BE72-B2BEA3A679EA.jpeg (701.69 KiB) Viewed 142 times
-
- F2CED831-30AD-4C73-8971-587FDB96C14E.jpeg (892.78 KiB) Viewed 142 times
- mikeysklar
- Posts: 14194
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Raspberry pi camera v2 not working
It looks like you camera is communicating, but the encoding is wrong.
Try these command to confirm:
Try these command to confirm:
Code: Select all
v4l2-ctl -d /dev/video0 --list-formats-ext
Code: Select all
v4l2-ctl -d /dev/video0 -v pixelformat=H264 -V
Code: Select all
v4l2-ctl -d /dev/video0 --get-fmt-video
Code: Select all
mplayer tv:// -tv driver=v4l2:device=/dev/video0:width=1920:height=1080:fps=30
- Taki741
- Posts: 5
- Joined: Wed Nov 23, 2022 11:14 pm
Re: Raspberry pi camera v2 not working
Here is the output! Still doesn’t work, all I see is a green screen.
- Attachments
-
- C3058E9F-D103-4250-9565-1E978E929B73.jpeg (376 KiB) Viewed 88 times
-
- D696C6A5-6680-4F26-A17D-5FE3978B2C25.jpeg (486.69 KiB) Viewed 88 times
-
- CFC91224-5DF3-4C29-AE2A-004E224CE3CA.jpeg (559.39 KiB) Viewed 88 times
- mikeysklar
- Posts: 14194
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Raspberry pi camera v2 not working
Thank you for trying those commands and providing some shots of the output.
Are you running the Bullseye release of Pi OS? Have you enabled legacy mode in raspi-conf?
Before you turn on legacy mode you can try some of the libcamera commands.
Are you running the Bullseye release of Pi OS? Have you enabled legacy mode in raspi-conf?
Before you turn on legacy mode you can try some of the libcamera commands.
Code: Select all
libcamera-vid -t 10000 -o test.h264
Code: Select all
libcamera-still --datetime
- Taki741
- Posts: 5
- Joined: Wed Nov 23, 2022 11:14 pm
Re: Raspberry pi camera v2 not working
Im using the latest version of Raspbian Buster. I have used the Arducam and it worked fine. When I use a usb webcam it also works perfectly fine aswell. Searched up all kind of commands and tested it. The camera turns on, but no image only distortion and colored line. Tried to work with the resolution still no difference. I pretty sure this camera is most likely defective.
- mikeysklar
- Posts: 14194
- Joined: Mon Aug 01, 2016 8:10 pm
Re: Raspberry pi camera v2 not working
Okay we can try a replacement. My concern is that you were running Bullseye (current) which breaks all legacy commands due to libcamera unless Legacy mode is enabled.
https://www.raspberrypi.com/news/new-ol ... os-legacy/
https://www.youtube.com/watch?v=1qx12adIFXc
Go ahead and request a replacement from [email protected] they will need your order# and this forum thread as authorization.
https://www.raspberrypi.com/news/new-ol ... os-legacy/
https://www.youtube.com/watch?v=1qx12adIFXc
Go ahead and request a replacement from [email protected] they will need your order# and this forum thread as authorization.
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/