streameye
streameye copied to clipboard
Really slow framerate...
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!
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
./raspimjpeg.py -w 1920 -h 1080 -r 30 -q 10 | streameye
The key ingredient was using raspimjpeg.py with streameye and setting the quality to 10 (-q 10
), which is still really good.
@don41382 Thanks for the tip! I currently and running Debian OS with motioneye. I will try this method next.