Go read my blog


Onvif Test

This little app is a test of the new ONVIF library (there are 2 javascript based libraries around). These libs makes creating an NVR almost completely trivial.

The app was made using node.js, onvif-node and enclose.


test.exe [ip of camera] [user] [pass]



Ocularis SDK Videohook Tester

Use this app to test Ocularis SDK video hooks
You must install the Ocularis SDK before running the app.

ConsoleStreamer.exe [host] [username] [password]
for example
ConsoleStreamer.exe morten Cyt!a5La
The app will log into the Ocularis base at the given host using the credentials provided. Once logged in, the app will show the cameras found. Each camera will get an index like so:
0: Front Door Camera
1: Basement
2: Parking Lot
You will then be asked to enter the ids of the cameras you want to test. Enter the indices, separated by comma, and then press enter. For example, to stream from the Front Door and the Basement enter
You'll then see a lot of output in the window, some counters and diagnostic messages from the video decoder. Leave it running for a while, and then press any key. Once you do, the streaming will stop, and you'll see how many frames were recieved from each camera. Then press any key to exit the app.

Download here


OMS Alpha testers can use this QR code


This tool allows you to monitor a systems alive status

You'll need to keep sending an alive beacon to the server. If the server does not receive an alive message within the last 24 hours, the system is considered dead.

Usage : posting an alive message

http://prescienta-stun.cloudapp.net/alive/alive.aspx?uid=[username]&pid=[probe name]

Example (curl)

curl http://prescienta-stun.cloudapp.net/alive/alive.aspx?uid=morten&pid=OMS3_Server

Viewing your statuses



This tool allows you to collect and view numbers


http://prescienta-stun.cloudapp.net/gather/gather.aspx?uid=[username]&pid=[probe name]&val=[numerical value]

Example (curl)

curl http://prescienta-stun.cloudapp.net/gather/gather.aspx?uid=morten&pid=visitors&val=4

Example (powershell)

Invoke-RestMethod http://prescienta-stun.cloudapp.net/gather/gather.aspx?uid=morten"&"pid=oms"&"val=14

Use case example

Track CPU, memory and or disk usage from a customer system.

Example Powershell script (Don't forget to change the uid and pid)

$cpu = Get-Counter '\Processor(_total)\% Processor Time'
$cpu_use = $cpu.CounterSamples.CookedValue
Invoke-RestMethod http://prescienta-stun.cloudapp.net/gather/gather.aspx?uid=morten"&"pid=test"&"val=$cpu_use

View a graph of the gathered values by going to this address

http://prescienta-stun.cloudapp.net/Gather/graph.aspx?uid=[username]&pid=[probe name]



This tool allows you to get (close to) realtime notifications from cameras that sends emails, and execute a webhook command instead


Smtp2Webhook.exe [port] [webhook]


Smtp2Webhook.exe 10000 http://prescienta-stun.cloudapp.net/pusher/push_event.aspx?msg=Alarm+${from}


${from}From address given
${to}To address given
${peer}Peer address (ip:port)
${subject}email subject
mail payloadthe mail payload (DATA) is sent as a POST payload

Download a tool here (Windows, .NET) : Smtp2Webhook.exe


Streamfinder is a very simple, work in progress tool that allows you to find cameras on a LAN, while seeing what cameras are found from a web page.

A common problem is that the installer may have a phone or laptop that is NOT on the customers LAN. The installer then has to either open ports on the firewall (bad), or get their device on the LAN (also bad, you do not want foreign devices on the CCTV segment).

This app shows using a bit of custom code, and a bit of cloud dust to accomplish these things, it is by no means intended as a product, but more as a demo of what you can do with the tools at our disposal

The first thing you need to do, is to open a URL in a browser,

http://prescienta-stun.cloudapp.net/pusher/pusher2.aspx?who=[enter some ID here]

You'll see a very boring page that says "Live notifications will appear here"

Then, open a prompt, and CD to the dir with the streamfinderloop.exe file.

You'll enter the following command :

StreamFinderLoop.exe [start IP] [stop IP] [ID you entered before]

So for example, you have opened

and your cameras are located on to, you'll enter the following command
StreamFinderLoop.exe neat
as the streamfinderloop runs, the web page will populate with the camera found.

Download a tool here : Stream Finder

You should pick 720p and possibly full screen for the best viewing result