# OV5647 Camera not functioning with Motioneye

**URL:** https://dietpi.com/forum/t/ov5647-camera-not-functioning-with-motioneye/23305
**Category:** Troubleshooting
**Created:** [22 April 2025 09:37 UTC](https://dietpi.com/forum/t/ov5647-camera-not-functioning-with-motioneye/23305 "2025-04-22T09:37:13Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Newbie1](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/n/ee7513/32.png) [@Newbie1](https://dietpi.com/forum/u/Newbie1)
#### Post date: [22 April 2025 09:37 UTC](https://dietpi.com/forum/t/ov5647-camera-not-functioning-with-motioneye/23305/1 "2025-04-22T09:37:13Z")

</div>

Hello, I am a newbie (hence the username).

I would be very grateful for some advice to get my OV5647 camera functioning with Motioneye.

I have installed Motioneye via dietpi-software.

When accessing the ME web server, the camera output is a grey box with ‘Unable to open video device’.

When I use the libcamera-still cmd an image is taken, so I know the camera is functioning.

When plugging the monitor into the rpi zero, a repeated output on the screen is,  
“Unicam 3f801000.csi Failed to start media pipe line - 22  
wrong width or height 320x200 (remote pad set to 1296x972”

When running ‘libcamera-hello --list-cameras’ Available cameras ----------------- 0 : ov5647 [2592x1944 10-bit GBRG] (/base/soc/i2c0mux/i2c@1/ov5647@36) Modes: ‘SGBRG10\_CSI2P’ : 640x480 [58.92 fps - (16, 0)/2560x1920 crop] 1296x972 [46.34 fps - (0, 0)/2592x1944 crop] 1920x1080 [32.81 fps - (348, 434)/1928x1080 crop] 2592x1944 [15.63 fps - (0, 0)/2592x1944 crop]

I am stumped! Can anyone offer any pointers? I’ve tried searching in various boot files for width or height settings and not seeing anything.

Thank you in advance for any help you can provide!

#### Required Information

- DietPi version | `G_DIETPI_VERSION_CORE=9 G_DIETPI_VERSION_SUB=12 G_DIETPI_VERSION_RC=1 G_GITBRANCH='master' G_GITOWNER='MichaIng' `
- Distro version | Bookworm 0
- Kernel version | `Linux DietPi 6.12.20+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.20-1+rpt1~bpo12+1 (2025-03-19) aarch64 GNU/Linux`
- Architecture | `arm64`
- SBC model | RPI Zero 2W
- Power supply used | USB computer port
- SD card used | ADATA - unsure of exact model.

#### Additional Information (if applicable)

- Software title | Motioneye

---

<div class="post-metadata">

### Author: ![Vidar](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/v/e36b37/32.png) [@Vidar](https://dietpi.com/forum/u/Vidar)
#### Post date: [22 April 2025 20:09 UTC](https://dietpi.com/forum/t/ov5647-camera-not-functioning-with-motioneye/23305/2 "2025-04-22T20:09:44Z")

</div>

Hey, I got exactly that after an upgrade:

> [@Raspberry pi 3 B camera issues after upgrade](https://dietpi.com/forum/t/raspberry-pi-3-b-camera-issues-after-upgrade/23280):
>
> Creating a bug report/issue I have searched the existing open and closed issues Required Information DietPi version | G\_DIETPI\_VERSION\_CORE=9 G\_DIETPI\_VERSION\_SUB=11 G\_DIETPI\_VERSION\_RC=2 G\_GITBRANCH=‘master’ G\_GITOWNER=‘MichaIng’ Distro version | bookworm 0 Kernel version | Linux DietPi 6.12.20+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.12.20-1+rpt1~bpo12+1 (2025-03-19) aarch64 GNU/Linux Architecture | arm64 SBC model | RPi 3 Model B+ (aarch64) Power supply used | several SD card used | One bo…

If you have added the camera correctly to motioneye, it might be the same.

```auto
apt-get -y install libcamera-v4l2 libcamera-tools
sed -i ‘s//usr/local/bin/meyectl//usr/bin/libcamerify /usr/local/bin/meyectl/’ /etc/systemd/system/motioneye.service

```

Found here:

> <https://github.com/motioneye-project/motioneye/issues/2812>
>
> Hello Motioneyeteam!
> How long will it be before Motioneye also supports the new …camera drivers for RPi?
> Sonnige Grüße aus Ulm, Germany

---

<div class="post-metadata">

### Author: ![system](https://dietpi.com/forum/uploads/default/original/1X/7e1021de2213860bce185915ce2c1786e56490ec.png) [@system](https://dietpi.com/forum/u/system)
#### Post date: [18 October 2025 08:10 UTC](https://dietpi.com/forum/t/ov5647-camera-not-functioning-with-motioneye/23305/3 "2025-10-18T08:10:05Z")

</div>

This topic was automatically closed 178 days after the last reply. New replies are no longer allowed.
