]> pere.pagekite.me Git - homepage.git/blobdiff - blog/index.rss
Generated.
[homepage.git] / blog / index.rss
index 2872b92f717b758890a5b64009f45307e1fc009c..84d1f04b853803da9d788e8b6312494662301652 100644 (file)
@@ -6,6 +6,81 @@
                 <link>https://people.skolelinux.org/pere/blog/</link>
                 <atom:link href="https://people.skolelinux.org/pere/blog/index.rss" rel="self" type="application/rss+xml" />
        
                 <link>https://people.skolelinux.org/pere/blog/</link>
                 <atom:link href="https://people.skolelinux.org/pere/blog/index.rss" rel="self" type="application/rss+xml" />
        
+       <item>
+               <title>Managing and using ONVIF IP cameras with Linux</title>
+               <link>https://people.skolelinux.org/pere/blog/Managing_and_using_ONVIF_IP_cameras_with_Linux.html</link>
+               <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/Managing_and_using_ONVIF_IP_cameras_with_Linux.html</guid>
+                <pubDate>Wed, 19 Oct 2022 12:30:00 +0200</pubDate>
+               <description>&lt;p&gt;Recently I have been looking at how to control and collect data
+from a handful IP cameras using Linux.  I both wanted to change their
+settings and to make their imagery available via a free software
+service under my control.  Here is a summary of the tools I found.&lt;/p&gt;
+
+&lt;p&gt;First I had to identify the cameras and their protocols.  As far as
+I could tell, they were using some SOAP looking protocol and their
+internal web server seem to only work with Microsoft Internet Explorer
+with some proprietary binary plugin, which in these days of course is
+a security disaster and also made it impossible for me to use the
+camera web interface.  Luckily I discovered that the SOAP looking
+protocol is actually following &lt;a href=&quot;https://www.onvif.org/&quot;&gt;the
+ONVIF specification&lt;/a&gt;, which seem to be supported by a lot of IP
+cameras these days.&lt;/p&gt;
+
+&lt;p&gt;Once the protocol was identified, I was able to find what appear to
+be the most popular way to configure ONVIF cameras, the free software
+Windows tool named
+&lt;a href=&quot;https://sourceforge.net/projects/onvifdm/&quot;&gt;ONVIF Device
+Manager&lt;/a&gt;.  Lacking any other options at the time, I tried
+unsuccessfully to get it running using Wine, but was missing a dotnet
+40 library and I found no way around it to run it on Linux.&lt;/p&gt;
+
+&lt;p&gt;The next tool I found to configure the cameras were a non-free Linux Qt
+client &lt;a href=&quot;https://www.lingodigit.com/onvif_nvcdemo.html&quot;&gt;ONVIF
+Device Tool&lt;/a&gt;.  I did not like its terms of use, so did not spend
+much time on it.&lt;/p&gt;
+
+&lt;p&gt;To collect the video and make it available in a web interface, I
+found the Zoneminder tool in Debian.  A recent version was able to
+automatically detect and configure ONVIF devices, so I could use it to
+set up motion detection in and collection of the camera output.  I had
+initial problems getting the ONVIF autodetection to work, as both
+Firefox and Chromium &lt;a href=&quot;https://bugs.debian.org/1001188&quot;&gt;refused
+the inter-tab communication&lt;/a&gt; being used by the Zoneminder web
+pages, but managed to get konqueror to work.  Apparently the &quot;Enhanced
+Tracking Protection&quot; in Firefox cause the problem.  I ended up
+upgrading to the Bookworm edition of Zoneminder in the process to try
+to fix the issue, and believe the problem might be solved now.&lt;/p&gt;
+
+&lt;p&gt;In the process I came across the nice Linux GUI tool
+&lt;a href=&quot;https://gitlab.com/caspermeijn/onvifviewer/&quot;&gt;ONVIF Viewer&lt;/a&gt;
+allowing me to preview the camera output and validate the login
+passwords required.  Sadly its author has grown tired of maintaining
+the software, so it might not see any future updates.  Which is sad,
+as the viewer is sightly unstable and the picture tend to lock up.
+Note, this lockup might be due to limitations in the cameras and not
+the viewer implementation.  I suspect the camera is only able to
+provide pictures to one client at the time, and the Zoneminder feed
+might interfere with the GUI viewer.  I have
+&lt;a href=&quot;https://bugs.debian.org/1000820&quot;&gt;asked for the tool to be
+included in Debian&lt;/a&gt;.&lt;/p&gt;
+
+&lt;p&gt;Finally, I found what appear to be very nice Linux free software
+replacement for the Windows tool, named
+&lt;a href=&quot;https://github.com/sr99622/libonvif/&quot;&gt;libonvif&lt;/a&gt;.  It
+provide a C library to talk to ONVIF devices as well as a command line
+and GUI tool using the library.  Using the GUI tool I was able to change
+the admin passwords and update other settings of the cameras.  I have
+&lt;a href=&quot;https://bugs.debian.org/1021980&quot;&gt;asked for the package to be
+included in Debian&lt;/a&gt;.&lt;/p&gt;
+
+&lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
+activities, please send Bitcoin donations to my address
+&lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
+
+
+</description>
+       </item>
+       
        <item>
                <title>Time to translate the Bullseye edition of the Debian Administrator&#39;s Handbook</title>
                <link>https://people.skolelinux.org/pere/blog/Time_to_translate_the_Bullseye_edition_of_the_Debian_Administrator_s_Handbook.html</link>
        <item>
                <title>Time to translate the Bullseye edition of the Debian Administrator&#39;s Handbook</title>
                <link>https://people.skolelinux.org/pere/blog/Time_to_translate_the_Bullseye_edition_of_the_Debian_Administrator_s_Handbook.html</link>
@@ -581,40 +656,6 @@ most welcome to
 &lt;a href=&quot;https://hosted.weblate.org/engage/linuxcnc/&quot;&gt;join the
 effort&lt;/a&gt; using Weblate.&lt;/p&gt;
 
 &lt;a href=&quot;https://hosted.weblate.org/engage/linuxcnc/&quot;&gt;join the
 effort&lt;/a&gt; using Weblate.&lt;/p&gt;
 
-&lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
-activities, please send Bitcoin donations to my address
-&lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
-</description>
-       </item>
-       
-       <item>
-               <title>Updated vlc bittorrent plugin in Debian (version 2.14)</title>
-               <link>https://people.skolelinux.org/pere/blog/Updated_vlc_bittorrent_plugin_in_Debian__version_2_14_.html</link>
-               <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/Updated_vlc_bittorrent_plugin_in_Debian__version_2_14_.html</guid>
-                <pubDate>Mon, 14 Feb 2022 08:00:00 +0100</pubDate>
-               <description>&lt;p&gt;I am very happy to report that a new version of the
-&lt;a href=&quot;https://tracker.debian.org/pkg/vlc-plugin-bittorrent&quot;&gt;VLC
-bittorrent plugin&lt;/a&gt; was just uploaded into debian.  The changes
-since last time is mostly code clean in the download code. The package
-is currently in Debian unstable, but should be available in Debian
-testing son.  To test it, simply install it like this:&lt;/p&gt;
-
-&lt;p&gt;&lt;pre&gt;
-apt install vlc-plugin-bittorrent
-&lt;/pre&gt;&lt;/p&gt;
-
-&lt;p&gt;After it is installed, you can try to use it to play a file
-downloaded live via bittorrent like this:
-
-&lt;p&gt;&lt;pre&gt;
-vlc https://archive.org/download/Glass_201703/Glass_201703_archive.torrent
-&lt;/pre&gt;&lt;/p&gt;
-
-&lt;p&gt;It can also use magnet links and local .torrent files like the ones
-provided by the Internet Archive.  Another example is the &lt;a
-href=&quot;https://archive.org/details/LoveNest&quot;&gt;Love Nest&lt;/a&gt; Buster
-Keaton movie, where one can click on the &#39;Torrent&#39; link to get going.&lt;/p&gt;
-
 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
 activities, please send Bitcoin donations to my address
 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
 activities, please send Bitcoin donations to my address
 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;