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

Extremely poor performance PI Zero W #2325

Open
Insprill opened this issue Mar 14, 2020 · 7 comments
Open

Extremely poor performance PI Zero W #2325

Insprill opened this issue Mar 14, 2020 · 7 comments

Comments

@Insprill
Copy link

Insprill commented Mar 14, 2020

Preliminary Docs

I confirm that I have read the CONTRIBUTING guide before opening this issue.

I confirm that I have read the FAQ before opening this issue.

motionEyeOS Version

I am running motionEyeOS version: 20190911.

Board Model

I am using the following board/model: Raspberry PI Zero W .

Camera

I am using the following type of camera: MMAL Camera.

My camera model is: Not sure model number so here is a link to it: https://www.amazon.com/gp/product/B073HYJDCM/ref=ppx_yo_dt_b_asin_title_o00_s01?ie=UTF8&th=1.

Network Connection

My motionEyeOS unit is connected to the network via: WiFi.

Hello! So i've been at this for awhile now and can't figure it out. So the performance is extremely poor, like <=0.5fps and 30+ seconds of lag. Pretty much unusable. I tried everything, read every forum post that was similar, read through every GitHub issue on here that relates and can't find anything. And it stays the same whether the res is at 320x200 or if its at 1280x720. I disabled still pictures and it help a small bit but not really noticeable. I also tried disabling recording and it made no difference. Now, i just enabled Fast Network Camera and bam. its working fine, no issues, except i need to record (continuous) and have them uploaded to Google Drive, which as far as i'm aware you can't do with Fast Network Camera on. I'm sorry if this is a stupid question but i really can't find anything, any help would be great :D

@Insprill Insprill changed the title extremely poor performance Extremely poor performance PI Zero W Mar 14, 2020
@Insprill
Copy link
Author

anything?

@starbasessd
Copy link

starbasessd commented Mar 16, 2020 via email

@Insprill
Copy link
Author

Insprill commented Mar 16, 2020

No i can't even get 200x300 at 2fps with movies and pictures disabled

@zubzero689
Copy link

Most of us if not all only use the zero w for fast network to another more powerful pi or other powerful single board computer. Me I can barely get 6-7fps when fasting it to a pi4 or even less to an xu4 right now unless I use the .avi format that will do 10fps at the sack of some quality

@jasaw
Copy link
Collaborator

jasaw commented Mar 17, 2020

@Insprill Pi Zero W can record (using h264_omx encoder) 720p 5 fps locally, and capable of running fast network cam mode RTSP at 1080p 30fps. I'm running 5 Pi Zero W cameras here and that's the performance I get. I even underclocked my Pi Zero Ws to reduce the operating temperature of the units. If you have a web browser connected to it, it will use CPU to encode MJPEG for live stream to the web browser. That's when the Pi Zero W struggles. Make sure you don't have a web browser connected to it then check what frame rate you're getting on the recorded videos.

Alternatively, you could set your Pi Zero W to fast network cam RTSP mode, stream to a more powerful device that does the motion detection and recording and uploading.

@grimkor
Copy link

grimkor commented Jun 24, 2020

@jasaw Do you have the config you're using on both the Pi W and the host consuming that stream? I've been playing around with RTSP @1080p with mixed success and could use some direction. Currently my testing is by consuming the RTSP feed with VLC.

@jasaw
Copy link
Collaborator

jasaw commented Jun 26, 2020

I have my RPI Zero W running at 1280 x 1024 @ 30 fps, bitrate 1 Mbps, image quality 25%, RTSP mode, MJPEG resolution 800x480 @ 5 fps, MJPEG bitrate 800kbps. They are all sitting within 30 meters from their nearest wifi access points.
I find that having multiple video streams going across wifi can degrade the frame rate of your RTSP streams. Try with one first, see where the limit is. Most likely your bottleneck is the wifi.

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

No branches or pull requests

5 participants