• Advertisement
Sign in to follow this  

Directshow filters & WMV

This topic is 3944 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all, I am currently stuck with a problem that is driving me crazy. I build a filter graph in Directshow to convert MPG's and AVI's to WMV's. The code I produced runs absolutely fine with one exception. Movie's with no audio track stops me running the filter graph as the ASF writer that writes the WMV seems to expect 2 inputs (one audio & one video). I have tried configuring the writer using custom profiles that only specify a video stream and not an audio. I have also tried setting the media type on the writer to just video using AM_MEDIA_TYPE and SetFileName on the file sink. Neither of these methods produce a writer filter that only expects one input. I save the graph each time and view in graph edit, this shows the unconnected pin on the writer ??? Please help !!! Cheers guys and gals Stewart

Share this post


Link to post
Share on other sites
Advertisement
Hi,

i think you can help me out as you are working on ASF/WMV

can you tell me how is the extra codec specific data is calculated in WAVEFORMATEX structure ?

Many thanks in advance..
Manoj

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement