A Win32 DLL connector library for Lynstan DVR, which provides a specific interface

In Progress

Our company (Terracom Ltd - [url removed, login to view]) needs a Win32 library that can communicate with Lynstan DVRs (we got the Lynstan’s SDK) and be able to make some operations. We want this library to be in a procedural style with callbacks, because we want to use it from a .net host application. So interface must be as simple as it can be. We will define the interface functions and callback functions.

In general this library must:

1. Connect to a single DVR and return the error code of the connection attempt (Success, cannot connect, bad login etc.). Also return to an argument by reference, the DVR handle. We will provide to the function host name of the remote DVR, port number, username and password and a dvr unique id (integer).

2. Disconnect from DVR.

3. Be able to poll DVR details such as, number of cameras, which camera has video loss, device serial number or MAC address (all these are provided by the SDK).

4. Be able to play live stream from a specific camera to a window control. We will provide the Win32 control's handle. We need to be able to invoke start and stop commands, with the camera number as a parameter. Note that, Lynstan's SDK does not provide live stream preview in a window control. We are advised to use ffmpeg for that issue.

5. Inform .net host application via a callback function, with DVR's events (motion detection start, motion detection stop, tamper start & stop, DVR disconnect, camera video loss start & stop). We will provide the error codes for each event and win32 library must supply host app with one of these error codes and with the flag ON or OFF.

6. We need to be able to give a start record command and file name as a parameter. Then, library must start a stream from DVR, for a specific camera. Note that, it may be concurrent streams, ex. for all DVR's cameras. This live stream must be stored in a file, where library runs. Also note that, SDK provides a raw bytestream, without any key-frame information in it. So, if the connection line between DVR and win32 library is slow, there is no time-shift effect in the stream (so all frames to be fetched from SDK, but delayed) but DVR tries to send every second all frames that can be transfer through line, in a second and disregards the others. That's why we need to have some kind of key frame information in the recorded video. This will help the correct playback speed.

7. As mentioned in the previous requirement, we have a video file stored in the hdd. We also need to playback this file. At first, we need to be able to give start & stop commands for playback the video file. The function will have file name and window control handle's as parameters.

That were our main requirements for this project. As I mentioned before, we need this library to be a native win32 library. We will merge it in a .net application host, so we need all pointer stuff to be handled from a win32 code.

There is attached the SDK for Lynstan. It also has a documentation.

We also want to make connectors for more SDKs - DVRs. So, if this projects ends successfully there can be further cooperation with the one who will manage to make it work.

Skills: C Programming, C++ Programming

See more: win32 programming, who to use as a reference, video stop motion effect, video stop motion, stop motion with video, serial port programming, remote key programming, remote control programming, programming remote control, programming one for all remote, programming on a mac, programming library, programming for mac, programming a remote, pointer programming, one for all remote programming, library programming, i want all key programming, give a password, dvr login, c programming pointer, concurrent programming, bad programming, argument programming, 0 1 integer programming

Project ID: #4459592

Awarded to:


See pm and my profile please.

$770 USD in 30 days
(3 Reviews)

6 freelancers are bidding on average $715 for this job


hi, i have such experience, can do that in good quality.

$550 USD in 20 days
(5 Reviews)

Hi, I understood your requirement ,Please check my PM.

$1100 USD in 30 days
(3 Reviews)

Our company has qualified staff and experienced in this kind of projects.We are ready to start now. Check our portfolio. Rate our offer, best regards

$770 USD in 30 days
(0 Reviews)

Hello, sir. I would love to work for you. Thank you very much.

$550 USD in 20 days
(0 Reviews)

I can do that. Need more technical information. Ready to do it.

$550 USD in 18 days
(0 Reviews)