By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,084 Members | 1,261 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,084 IT Pros & Developers. It's quick & easy.

C# and security cameras

P: n/a
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.

Dec 26 '05 #1
Share this Question
Share on Google+
8 Replies


P: n/a
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?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

<cu************@gmail.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
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.

Dec 26 '05 #2

P: n/a
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?

Dec 26 '05 #3

P: n/a
cu************@gmail.com wrote:
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
--
To email me directly, please remove the *NO*SPAM* parts below:
*NO*SPAM*xmen40@*NO*SPAM*gmx.net
Dec 27 '05 #4

P: n/a
cu************@gmail.com wrote:
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
--
To email me directly, please remove the *NO*SPAM* parts below:
*NO*SPAM*xmen40@*NO*SPAM*gmx.net
Dec 27 '05 #5

P: n/a
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

Dec 29 '05 #6

P: n/a
cu************@gmail.com wrote:
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

--
To email me directly, please remove the *NO*SPAM* parts below:
*NO*SPAM*xmen40@*NO*SPAM*gmx.net
Dec 29 '05 #7

P: n/a
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.

Dec 29 '05 #8

P: n/a
cu************@gmail.com wrote:
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
--
To email me directly, please remove the *NO*SPAM* parts below:
*NO*SPAM*xmen40@*NO*SPAM*gmx.net
Dec 29 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.