home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2008 March
/
PCWorld_2008-03_cd.bin
/
Audio-video
/
zoomplayer
/
zp502std.exe
/
MediaGraph
/
example_mpeg2_using_elecard.mediagraph
< prev
next >
Wrap
Text File
|
2003-02-13
|
1KB
|
26 lines
// Example MediaGraph file for using the Elecard Audio/Video decoders
// along with the VMR9 Video Renderer (requires DirectX-9 to be installed)
// for playback of MPEG2 files.
# Load all filters
LoadFilter({E436EBB5-524F-11CE-9F53-0020AF0BA770},Source File)
LoadFilter({731B8592-4001-46D4-B1A5-33EC792B4501},Elecard MPEG2 Demultiplexer)
LoadFilter({F50B3F13-19C4-11CF-AA9A-02608C9BABA2},Elecard MPEG2 Video Decoder)
LoadFilter({E32C3B01-C81B-4D01-8AD4-2B93F7FA544C},Moonlight Odio Dekoda)
LoadFilter({79376820-07D0-11CF-A24D-0020AFD79767},Default DirectSound Device)
LoadFilter({51B4ABF3-748F-4E3B-A276-C828330E926A},Video Mixing Renderer 9)
# Assign the File Name into the File Source Filter
SetFilterFileName(Source File,<FileName>)
# Source File to A/V Demultiplexer
ConnectPin(Source File,Output,Elecard MPEG2 Demultiplexer,Input)
# Video Data to Video Decoder to Video Renderer
ConnectPin(Elecard MPEG2 Demultiplexer,Video 0,Elecard MPEG2 Video Decoder,In)
ConnectPin(Elecard MPEG2 Video Decoder,Out,Video Mixing Renderer 9,VMR Input0)
# Audio Data to Audio Decoder to Audio Renderer
ConnectPin(Elecard MPEG2 Demultiplexer,Audio 0,Moonlight Odio Dekoda,In)
ConnectPin(Moonlight Odio Dekoda,Out,Default DirectSound Device,Audio Input pin (rendered))