projects:internetofthings:shinobi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:internetofthings:shinobi [2018/01/06 15:45] – [Install] scipioprojects:internetofthings:shinobi [2018/04/03 13:19] (current) – [Motion destection] scipio
Line 8: Line 8:
 Install ffmpeg Install ffmpeg
 <code> <code>
-sudo add-apt-repository ppa:jonathonf/ffmpeg-3 -y+sudo apt-get install -y software-properties-common 
 +sudo add-apt-repository -y ppa:jonathonf/ffmpeg-3 -y
 sudo apt update -y && sudo apt install ffmpeg libav-tools x264 x265 -y sudo apt update -y && sudo apt install ffmpeg libav-tools x264 x265 -y
 </code> </code>
Line 14: Line 15:
 Clone git Clone git
 <code> <code>
 +sudo apt install -y git
 git clone -b dev --depth 1 https://github.com/ShinobiCCTV/Shinobi.git shinobi git clone -b dev --depth 1 https://github.com/ShinobiCCTV/Shinobi.git shinobi
 cd shinobi cd shinobi
 npm i npm i
 +
 +# install static ffmpeg
 +npm install ffmpeg-static
 </code> </code>
  
Line 24: Line 29:
 mysql < sql/user.sql  mysql < sql/user.sql 
 mysql ccio < sql/framework.sql  mysql ccio < sql/framework.sql 
-mysql ccio < sql/default_data.sql+mysql ccio < sql/default_data.sql
 </code> </code>
  
Line 36: Line 41:
 <code> <code>
 pm2 start camera.js pm2 start camera.js
-pm2 start cron.js+pm2 start cron.js
 </code> </code>
  
Line 56: Line 61:
   * stream type: MJPEG   * stream type: MJPEG
  
-===== Motion destection =====+===== Motion detection =====
  
 <code> <code>
  • projects/internetofthings/shinobi.1515249906.txt.gz
  • Last modified: 2018/01/06 15:45
  • by scipio