# Create our Filters LoadFilter({79376820-07D0-11CF-A24D-0020AFD79767},Default DirectSound Device) LoadFilter({6BC1CFFA-8FC1-4261-AC22-CFB4CC38DB50},Video Renderer) LoadFilter({2148F547-FDBC-4780-988A-75A4932587E0},TRLDRP6) LoadFilter({AA2FC7D0-91D0-4149-B97B-2539DBE78627},XEBDSP) LoadFilter({482D10B6-376E-4411-8A17-833800A065DB},Source File) # Assign the user selected filename to the source filter, # "" is translated to the actual file name automatically. SetFilterFileName(Source File,) # Connect a source file to the MPEG2 Demultiplexer (Audio/Video Splitter) ConnectPin(Source File,Video Out,XEBDSP,Video In) # Connect the MPEG2 Demultiplexer to the InterVideo Audio Decoder ConnectPin(Source File,Subtitle Out,XEBDSP,SubPicture In) # Connect the MPEG2 Demultiplexer to the InterVideo Video Decoder ConnectPin(Source File,Audio Out,TRLDRP6,In) # Connect the InterVideo Audio Decoder to the Audio Renderer ConnectPin(TRLDRP6,Out,Default DirectSound Device,Audio Input pin (rendered)) # Connect the InterVideo Video Decoder to the Overlay Mixer ConnectPin(XEBDSP,Video Out,Video Renderer,VMR Input0)