http://sourceforge.net/projects/mjpg-streamer/

svn address svn checkout svn://svn.code.sf.net/p/mjpg-streamer/code/ mjpg-streamer-code

required packages
apt-get install libv4l-dev
apt-get install libjpeg8-dev
apt-get install imagemagick

compile

cd mjpg-streamer-code/mjpg-streamer
make USE_LIBV4L2=true clean all
make DESTDIR=/usr install

run mjpg-streamer

mjpg_streamer -i "/usr/lib/input_uvc.so -d /dev/video0  -r 640x480 -f 1" -o "/usr/lib/output_http.so -p 8090 -w www/"

./mjpg_streamer -i "./input_uvc.so -r 120*90 -f 30" -o "./output_file.so -f ./install/ -m aa.mjpg"

cat start.sh for more using details

error & solution

convert: not found 是因为没有装imagemagick包

performance on raspberrypi

120*90, 14fps

640*480, 14fps
960*720, 15fps

ref

http://www.linuxcircle.com/2013/02/06/faster-video-streaming-on-raspberry-media-server-with-mjpg-streamer/

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-03-30
  • 2022-12-23
  • 2022-12-23
  • 2021-08-18
  • 2021-05-09
  • 2021-04-26
猜你喜欢
  • 2022-02-11
  • 2022-12-23
  • 2022-12-23
  • 2021-05-07
  • 2021-07-02
  • 2022-12-23
  • 2021-10-10
相关资源
相似解决方案