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

Zero W #5

Open
djhnsn opened this issue Jul 9, 2020 · 1 comment
Open

Zero W #5

djhnsn opened this issue Jul 9, 2020 · 1 comment

Comments

@djhnsn
Copy link

djhnsn commented Jul 9, 2020

Hello, I am trying to run a pi zero as an ip cam to stream to open cv, and am getting bad frame rates with motioneyeos. Through googling my issue, I found your project here. My question is, what image do I flash? I don't see the zero w in the downloads, but you do mention config settings for it. At this time, I just simply need better framerate.

Thanks.

@jasaw
Copy link
Owner

jasaw commented Jul 9, 2020

Hi @djhnsn ,

My build here is quite old now, so I recommend using ccrisan's build (upstream motioneyeos) because all my work has been merged in.

To get good framerate from RPi Zero W IP camera, you'll have to set the RPi Zero W as Fast Network Camera (FNC mode). This option should be available under "Expert" settings. The RPi will reboot and go into FNC mode. Now you will have to enable RTSP mode, which is under "Video Streaming", change the "Streaming Protocol" to RTSP, and the rest you can leave as default. Most streaming problem is caused by poor/congested wifi, so start with low bitrate (1Mbps is fine), low framerate, and low resolution. Increase it slowly to see where your wifi bandwidth limit is.

On the OpenCV (receiving end), you'll want to read your video stream from rtsp://<rpi-zero-ip-address>/h264. Replace <rpi-zero-ip-address> with your rpi zero IP address or hostname, e.g. rtsp://192.168.1.200/h264.

Hope that helps.

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

No branches or pull requests

2 participants