combine WMA and WMV

  • Thread starter Thread starter AzenAlex
  • Start date Start date
A

AzenAlex

Hello i'm a bit of a newbie attempting to write a service in C# that
will take a WMA and a WMV file, trim the front of the audio file to
match the length of the video file and then combine the two. i'm pretty
much at a complete loss of where to start right now. any help would be
greatly appreciated. code snippets to trim the audio and combine the
two would be best =).
 
This isn't an easy task. What you are going to have to do (through COM
interop) is to access the DirectShow libraries and create a render graph
which you would feed the audio and video into, and then output that to a
renderer that will output the content to a new file.

I would recommend reading up on the direct show libraries, and figure
out how you can create the render graph you need programatically and then
execute it.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top