Page 1 of 1

Windows capture card to ZM

Posted: Tue May 20, 2008 1:41 pm
by gasmasher
I wrote a quick app for windows that will take screen shots from a (or multiple) capture card using DirectShow and make them available over HTTP. This basically turns a capture device on a windows machine into an IP camera serving single jpegs. ZM running on a linux machine can then be setup to read from the app as a remote camera or the images can just be displayed in a browser.

I tried using VLC for the same functionality but I couldn't get it to work properly and the transcoding was too much of a load. This new app uses about 1.5% of the CPU per stream capturing at 15 fps.

If there is anyone else interested I can post the exe and source this evening when I get home.

Posted: Wed May 21, 2008 3:26 pm
by robi
I've been looking for something similar. I'd appreciate if you'd share.

Posted: Thu May 22, 2008 2:37 am
by gasmasher
Let me know if you run into any problems. I should have mentioned it's written in pascal so the source may not do you any good but here it is.

Executable: http://64.246.24.73/ncapstrm.exe
Source: http://64.246.24.73/ncapstrm.zip

Some quick instructions since it may not be obvious:
- Set the IP to bind. 0.0.0.0 will bind to all available addresses
- Set the port. A good choice is the default 8080 if you don't already have a server using it
- Click Start to start the web server
- Select the first capture device from the Input drop down
- Type an alias in the box. I had to use an extension of .jpg to work properly so my first alias is cam0.jpg
- Click add and it should be available in your browser http://localhost:8080/cam0.jpg

I added a debug section to the bottom in case your device isn't detected. Let me know if you have to use it. You can only attach each input to one alias for now or you will get an exception.

Posted: Mon May 26, 2008 10:39 am
by robi
My webcam is in the list, but when I click Add I get:
'Couldn't connect grabber input' and 'Couldn't connect smart pin 2'.
Otherwise, it seems promising.

Posted: Thu May 29, 2008 12:58 am
by gasmasher
Very political of you. Promising... but it doesn't work. ;)

Are you trying to use the Veo Observer IP cam in your sig or another one? If it is a cheap cam I'll pick one up and get it working. If not I can probably come up with a test utility to get it working if you are willing to test. It should help getting a lot of other cams working.

Posted: Sat May 31, 2008 11:05 am
by robi
gasmasher wrote:Very political of you. Promising... but it doesn't work. ;)

Are you trying to use the Veo Observer IP cam in your sig or another one? If it is a cheap cam I'll pick one up and get it working. If not I can probably come up with a test utility to get it working if you are willing to test. It should help getting a lot of other cams working.
No, it's the webcam of my laptop. It's an Asus Laptop with built-in webcamera.

i need it!!

Posted: Tue Oct 14, 2008 11:46 am
by wakaley
i am looking for similar kind of utility .. can i have that utility pls.
i tried the link u provided but didnt work.
if you can send it accross email that will be great or just give me another link which will work
it will be great help!!
thanks
my email address: wakaley@gmail.com

Posted: Tue Oct 14, 2008 12:05 pm
by wakaley
gasmasher wrote:Let me know if you run into any problems. I should have mentioned it's written in pascal so the source may not do you any good but here it is.

Executable: http://64.246.24.73/ncapstrm.exe
Source: http://64.246.24.73/ncapstrm.zip

Some quick instructions since it may not be obvious:
- Set the IP to bind. 0.0.0.0 will bind to all available addresses
- Set the port. A good choice is the default 8080 if you don't already have a server using it
- Click Start to start the web server
- Select the first capture device from the Input drop down
- Type an alias in the box. I had to use an extension of .jpg to work properly so my first alias is cam0.jpg
- Click add and it should be available in your browser http://localhost:8080/cam0.jpg

I added a debug section to the bottom in case your device isn't detected. Let me know if you have to use it. You can only attach each input to one alias for now or you will get an exception.

i am looking for similar kind of utility .. can i have that utility pls.
i tried the link u provided but didnt work.
if you can send it accross email that will be great or just give me another link which will work
it will be great help!!
thanks
my email address: wakaley@gmail.com

Posted: Wed Oct 29, 2008 5:56 pm
by liviab
I'm looking for this kind of utility too!! :)
Can you post the link here or send it to my email (liviabarcelos@gmail.com) ??

I will be very thankful!!!
:wink:

Source code

Posted: Thu Nov 13, 2008 4:41 pm
by assuncao
Someone can share the source code?
Thanks

source code

Posted: Thu Nov 13, 2008 5:59 pm
by liviab
Share the source code of ZoneMinder?
It is avaiable on the package that you can download (http://www2.zoneminder.com/downloads/Zo ... 3.3.tar.gz), folder src.


:wink:

Posted: Thu Nov 13, 2008 6:27 pm
by assuncao
I want the source of link http://64.246.24.73/ncapstrm.zip (is broken)

source code...

Posted: Thu Nov 13, 2008 7:09 pm
by liviab
ohh... sorry!! :oops:
I thought it was the ZoneMinder souce code .... :?