programmer2007
User

Fresh Boarder
Posts: 4
graphgraph
 
Click here to see the profile of this user
IP Camera and DirectShow - 2007/12/28 04:06 I have an IP Camera, which gives images in jpeg format and this is the function for obtaining the image.

Int32 GetImage(byte[] data, ref uint size);

The image is stored in “data”(byte array).
So I need to know
1. How this can be rendered as video using DirectShow?
2. I have to render this to multiple monitor also, so I have to use any particular filter for acheiving this?

consider me as a beginner.

Thanks in advance
  | | No public write access. Please register.
Daniel
Admin

Admin
Posts: 44
graph
 
Click here to see the profile of this user
Re:IP Camera and DirectShow - 2007/12/29 14:32 Hi,

I saw you post the question on the Directshow.net forum which is probably the best place for C# and Directshow.

I would only add, if you haven't thought of it, it might sufficient to build the graph in GraphEdit (eg add the capture filter for your camera (probably under Video Capture source) and right-click the output pin and select "Render".

If this is good enough, then you can rebuild the graph in code ie you might not need GetImage and its jpeg translation.
  | | No public write access. Please register.
programmer2007
User

Fresh Boarder
Posts: 4
graphgraph
 
Click here to see the profile of this user
Re:IP Camera and DirectShow - 2007/12/31 04:21 Thanks for the reply.

when i tried to build the graph using graphedit, in video capture source nothing is there so not able to add any source.
  | | No public write access. Please register.
Daniel
Admin

Admin
Posts: 44
graph
 
Click here to see the profile of this user
Re:IP Camera and DirectShow - 2007/12/31 14:55 Oops , my brain didn't record the "IP" in IP camera.

You'll have to look into which network/source filters are provided with your camera.
  | | No public write access. Please register.
programmer2007
User

Fresh Boarder
Posts: 4
graphgraph
 
Click here to see the profile of this user
Re:IP Camera and DirectShow - 2008/01/01 03:44 Only some API's(for camera settings and getting jpeg image) and that mentioned in my first query in this topic.

Looking forward for your reply
  | | No public write access. Please register.
Joomla Template by Joomlashack
Joomla Templates by JoomlaShack Joomla Templates by Compass Design