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