Difference between revisions of "Dedicated RPI Camera Monitor"

From ZoneMinder Wiki
Jump to navigationJump to search
Line 4: Line 4:


Boot up and enable ssh (service ssh start), change your password (passwd pi), and apt-get update && apt-get dist-upgrade
Boot up and enable ssh (service ssh start), change your password (passwd pi), and apt-get update && apt-get dist-upgrade
If you later want to use ffmpeg and hwaccel to view streams, you will want to install ffmpeg now from the official rpi repos (more details further down).


Now migrate following these instructions [https://devuan.org/os/documentation/dev1fanboy/migrate-to-ascii]
Now migrate following these instructions [https://devuan.org/os/documentation/dev1fanboy/migrate-to-ascii]
Line 20: Line 21:


Sidenote: This particular arm OS is armhf (arm with hardware float peripheral included).  
Sidenote: This particular arm OS is armhf (arm with hardware float peripheral included).  
There is also armel, and arm64 (arm with software float, and arm 64 bit) that is available for debian. The devuan sd card image for rpi3, if used from the devuan mirrors, is arm64. This is an important distinction in the case that you might want to use this platform for something else. Some apt packages and external software that is available for armhf, are not supported (officially supported) as well in arm64, and possibly vice versa. The main raspberry pi 3 images are armhf, so from that, most software is compatible with armhf.
There is also armel, and arm64 (arm with software float, and arm 64 bit respectively) that is available for debian on the pi. The devuan sd card image for rpi3, if used from the devuan mirrors, is arm64. This is an important distinction in the case that you might want to use this platform for something else. Some apt packages and external software that is available for armhf, are not supported (officially supported) as well in arm64, and possibly vice versa. The main raspberry pi 3 images are armhf, so from that, most software is compatible with armhf.
 
I will try install firefox-esr here. NOTE: it's truly best to use VLC or mplayer with the hwaccel codecs, and directly view the RTSP stream of the camera, but I happen to be using this for viewing an internet stream in this use case scenario. For those interested in using VLC or mplayer direct with hwaccel codecs, please see this thread [https://forums.zoneminder.com/viewtopic.php?f=34&p=106795].

Revision as of 23:53, 22 August 2018

Following the similar Dedicated_SBC_Camera_Monitor guide, I'll do the same thing with a Raspberry Pi model 3, and Devuan Ascii, this time (migrated from Debian Stretch Lite)

First, image the Debian Stretch Lite to your SD card

Boot up and enable ssh (service ssh start), change your password (passwd pi), and apt-get update && apt-get dist-upgrade If you later want to use ffmpeg and hwaccel to view streams, you will want to install ffmpeg now from the official rpi repos (more details further down).

Now migrate following these instructions [1]

Before installing sysvinit-core I created an /etc/network/interfaces file with the following tab did not exist. auto eth0 iface eth0 inet dhcp i Before rebooting, after apt-get install sysvinit-core, make sure /etc/inittab exists, and has startup data. I've had issues where, when migrating a VPS to devuan Jessie, inittab did not exist, and the VPS would fail to boot.

Continue with the ascii migration guide.

At the end, go to /etc/apt/sources.list.d/ and remove the raspberry pi link there.

Sidenote: This particular arm OS is armhf (arm with hardware float peripheral included). There is also armel, and arm64 (arm with software float, and arm 64 bit respectively) that is available for debian on the pi. The devuan sd card image for rpi3, if used from the devuan mirrors, is arm64. This is an important distinction in the case that you might want to use this platform for something else. Some apt packages and external software that is available for armhf, are not supported (officially supported) as well in arm64, and possibly vice versa. The main raspberry pi 3 images are armhf, so from that, most software is compatible with armhf.

I will try install firefox-esr here. NOTE: it's truly best to use VLC or mplayer with the hwaccel codecs, and directly view the RTSP stream of the camera, but I happen to be using this for viewing an internet stream in this use case scenario. For those interested in using VLC or mplayer direct with hwaccel codecs, please see this thread [2].