Anonymous

Camd: Difference between revisions

From YSTV Documentation Wiki
135 bytes added ,  23 July 2021
m
no edit summary
m (Greg.ebdon moved page Webcam to Camd: real name)
mNo edit summary
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''''camd''''' is a program written by [[hist:Alex Williams|Alex Williams]] to replace the old proprietary software that provided us with CCTV functionality. Currently running on [[ystvstrm1]], it has an init script (<code>/etc/init.d/webcam</code>) which brings it up on startup. It takes feeds from cameras in the studio (Canon DM-MV600i E) and control room (beige Sony CCD camera) into a capture card, and renders it to JPGs (deinterlacing, translating the colour space, getting locks on the device in the right order) which are displayed on the website when logged in under the [https://ystv.co.uk/internal/webcam Webcams] section. Watchers are logged under <code>/tmp/camd.log</code>.
'''''camd''''' is a program written by [[hist:Alex Williams|Alex Williams]] to replace the old, proprietary software (ZoneMinder) that provided us with CCTV functionality, but was very unstable with our capture card.


Every 24 hours a cron job runs to concatenate the logged JPGs into an MJPEG video, which is then stored under <code>/mnt/inform/var/camd/</code>, and delete the static images. These security camera videos are kept for a couple of weeks.
Currently running on [[ystvstrm1]], it has an init script (<code>/etc/init.d/webcam</code>) which brings it up on startup. It takes feeds from cameras in the studio ([[Howard]]) and control room (beige Sony CCD camera) into a black-and-white capture card, and renders it to JPGs (deinterlacing, translating the colour space, getting locks on the device in the right order) which are displayed on the website when logged in under the [https://ystv.co.uk/internal/webcam Webcams] section. Watchers are logged under <code>/tmp/camd.log</code>.
 
Every 24 hours a cron job runs to concatenate the logged JPGs into an MJPEG video, which is then stored under <code>/mnt/cctv/archive</code>, and delete the static images. These security camera videos are kept for a couple of weeks.


Rules in <code>/data/webs/ystv/static/cctv/.htaccess</code> are to align it with the old system for which the website was designed.
Rules in <code>/data/webs/ystv/static/cctv/.htaccess</code> are to align it with the old system for which the website was designed.


[[Category:Software]]
The code is stored in SVN as the [https://ystv.co.uk/svn/WebcamDaemon/ WebcamDaemon] repo.
 
[[Category:In-House]]
[[Category:In-House]]
archive team group, computing team, computing team group, domain admins, domain users, email, livestream technicians, vision mixer (obs)
390

edits