<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://baszerr.eu/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>BaSzErr - prjs:axplincam</title>
        <description></description>
        <link>https://baszerr.eu/</link>
        <lastBuildDate>Sat, 02 May 2026 18:14:22 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>https://baszerr.eu/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
            <title>BaSzErr</title>
            <link>https://baszerr.eu/</link>
        </image>
        <item>
            <title>axplincam</title>
            <link>https://baszerr.eu/doku.php?id=prjs:axplincam:axplincam</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;axplincam&quot;&gt;AxpLinCam&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
few days ago i bought &lt;em&gt;AXP IP camera&lt;/em&gt;. it has wifi (802.11n is supported!), ethernet (10/100) audio in/out, 1 input and 1 output relay (for controlling stuff). of course pan/tilt is also available. video is recorded in a HD (1280&amp;times;720) at 25fps.
&lt;/p&gt;

&lt;p&gt;
&lt;a href=&quot;https://baszerr.eu/lib/exe/detail.php?id=prjs%3Aaxplincam%3Aaxplincam&amp;amp;media=prjs:axplincam:front.jpg&quot; class=&quot;media&quot; title=&quot;prjs:axplincam:front.jpg&quot;&gt;&lt;img src=&quot;https://baszerr.eu/lib/exe/fetch.php?w=200&amp;amp;tok=e2fb3c&amp;amp;media=prjs:axplincam:front.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;AXP - front view&quot; alt=&quot;AXP - front view&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;
&lt;a href=&quot;https://baszerr.eu/lib/exe/detail.php?id=prjs%3Aaxplincam%3Aaxplincam&amp;amp;media=prjs:axplincam:back.jpg&quot; class=&quot;media&quot; title=&quot;prjs:axplincam:back.jpg&quot;&gt;&lt;img src=&quot;https://baszerr.eu/lib/exe/fetch.php?w=200&amp;amp;tok=a2a596&amp;amp;media=prjs:axplincam:back.jpg&quot; class=&quot;media&quot; loading=&quot;lazy&quot; title=&quot;AXP - back view&quot; alt=&quot;AXP - back view&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;
&lt;/p&gt;

&lt;p&gt;
it is though to be controlled via web interface (requires ActiveX – no comments on that…). video camera supports getting a video stream via &lt;a href=&quot;https://en.wikipedia.org/wiki/RTSP&quot; class=&quot;interwiki iw_wp&quot; title=&quot;https://en.wikipedia.org/wiki/RTSP&quot;&gt;RTSP&lt;/a&gt;. there are two issues with that:
&lt;/p&gt;
&lt;ol&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; documentation says nothing about the address to use.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; there is no documentation on how to control the camera outside of the web interface.&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;
let&amp;#039;s see what can we do about that… :)
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;AxpLinCam&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;axplincam&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;1-753&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit2&quot; id=&quot;protocol&quot;&gt;protocol&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
… is not documented. event RTSP link did not make it to the documentation. ;) fortunately, after a minute with &lt;a href=&quot;https://en.wikipedia.org/wiki/wireshark&quot; class=&quot;interwiki iw_wp&quot; title=&quot;https://en.wikipedia.org/wiki/wireshark&quot;&gt;wireshark&lt;/a&gt;, it appeared that the protocol is, in fact, dead simple.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;protocol&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;protocol&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;754-964&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;rtsp&quot;&gt;RTSP&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
there are two streams, that can be obtained (assuming 1.2.3.4 is the IP of the camera):
&lt;/p&gt;
&lt;ol&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; rtsp://1.2.3.4/11 (high resolution)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; rtsp://1.2.3.4/12 (lower resolution)&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;
it can be player with mplayer like this:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;mplayer -user &amp;quot;user&amp;quot; -passwd &amp;quot;xxxx&amp;quot; &amp;quot;rtsp://1.2.3.4/11&amp;quot;&lt;/pre&gt;

&lt;p&gt;
and recorded like this:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;mplayer -dumpvideo -dumpfile out.mpg -user &amp;quot;user&amp;quot; -passwd &amp;quot;xxxx&amp;quot; &amp;quot;rtsp://1.2.3.4/11&amp;quot;&lt;/pre&gt;

&lt;p&gt;
stream is saved as &lt;a href=&quot;https://en.wikipedia.org/wiki/H.264&quot; class=&quot;interwiki iw_wp&quot; title=&quot;https://en.wikipedia.org/wiki/H.264&quot;&gt;H.264&lt;/a&gt; mpeg.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;RTSP&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;rtsp&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;965-1438&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;pan_tilt_control&quot;&gt;pan/tilt control&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;

&lt;p&gt;
camera movement is simply &lt;a href=&quot;https://en.wikipedia.org/wiki/HTTP&quot; class=&quot;interwiki iw_wp&quot; title=&quot;https://en.wikipedia.org/wiki/HTTP&quot;&gt;HTTP&lt;/a&gt; request. base link is: http://1.2.3.4/web/cgi-bin/hi3510/ptzctrl.cgi. parameters are passed directly as a &lt;a href=&quot;https://en.wikipedia.org/wiki/POST (HTTP)&quot; class=&quot;interwiki iw_wp&quot; title=&quot;https://en.wikipedia.org/wiki/POST (HTTP)&quot;&gt;post&lt;/a&gt; arguments. the nice think is it even has a help switch, so to see available options wget can be used:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;$ wget -q -O - &amp;quot;http://1.2.3.4/web/cgi-bin/hi3510/ptzctrl.cgi?-?&amp;quot;
-?
  print help msg 

-act
  ptz action:up|down|left|right|vscan|hscan|stop|home

-chn
  channel number:0~3 default:0

-step
  step or not: 0|1 default:0

-speed
  speed number:0~255 default:0&lt;/pre&gt;

&lt;p&gt;
content is pretty much self-explaining. for example to rotate camera, one step left, the command is:
&lt;/p&gt;
&lt;pre class=&quot;code&quot;&gt;$ wget -q -O - &amp;quot;http://1.2.3.4/web/cgi-bin/hi3510/ptzctrl.cgi?-act=left&amp;amp;-step=1&amp;quot;
[Success]call ptz function ok&lt;/pre&gt;

&lt;p&gt;
yes! you&amp;#039;ve noticed correctly – no user name, nor password is required to operate on the camera! this is a fatal security breach, since anyone with the access to the network can move it to point, say to a ceiling, instead of actually monitored object! it&amp;#039;s still a nice toy – but only a toy…
&lt;/p&gt;

&lt;p&gt;
the funny thing is, that it is probably more generic script, since it is called &lt;a href=&quot;https://en.wikipedia.org/wiki/Pan–tilt–zoom_camera&quot; class=&quot;interwiki iw_wp&quot; title=&quot;https://en.wikipedia.org/wiki/Pan–tilt–zoom_camera&quot;&gt;PTZctrl&lt;/a&gt;, though camera does not support zoom. so it is possible that the same bug is present in more device types…
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;pan\/tilt control&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;pan_tilt_control&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;1439-2792&amp;quot;} --&gt;
&lt;h2 class=&quot;sectionedit5&quot; id=&quot;linux_tools&quot;&gt;linux tools&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
in order to use the device from linux, one must have option to capture video stream and to move camera. stream can be captured with mplayer. to control camera in a user-friendly way a &lt;a href=&quot;https://en.wikipedia.org/wiki/Python (programming language)&quot; class=&quot;interwiki iw_wp&quot; title=&quot;https://en.wikipedia.org/wiki/Python (programming language)&quot;&gt;python&lt;/a&gt; library and an executable script has been created. it allows you to control device with arrow keys as well as do other requests, like infrared LED turning on/off. since version v1.1.0 also non-interactive, command line processing is available.
&lt;/p&gt;

&lt;p&gt;
code is available on &lt;a href=&quot;https://github.com/el-bart/AxpLinCam&quot; class=&quot;urlextern&quot; title=&quot;https://github.com/el-bart/AxpLinCam&quot; rel=&quot;ugc nofollow&quot;&gt;github/AxpLinCam&lt;/a&gt; project.
&lt;/p&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;linux tools&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;linux_tools&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;2793-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Tue, 15 Jun 2021 20:09:51 +0000</pubDate>
        </item>
    </channel>
</rss>
