-
Notifications
You must be signed in to change notification settings - Fork 60
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
Really slow framerate... #9
Comments
I remember having unexplainable performance problems with v4l2 and ffmpeg. I always assumed some tweaks were needed but I personally wouldn't know what to do. The example was given so that it works with what most users have on their computers (ffmpeg), but there might be other utilities being capable of grabbing v4l2 data and spitting jpegs. I use streamEye with raspimjpeg.py and results are roughly 10x better than with motion on a Raspberry PI. In your case however you should seek help from the ffmpeg community on how to grab mjpeg from v4l2 devices in the most efficient way. |
@scales11 I know, it's been a while, but I found a perfect way to stream in butter smooth 1920x1080 with 30 FPS on Raspberry PI zero
The key ingredient was using raspimjpeg.py with streameye and setting the quality to 10 ( |
@don41382 Thanks for the tip! I currently and running Debian OS with motioneye. I will try this method next. |
Hello,
I have successfully installed streameye on my pogoplug running archlinux arm.
However when I run the command:
ffmpeg -f video4linux2 -i /dev/video0 -r 30 -s 640x480 -f mjpeg -qscale 5 - 2>/dev/null | streameye
The video shown on the http://ip_address is terribly slow (maybe 1-2 frames per second) and has a massive delay (somewhere on the order of 1-2 minutes delay)
If I use ctrl+c to kill the process, the webcam becomes unusable and can only be seen/used if I reboot the pogoplug.
The main motivation for using streameye was to get better performance than motion, however, motion is somehow faster...about 5fps, and still not quite useable.
Can you please offer any advice? I cannot find any tips or other examples online.
Thanks!
The text was updated successfully, but these errors were encountered: