YvesG
Posts: 46
Joined: Wed Oct 03, 2012 6:54 pm

Motion low framerate and resolution... not any more...

Thu Oct 11, 2012 7:12 pm

I found a solution to have a high res and good frame rate with motion !!!!!!!

For that simply install mjpeg-streamer (that will give you good res + great frame rate) and tell to motion to use it instead of using /dev/video

More info here
http://www.lavrsen.dk/foswiki/bin/view/ ... pgStreamer

I am able to detect motion on video of 1280x720 at 15 fps.

Hope it helps

shuckle
Posts: 565
Joined: Sun Aug 26, 2012 11:49 am
Location: Finland

Re: Motion low framerate and resolution... not any more...

Fri Oct 12, 2012 6:43 am

Thanks a lot! Thia actually works. I have tried very many ways of getting god quality high resolution video, but this is the first that works!

I had to compile it myself usign instructions in http://www.raspberrypi.org/phpBB3/viewt ... p?p=164539.
And I had to add parameter -y to the input. Usefull command (I use local install so ./ is needed):
./mjpg_streamer -i "./input_uvc.so --help"

I am using command line
./mjpg_streamer -i "./input_uvc.so -y -d /dev/video0 -r 640x480 -f 10 -q 100 -n" -o "./output_http.so"
And that uses about 95% CPU in my turbo (arm_freq=1000) overclocked RPi. But it works ! The picture quality is good.

Return to “General discussion”