473,395 Members | 1,999 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

C# and security cameras

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
8 3044
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
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
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
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: LD \Gus\ Landis | last post by:
Hello, We are needing a couple additional video cameras to ensure that we can capture the presentations at PyCon 2005. MiniDV is the preferred format, but as long as you can capture your...
2
by: robert | last post by:
well, talk about timely. i'm tasked to implement a security feature, and would rather do so in the database than the application code. the application is generally Oracle, but sometimes DB2. ...
116
by: Mike MacSween | last post by:
S**t for brains strikes again! Why did I do that? When I met the clients and at some point they vaguely asked whether eventually would it be possible to have some people who could read the data...
0
by: Koby | last post by:
Hi I am programming in C# and I used DirectShow with DirectX.Capture. For one camera it's work, but I want to use 2 USB Web cameras (Mustek - WCam300), the second one didn't work. ( I have XP...
0
by: | last post by:
Is there a standard way of controlling firewire cameras on C# or indeed at using a generic library somewhere or are these camera specific?
4
by: Ashish | last post by:
Hi Guys I am getting the following error while implementing authentication using WS-security. "Microsoft.Web.Services2.Security.SecurityFault: The security token could not be authenticated...
0
by: prithvi g via .NET 247 | last post by:
Hi I am a newbie to .NET remoting, I am trying to implementauthorization using SSPI example provided by Michael Barnett. Ihave included the required dll(Microsoft.Samples.Security.SSPI.dll...
1
by: Earl Teigrob | last post by:
Background: When I create a ASP.NET control (User or custom), it often requires security to be set for certain functionality with the control. For example, a news release user control that is...
7
by: Magdelin | last post by:
Hi, My security team thinks allowing communication between the two IIS instances leads to severe security risks. Basically, we want to put our presentation tier on the perimeter network and the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.