Change camera frame rate for Streaming Video Example


Can the mjpg_streamer be told to capture at a higher frame rate?
Where can I specify this?

I tried experimenting with both of these:

raspistill -w 640 -h 480 -q 5 -o /tmp/stream/pic.jpg -tl 100 -t 9999999 -th 0:0:0 -n > /dev/null 2>&1&
echo "raspistill started"

if pgrep mjpg_streamer > /dev/null
echo "mjpg_streamer already running"
LD_LIBRARY_PATH=/opt/mjpg-streamer/ /opt/mjpg-streamer/mjpg_streamer -i “ -f /tmp/stream -n pic.jpg” -o “ -p 9000 -w /opt/mjpg-streamer/www” > /dev/null 2>&1&
echo “mjpg_streamer started”

But no luck.

If I can change the frame rate, I can have nicer local video coming from GoPiGo.
Any ideas?

Thanks in advance.


We havent’t tried this before however a google search pointed to a few resources. Can you have a look at the discussion here and here and the MJPEG config options here.

Do let us know if this helps.