- 最新パッケージリストを取得
$ sudo apt update
$ sudo apt upgrade -y
- MJPG-streamer をプルダウン (Clone Repo)
$ mkdir ~/src
$ cd ~/src
$ git clone https://github.com/jacksonliam/mjpg-streamer.git
mjpg-streamer/README.md
- MJPG-streamer が必要とするパッケージをインストール
$ sudo apt install cmake libjpeg8-dev -y
- ビルド
$ cd mjpg-streamer/mjpg-streamer-experimental
$ make
$ sudo make install
$ ls ~/src/mjpg-streamer
mjpg-streamer-experimental README.md
$ ls ~/src/mjpg-streamer/mjpg-streamer-experimental
_build input_http.so mjpg_streamer output_rtsp.so start.sh
cmake input_raspicam.so mjpg_streamer.c output_udp.so TODO
CMakeLists.txt input_uvc.so mjpg_streamer.h plugins utils.c
Dockerfile LICENSE mjpg_streamer@.service postinstall.sh utils.h
docker-start.sh makedeb.sh output_file.so README.md www
input_file.so Makefile output_http.so scripts
( /usr/local/lib/mjpg-streamer の中のファイルは,すべてここにある )
$ ls ~/src/mjpg-streamer/mjpg-streamer-experimental/www
bodybg.gif java_control.html JQuerySpinBtn.js static.html
cambozola.jar java.html jquery.ui.core.min.js static_simple.html
control.htm javascript.html jquery.ui.custom.css stream.html
example.jpg javascript_motiondetection.html jquery.ui.tabs.min.js stream_simple.html
favicon.ico javascript_simple.html jquery.ui.widget.min.js style.css
favicon.png java_simple.html LICENSE.txt videolan.html
fix.css jquery.js rotateicons.png
functions.js jquery.rotate.js sidebarbg.gif
index.html JQuerySpinBtn.css spinbtn_updn.gif
( /usr/local/share/mjpg-streamer/www の内容と同じ )
make install での install の内容:
-- Install configuration: "Release"
-- Installing: /usr/local/bin/mjpg_streamer
-- Set runtime path of "/usr/local/bin/mjpg_streamer" to "/usr/local/lib/mjpg-streamer"
-- Installing: /usr/local/share/mjpg-streamer/www
-- Installing: /usr/local/share/mjpg-streamer/www/JQuerySpinBtn.css
-- Installing: /usr/local/share/mjpg-streamer/www/java.html
-- Installing: /usr/local/share/mjpg-streamer/www/stream_simple.html
-- Installing: /usr/local/share/mjpg-streamer/www/jquery.ui.custom.css
-- Installing: /usr/local/share/mjpg-streamer/www/sidebarbg.gif
-- Installing: /usr/local/share/mjpg-streamer/www/javascript.html
-- Installing: /usr/local/share/mjpg-streamer/www/favicon.ico
-- Installing: /usr/local/share/mjpg-streamer/www/style.css
-- Installing: /usr/local/share/mjpg-streamer/www/bodybg.gif
-- Installing: /usr/local/share/mjpg-streamer/www/static_simple.html
-- Installing: /usr/local/share/mjpg-streamer/www/jquery.rotate.js
-- Installing: /usr/local/share/mjpg-streamer/www/rotateicons.png
-- Installing: /usr/local/share/mjpg-streamer/www/javascript_motiondetection.html
-- Installing: /usr/local/share/mjpg-streamer/www/index.html
-- Installing: /usr/local/share/mjpg-streamer/www/jquery.js
-- Installing: /usr/local/share/mjpg-streamer/www/static.html
-- Installing: /usr/local/share/mjpg-streamer/www/LICENSE.txt
-- Installing: /usr/local/share/mjpg-streamer/www/example.jpg
-- Installing: /usr/local/share/mjpg-streamer/www/jquery.ui.widget.min.js
-- Installing: /usr/local/share/mjpg-streamer/www/spinbtn_updn.gif
-- Installing: /usr/local/share/mjpg-streamer/www/videolan.html
-- Installing: /usr/local/share/mjpg-streamer/www/jquery.ui.core.min.js
-- Installing: /usr/local/share/mjpg-streamer/www/JQuerySpinBtn.js
-- Installing: /usr/local/share/mjpg-streamer/www/java_simple.html
-- Installing: /usr/local/share/mjpg-streamer/www/javascript_simple.html
-- Installing: /usr/local/share/mjpg-streamer/www/cambozola.jar
-- Installing: /usr/local/share/mjpg-streamer/www/java_control.html
-- Installing: /usr/local/share/mjpg-streamer/www/stream.html
-- Installing: /usr/local/share/mjpg-streamer/www/fix.css
-- Installing: /usr/local/share/mjpg-streamer/www/jquery.ui.tabs.min.js
-- Installing: /usr/local/share/mjpg-streamer/www/functions.js
-- Installing: /usr/local/share/mjpg-streamer/www/favicon.png
-- Installing: /usr/local/share/mjpg-streamer/www/control.htm
-- Installing: /usr/local/lib/mjpg-streamer/input_file.so
-- Installing: /usr/local/lib/mjpg-streamer/input_http.so
-- Installing: /usr/local/lib/mjpg-streamer/input_raspicam.so
-- Set runtime path of "/usr/local/lib/mjpg-streamer/input_raspicam.so" to ""
-- Installing: /usr/local/lib/mjpg-streamer/input_uvc.so
-- Installing: /usr/local/lib/mjpg-streamer/output_file.so
-- Installing: /usr/local/lib/mjpg-streamer/output_http.so
-- Installing: /usr/local/lib/mjpg-streamer/output_rtsp.so
-- Installing: /usr/local/lib/mjpg-streamer/output_udp.so
$ ls /usr/local/share/mjpg-streamer
www
$ ls /usr/local/share/mjpg-streamer/www
bodybg.gif java_control.html JQuerySpinBtn.js static.html
cambozola.jar java.html jquery.ui.core.min.js static_simple.html
control.htm javascript.html jquery.ui.custom.css stream.html
example.jpg javascript_motiondetection.html jquery.ui.tabs.min.js stream_simple.html
favicon.ico javascript_simple.html jquery.ui.widget.min.js style.css
favicon.png java_simple.html LICENSE.txt videolan.html
fix.css jquery.js rotateicons.png
functions.js jquery.rotate.js sidebarbg.gif
index.html JQuerySpinBtn.css spinbtn_updn.gif
$ ls /usr/local/lib/mjpg-streamer
input_file.so input_raspicam.so output_file.so output_rtsp.so
input_http.so input_uvc.so output_http.so output_udp.so
|