Export (0) Print
Expand All
Expand Minimize
0 out of 1 rated this helpful - Rate this topic

Internal Script Command Renderer Filter

Receives script commands and dispatches them to the application.

This filter accepts script commands in one of two formats:

  • MEDIATYPE_Text: Each media sample contains an ANSI text string.
  • MEDIATYPE_ScriptCommand: Each media sample contains two NULL-terminated Unicode strings, concatenated together. The first string describes the command type and the second string is the script command.

    When the filter receives a sample, it sends an EC_OLE_EVENT event notification. The first event parameter is a BSTR with the command type, or Text if the format is MEDIATYPE_Text. The second event parameter is a BSTR with the script command. The application can retrieve the event and respond to the script command.

For an example of how to use this filter, see SAMI (CC) Parser.

Filter Interfaces IBaseFilter, IMediaPosition, IMediaSeeking
Input Pin Media Types
  • MEDIATYPE_ScriptCommand, MEDIASUBTYPE_NULL
  • MEDIATYPE_Text, MEDIASUBTYPE_NULL
Input Pin Interfaces IMemInputPin, IPin, IQualityControl
Output Pin Media TypesNot applicable
Output Pin InterfacesNot applicable
Filter CLSID{48025243-2D39-11CE-875D-00608CB78066}
Property Page CLSIDNo property page
ExecutableQuartz.dll
Merit MERIT_PREFERRED + 1
Filter Category CLSID_LegacyAmFilterCategory

 

Related topics

DirectShow Filters

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.