Rednahc
2010-03-10 20:52:01 UTC
I am in the process of developing a H.264 video encoder filter. I have added
the following registry entries in filter project's .reg file:
[HKEY_CLASSES_ROOT\Filter\{B2E82896-5BD7-4299-B65D-8F95A011A2E7}]
@="H264 Video Encoder Filter"
[HKEY_CLASSES_ROOT\CLSID\{B2E82896-5BD7-4299-B65D-8F95A011A2E7}]
@="H264 Video Encoder Filter"
"Merit"=dword:00800900
[HKEY_CLASSES_ROOT\CLSID\{B2E82896-5BD7-4299-B65D-8F95A011A2E7}\InprocServer32]
@="H264VideoEncoder.dll"
"ThreadingModel"="Both"
[HKEY_CLASSES_ROOT\CLSID\{B2E82896-5BD7-4299-B65D-8F95A011A2E7}\Pins\Input]
"Direction"=dword:00000000
"IsRendered"=dword:00000000
"AllowedZero"=dword:00000000
"AllowedMany"=dword:00000000
"ConnectsToPin"="Output"
;YUY
[HKEY_CLASSES_ROOT\CLSID\{B2E82896-5BD7-4299-B65D-8F95A011A2E7}\Pins\Input\Types\{73646976-0000-0010-8000-00AA00389B71}\{32595559-0000-0010-8000-00AA00389B71}]
;UYV
[HKEY_CLASSES_ROOT\CLSID\{B2E82896-5BD7-4299-B65D-8F95A011A2E7}\Pins\Input\Types\{73646976-0000-0010-8000-00AA00389B71}\{59565955-0000-0010-8000-00AA00389B71}]
[HKEY_CLASSES_ROOT\CLSID\{B2E82896-5BD7-4299-B65D-8F95A011A2E7}\Pins\Output]
"Direction"=dword:00000001
"IsRendered"=dword:00000000
"AllowedZero"=dword:00000000
"AllowedMany"=dword:00000000
"ConnectsToPin"="Input"
;h26
[HKEY_CLASSES_ROOT\CLSID\{B2E82896-5BD7-4299-B65D-8F95A011A2E7}\Pins\Output\Types\{73646976-0000-0010-8000-00AA00389B71}\{34363268-0000-0010-8000-00aa00389b71}]
;H26
[HKEY_CLASSES_ROOT\CLSID\{B2E82896-5BD7-4299-B65D-8F95A011A2E7}\Pins\Output\Types\{73646976-0000-0010-8000-00AA00389B71}\{34363248-0000-0010-8000-00aa00389b71}]
;VSS
[HKEY_CLASSES_ROOT\CLSID\{B2E82896-5BD7-4299-B65D-8F95A011A2E7}\Pins\Output\Types\{73646976-0000-0010-8000-00AA00389B71}\{48535356-0000-0010-8000-00aa00389b71}]
In a test application, I create an instance of this filter and when I try to
enumerate the pins and the supported media types, I see the following issues.
1. QueryPinInfo returns the name "XForm In" on the input pin and "Xform Out"
on the output pin instead of "Input" and "Output".
2. Enumeration for supported media types on the pins fail without returning
even a single AM_MEDIA_TYPE structure.
Pleae help!
the following registry entries in filter project's .reg file:
[HKEY_CLASSES_ROOT\Filter\{B2E82896-5BD7-4299-B65D-8F95A011A2E7}]
@="H264 Video Encoder Filter"
[HKEY_CLASSES_ROOT\CLSID\{B2E82896-5BD7-4299-B65D-8F95A011A2E7}]
@="H264 Video Encoder Filter"
"Merit"=dword:00800900
[HKEY_CLASSES_ROOT\CLSID\{B2E82896-5BD7-4299-B65D-8F95A011A2E7}\InprocServer32]
@="H264VideoEncoder.dll"
"ThreadingModel"="Both"
[HKEY_CLASSES_ROOT\CLSID\{B2E82896-5BD7-4299-B65D-8F95A011A2E7}\Pins\Input]
"Direction"=dword:00000000
"IsRendered"=dword:00000000
"AllowedZero"=dword:00000000
"AllowedMany"=dword:00000000
"ConnectsToPin"="Output"
;YUY
[HKEY_CLASSES_ROOT\CLSID\{B2E82896-5BD7-4299-B65D-8F95A011A2E7}\Pins\Input\Types\{73646976-0000-0010-8000-00AA00389B71}\{32595559-0000-0010-8000-00AA00389B71}]
;UYV
[HKEY_CLASSES_ROOT\CLSID\{B2E82896-5BD7-4299-B65D-8F95A011A2E7}\Pins\Input\Types\{73646976-0000-0010-8000-00AA00389B71}\{59565955-0000-0010-8000-00AA00389B71}]
[HKEY_CLASSES_ROOT\CLSID\{B2E82896-5BD7-4299-B65D-8F95A011A2E7}\Pins\Output]
"Direction"=dword:00000001
"IsRendered"=dword:00000000
"AllowedZero"=dword:00000000
"AllowedMany"=dword:00000000
"ConnectsToPin"="Input"
;h26
[HKEY_CLASSES_ROOT\CLSID\{B2E82896-5BD7-4299-B65D-8F95A011A2E7}\Pins\Output\Types\{73646976-0000-0010-8000-00AA00389B71}\{34363268-0000-0010-8000-00aa00389b71}]
;H26
[HKEY_CLASSES_ROOT\CLSID\{B2E82896-5BD7-4299-B65D-8F95A011A2E7}\Pins\Output\Types\{73646976-0000-0010-8000-00AA00389B71}\{34363248-0000-0010-8000-00aa00389b71}]
;VSS
[HKEY_CLASSES_ROOT\CLSID\{B2E82896-5BD7-4299-B65D-8F95A011A2E7}\Pins\Output\Types\{73646976-0000-0010-8000-00AA00389B71}\{48535356-0000-0010-8000-00aa00389b71}]
In a test application, I create an instance of this filter and when I try to
enumerate the pins and the supported media types, I see the following issues.
1. QueryPinInfo returns the name "XForm In" on the input pin and "Xform Out"
on the output pin instead of "Input" and "Output".
2. Enumeration for supported media types on the pins fail without returning
even a single AM_MEDIA_TYPE structure.
Pleae help!