Click here to Skip to main content
15,886,799 members
Please Sign up or sign in to vote.
5.00/5 (2 votes)
See more:
Hi everyone,

I am now developing an conferencing application which use webcam as a video device. I am able to preview the webcam and capture image from it using directshow following the article here: DirectX.Capture Class Library[^]

The directshow lib saves the video directly to my disk and I cannot find a way to get the video stream directly from it. I try to send the video by sending it frame by frame in JPEG format using RTP. These frames are images I captured from the webcam. I know that I should compress it as MJPEG or MPEG but I cannot find any codec capable of doing so. And unfortunately, I even cannot successfully viewing the video on the receiver side. There is error said "Invalid parameters" when I try to save received RTP packets back to JPEG format for viewing.

So could you tell me which step I have to do to get this done? I searched google for a days and cannot find an answer. Please help me out.
Thanks in advance.
Posted
Updated 23-Feb-11 0:09am
v3
Comments
mohamedhbmaam 25-Feb-11 23:31pm    
i have a project uses the webcam to send pictures repeatedly thats appear like a video
compress the pics by 7ZIP(open source) the receiver receive the img decompressed and print it
here the project http://www.megaupload.com/?d=T2UQNBJY hope this kind of help

1 solution

try x624 codec, it's very usefull for things like that

VLC streams quite nice on rtp
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900