Connect WMV buffer source to GDCL WMV/WMA Parser
-
Wednesday, May 30, 2012 6:24 AM
Hi, I want to play wmv file from memory buffer but not successful. I have tried the following connectiions:
(WMV files) File Source (Async.) -> GDCL WMV/WMA Parser -> WM Decoder DMO -> Output Device (Success)
(AVI/MPEG) Memory Buffer (Async File Direct Show Sample) -> Output Device (Success)
(WMV - MEDIATYPE_Stream+MEDIASUBTYPE_Asf) Memory Buffer (Async File Direct Show Sample) -> GDCL WMV/WMA Parser (Connection Failed with error 0x80040217)
I can get the wmv file connect to GDCL WMV/WMA Parser from the File Source (Async.) Filter, and using the Memfile sample to load the avi/mpg buffer to play. However, I can't found any way to connect the memory buffer to GDCL WMA/WMA Paser. I just got the error 0x80040217 when do so. What is the simplest way to do that?
- Edited by fungko Wednesday, May 30, 2012 6:26 AM
All Replies
-
Friday, June 01, 2012 2:22 AM
The real media subtype for ASF files is not MEDIASUBTYPE_Asf but the following undocumented value (which is what the GDCL parser expects):
class __declspec(uuid("{6B6D0801-9ADA-11D0-A520-00A0D10129C0}")) _MEDIASUBTYPE_ASF; #define MEDIASUBTYPE_ASF __uuidof(_MEDIASUBTYPE_ASF)<http://www.riseoftheants.com/mmx/faq.htm>
- Marked As Answer by fungko Monday, June 04, 2012 8:03 AM


