I need a some nicely commented code that creates a basic video and audio capture device in DirectShow, and then takes the input and saves it to an AVI or some other video format. This needs to be able to take the input from say, a webcam and then encode it, and then save the file.
Basically, I have some video encoding working, but I am using Flash Media Encoder (Free Adobe Program) and I want it to show a video AND audio encoder. Please test this with the program to make sure it comes up in both video and audio. This will be used for streaming from a webcam or another camera.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
* * *This broadcast message was sent to all bidders on Wednesday Dec 3, 2008 12:04:00 PM:
So, I have to do this DirectShow stuff for my job and I don't know what I am really doing. What my boss tell me I need is to basically read sound data frames from a memory map (file).. and then take that raw wav data and create the audio on the fly... so every frame I will be reading in new data from a memory map and then adding it to directsound,.. to link with a virtual capture device.. that is doing the same thing for the video.. reading it in from a memory map every frame. So.. can you help me just figure out how to add sound data every frame? The function currently being uses is CSourceStream:FillBuffer().. which is already reading the video.. so i imagine I do it in there.. but not sure how.. I already have the raw data read in and have a pointer to it.. just don't know how to add the data to create audio on the fly. Thanks! Ben
## Platform
Windows XP/Vista, DirectShow