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

How to specify an Audio only source

0 views
Skip to first unread message

Anil Gupte

unread,
Nov 1, 2007, 4:46:45 AM11/1/07
to
Hi folks:

I am doing a simple encoder, and I found that it generates an exception on
MP3 files. After much research I came to the conclusion that it is caused
by the following:
iMediaUploadedSourceAudio = SrcGrp.AddSource(WMENC_SOURCE_TYPE.WMENC_AUDIO)

iMediaUploadedSourceVideo = SrcGrp.AddSource(WMENC_SOURCE_TYPE.WMENC_VIDEO)

The last line is expecting a video stream and so it generates an excecption
"System.Runtime.InteropServices.COMException (0xC00D1B70): Cannot find a
valid output stream from the source."

So, questions is, how do I specify not to use a Video Source when we have an
MP3 files. (Interestingly, this problem does not happen with WMA files - I
am curious why).
--
Anil Gupte
www.keeninc.net
www.icinema.com


0 new messages