Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Rendering live video in directshow (graphedit)

242 views
Skip to first unread message

m.hom...@gmail.com

unread,
May 6, 2006, 3:55:33 AM5/6/06
to
I am trying to write an application for WinXp that uses a webcam as
source capture filter and renders this to see it LIVE in Graphedit.
In the next step I want to send it over RTP to another computer but I
can not even render it on my PC. It cannot render it automatically and
does not accept any compressor as its next filter!
PLZ HELP!!!!

The March Hare [MVP]

unread,
May 6, 2006, 8:43:22 AM5/6/06
to

What make and model of web cam?

Does the AMCap sample work with it?

What error code(s) are you seeing?

See the tips in the link in my sig for help writing an effective post.

> PLZ HELP!!!!

Why are you shouting?

--
Please read this before replying:
1. Dshow & posting help: http://tmhare.mvps.org/help.htm
2. Trim & respond inline (please don't top post or snip everything)
3. Benefit others: follow up if you are helped or you found a solution

m.hom...@gmail.com

unread,
May 9, 2006, 4:54:59 AM5/9/06
to
hi
thank you for your response.
1. The webcam is Genius Video Cam Eye USB camera YB504E202657
2. actually I could render it with changing the size of the capture to
176*144 RGB24 (this is the capture format)
Actually, I want to capture video and send it to the network via RTP ,
for this reason i have implented RTP SPH & RTP Render in C++/directshow
and gotten their ax files, loaded them in graph edit and built a filter
graph with them, so the filters I need are :
- video capture (which the webcam prepare )
- H263 codec
- RTP Sender Payload Handler(RTP SPH)
- RTP Renderer

the problem is that I can not connect video capture filter output pin
to the codec (even with an intermediate filter-Color Space Filter)
that is, I can not compress the captured video , however this can be
rendered using this filter graph:
video capture + Color Space + RTP SPH + RTP Renderer

I dont know what the problem is.
As I aformentioned the problem is with H263 compression(using microsoft
h263 codec), the platform we use is WinXp

The March Hare [MVP]

unread,
May 9, 2006, 9:54:23 AM5/9/06
to
On 9 May 2006 01:54:59 -0700, m.hom...@gmail.com wrote:

> I dont know what the problem is.
> As I aformentioned the problem is with H263 compression(using microsoft
> h263 codec), the platform we use is WinXp

Thank you for providing the details.

I think the problem is that you cannot use the Microsoft H.263 filters.
They are not licensed for your use.

http://groups.google.com/group/microsoft.public.win32.programmer.directx.video/browse_frm/thread/117cf004a6b7c52b/8096f1f3bf1d6190?lnk=st&q=Microsoft+H.263+group%3Amicrosoft.public.win32.programmer.directx.video&rnum=1#8096f1f3bf1d6190

m.hom...@gmail.com

unread,
May 13, 2006, 12:43:23 AM5/13/06
to
yes , I can not use them , but how can i get licence to use them , you
mean I should have some registeration licence or somthing like that, or
you may suggest me to use another filter and get it from some where
else.
I tried to use LEAD H263 Encoder , although I could render the
filtergraph (i.e. I could connect the filters successfully ) but I
could not run the filtergraph , I have encounterd this error massage:

This graph can't play.
Unspecified error.(Return code: 0x80004005)

m.hom...@gmail.com

unread,
May 13, 2006, 3:27:44 AM5/13/06
to

I solved the problem of sending live video on RTP using some H263
encoders which i have found, but I could not make the filter graph in
receiver side yet. that is, I can not connect my H263 RPH to any H263
decoder, I dont know what the problem is.
(I can receive the packets at receiver side but I can not have any
rendered filter graph)
would you please guess the probable problem?

m.hom...@gmail.com

unread,
May 13, 2006, 3:28:13 AM5/13/06
to
0 new messages