This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
bdev:octoprint_setup [2021/09/28 16:13] richard |
bdev:octoprint_setup [2021/10/28 15:25] (current) richard |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Octoprint ====== | ====== Octoprint ====== | ||
+ | |||
+ | |||
+ | \\ | ||
+ | |||
+ | |||
+ | The problem with installing manually is if you want to use the Arducam motorized focus camera. | ||
+ | |||
**Installing manually** | **Installing manually** | ||
Line 176: | Line 183: | ||
* Restart system: //sudo shutdown -r now// | * Restart system: //sudo shutdown -r now// | ||
* Shutdown system: //sudo shutdown -h now// | * Shutdown system: //sudo shutdown -h now// | ||
+ | |||
+ | |||
+ | **Optional: Webcam**\\ | ||
+ | If you also want webcam and timelapse support, you'll need to download and compile MJPG-Streamer: | ||
+ | \\ | ||
+ | < | ||
+ | cd ~ | ||
+ | sudo apt install subversion libjpeg62-turbo-dev imagemagick ffmpeg libv4l-dev cmake | ||
+ | git clone https:// | ||
+ | cd mjpg-streamer/ | ||
+ | export LD_LIBRARY_PATH=. | ||
+ | make | ||
+ | </ | ||
+ | |||
+ | \\ | ||
+ | |||
+ | < | ||
+ | Heads-up | ||
+ | |||
+ | The required packages depend on the underlying version of Debian! The above is what should work on the current Debian Stretch or Buster based images of Raspbian. | ||
+ | |||
+ | For Jessie use: | ||
+ | |||
+ | sudo apt install subversion libjpeg62-turbo-dev imagemagick libav-tools libv4l-dev cmake | ||
+ | For Wheezy or older (you should update...) use: | ||
+ | |||
+ | sudo apt install subversion libjpeg8-dev imagemagick libav-tools libv4l-dev cmake | ||
+ | </ | ||
+ | |||
+ | |||
+ | This should hopefully run through without any compilation errors. You should then be able to start the webcam server using:\\ | ||
+ | |||
+ | < | ||
+ | ./ | ||
+ | </ | ||
+ | |||
+ | For some webcams (including the PS3 Eye) you'll need to force the YUV mode by using the following start command:\\ | ||
+ | < | ||
+ | ./ | ||
+ | </ | ||
+ | |||