C# and security cameras

  • Thread starter Thread starter curtis.barrett
  • Start date Start date
C

curtis.barrett

Hi I am trying to write a c# program that will display the mpeg4 live
from my SNC-M1 sony security camera on a lan and frankly i'm a little
bit lost. Does anyone have any suggestions on where to get started and
also how to connect to and display video from a security camera. Also
if anyone knows how to display a mpeg4 in C# I that would be just as
good.

Thanks in advance.
 
I have only a rudimentary understanding of this, but from what I
understand, security cameras require a multiplexor in order to get the video
and audio feeds. If anything, you would have to hook up to that.

If it doesn't require a multiplexor, surely the tech specs will indicate
how to coonect to it, no?
 
Hmmm I will have to take a closer look at that. What I have figured
out is that there is a url path to get the video and now the trick is
how to display an mpeg4 in C# and what to use to display it. Any
thoughts as far as displaying the video goes?
 
Hi I am trying to write a c# program that will display the mpeg4 live
from my SNC-M1 sony security camera on a lan and frankly i'm a little
bit lost. Does anyone have any suggestions on where to get started and
also how to connect to and display video from a security camera. Also
if anyone knows how to display a mpeg4 in C# I that would be just as
good.

Thanks in advance.

Although mpeg4 is a standard, implementations differ so much that there
isn't a one fits all way to integrate such systems.

What you need is at least a decoder that works for it. Typically camera
vendors provide some sort of SDK, so that their product can be
integrated into some sort of Security Software. So I would recommend to
try to get one of these.

Is there a PC based application delivered for the camera or is it
available from Sony? Maybe the SDK ships with it?

HTH,
Andy
 
Hmmm I will have to take a closer look at that. What I have figured
out is that there is a url path to get the video and now the trick is
how to display an mpeg4 in C# and what to use to display it. Any
thoughts as far as displaying the video goes?

ok, that is a start. What is coming from the URL? a Web page? Examine
the web page, it will for sure embed an applet/ActiveX component to show
the video. If you know which one, you can use it from you application.

HTH,
Andy
 
Hmmm I guess I will need to take a closer look at the cd's that came
with the camera. But aside from that I can access the video directly
from a url (I've verified this by pointing mplayer to the url and can
watch the video that is coming from it). As far as the activeX
component goes I believe it does but the problem lies in the fact that
they use a codebase tag in the source code that I can see so I can't be
sure and I don't know what the component would be. Is it difficult to
get an activeX component to play an mpeg4? I'm assuming that since
mplayer can play the stream just fine that the codec would be a normal
codec.

In the meantime I am definately going to search for an sdk of some
sort.

Thanks for your help
 
Hmmm I guess I will need to take a closer look at the cd's that came
with the camera. But aside from that I can access the video directly
from a url (I've verified this by pointing mplayer to the url and can
watch the video that is coming from it). As far as the activeX
component goes I believe it does but the problem lies in the fact that
they use a codebase tag in the source code that I can see so I can't be
sure and I don't know what the component would be. Is it difficult to
get an activeX component to play an mpeg4? I'm assuming that since
mplayer can play the stream just fine that the codec would be a normal
codec.

In the meantime I am definately going to search for an sdk of some
sort.

Thanks for your help
If you media player can play the video, you already have your component.
Just embed the media player active X in you app.

Provided you use VS:
-If necessary add the active x to you toolbox in you form designer
+Right Click->Add item
+COM Component->Select "Windows media player"
-Hit ok
-Drag and drop the media player on you form
 
Ok that worked! Thank you so very much for the help.

I was wondering if there is a way to have it only show the video and
not the bar at the bottom showing progress and the play / stop buttons?
Not terribly important at this point though.

Thanks yet again for your assistance.
 
Ok that worked! Thank you so very much for the help.

I was wondering if there is a way to have it only show the video and
not the bar at the bottom showing progress and the play / stop buttons?
Not terribly important at this point though.

Thanks yet again for your assistance.

AFAIK, there are some properties to turn that of. Look at the prop grid
or right click on the control and show the custom property page.
HTH,
Andy
 
Back
Top