Change camera frame rate for Streaming Video Example


#1

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"
fi

if pgrep mjpg_streamer > /dev/null
then
echo "mjpg_streamer already running"
else
LD_LIBRARY_PATH=/opt/mjpg-streamer/ /opt/mjpg-streamer/mjpg_streamer -i “input_file.so -f /tmp/stream -n pic.jpg” -o “output_http.so -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.


#2

@salvideoguy,
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.