Need help or support for motioneye into Raspberry PI 5 board

60 views
Skip to first unread message

Ritesh Prajapati

unread,
Jun 23, 2025, 12:55:22 AMJun 23
to motioneye
Hello Team,

Good morning,

I have a Raspberry PI 5 board with default Bookworm Desktop image release on 13-May-2025 64bit.

I have connected IMX219-83 Stereo Camera which is working fine with libcamera commands without any issue.

Now, I have started to configure same for motionEye in which I have installed following packages so far.

sudo apt install ffmpeg v4l-utils curl -y
sudo apt install motion -y
sudo sed -i 's/daemon off/daemon on/' /etc/motion/motion.conf
sudo sed -i 's/^start_motion_daemon=no/start_motion_daemon=yes/' /etc/default/motion
sudo apt install python3-pip python3-dev libssl-dev libcurl4-openssl-dev libjpeg-dev zlib1g-dev -y


# 1. Install venv tools
sudo apt install python3-venv -y

# 2. Create a virtual environment
python3 -m venv ~/motioneye-venv

# 3. Activate the venv
source ~/motioneye-venv/bin/activate

# 4. Upgrade pip
pip install --upgrade pip

# 5. Install motionEye inside the venv
pip install motioneye

Restart MotionEye:
source ~/motioneye-venv/bin/activate
meyectl startserver -c /etc/motioneye/motioneye.conf

But it seems like camera is not detected into motioneye server page.

Then I have checked and executed following steps to configure it.

To add your IMX219-83 stereo camera (or any Raspberry Pi CSI camera) to MotionEye on Raspberry Pi OS Bookworm (which uses libcamera), you need a bridge because:

⚠️ libcamera does not expose cameras directly via /dev/video* — which is what MotionEye expects.

So, we’ll bridge libcamera output to a V4L2 virtual device using v4l2loopback and ffmpeg or GStreamer.

Step 1: Confirm the Camera Works with libcamera
libcamera-hello

Step 2: Install Dependencies
Install v4l2loopback kernel module and required tools:
sudo apt install v4l2loopback-utils ffmpeg -y
Load the virtual video device:




Solution: Manually Build v4l2loopback for Kernel 6.12.33-v8-16k+
Step 1: Install Required Packages
sudo apt update
sudo apt install -y git raspberrypi-kernel-headers build-essential dkms

Check the exact kernel version:
uname -r

Step 2: Clone and Build v4l2loopback
git clone https://github.com/umlaeute/v4l2loopback.git
cd v4l2loopback
make

But, still I am not getting any success to compile v4l2loopback.

If anyone has overall steps to start motioneye into Bookworm Desktop image OS image then please help to start working.

Let me know if need anything else from my end.

Regards,
Ritesh Prajapati

Ritesh Prajapati

unread,
Jun 23, 2025, 1:11:50 PMJun 23
to motioneye
  Hello,

I have tried install motioneyeos-raspberrypi4-20200606.img.xz 

image into 4GB SD Card and installed into Raspberry PI 5 board but i am getting below error while connecting with HDMI cable.















So, would you please help us if any has worked on same image with Raspberry PI board and steps to configure and start motioneye image?

Regards,
Ritesh Prajapati
Raspberry_PI_5_Error.jpeg

StarbaseSSD

unread,
Jun 23, 2025, 6:32:24 PMJun 23
to motioneye
I suggest posting your issue here:

Ritesh Prajapati

unread,
Jun 24, 2025, 12:02:03 AMJun 24
to motioneye
Thanks  StarbaseSSD for your prompt response.

I will post issue over there as well.

Regards,
Ritesh Prajapati

Ritesh Prajapati

unread,
Jun 24, 2025, 12:11:52 AMJun 24
to motioneye
Hello,

I have posted question into below place as well.


Regards,
Ritesh Prajapati

Reply all
Reply to author
Forward
0 new messages