home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2003 February
/
PCWorld_2003-02_cd.bin
/
Software
/
Vyzkuste
/
Prehravacedivx
/
Prehravacedivx.exe
/
zplay290.exe
/
MediaGraph
/
vob.mediagraph
< prev
Wrap
Text File
|
2002-11-03
|
2KB
|
43 lines
// Graph for decoding MPEG2 Media Files (Such as VOB) using WinDVD filters
// You can switch the WinDVD decoder for any MPEG2 decoder filter set, as
// long as they support Line21 decoding, otherwise you'll have to modify
// the graph to remove the connection to the Line21 Decoder.
# Create our Filters
LoadFilter({79376820-07D0-11CF-A24D-0020AFD79767},Default DirectSound Device)
LoadFilter({70E102B0-5556-11CE-97C0-00AA0055595A},Video Renderer)
LoadFilter({7E2E0DC1-31FD-11D2-9C21-00104B3801F6},InterVideo Audio Decoder)
LoadFilter({CD8743A1-3736-11D0-9E69-00C04FD7C15B},Overlay Mixer)
LoadFilter({6E8D4A20-310C-11D0-B79A-00AA003767A7},Line 21 Decoder)
LoadFilter({0246CA20-776D-11D2-8010-00104B9B8592},InterVideo Video Decoder)
LoadFilter({AFB6C280-2C41-11D3-8A60-0000F81E0E4A},MPEG 2 Demultiplexer)
LoadFilter({E436EBB5-524F-11CE-9F53-0020AF0BA770},Source File)
# Assign the user selected filename to the source filter,
# "<FileName>" is translated to the actual file name automatically.
SetFilterFileName(Source File,<FileName>)
# Connect a source file to the MPEG2 Demultiplexer (Audio/Video Splitter)
ConnectPin(Source File,Output,MPEG 2 Demultiplexer,MPEG-2 Stream)
# Connect the MPEG2 Demultiplexer to the InterVideo Audio Decoder
ConnectPin(MPEG 2 Demultiplexer,Mpeg-1,InterVideo Audio Decoder,In)
# Connect the MPEG2 Demultiplexer to the InterVideo Video Decoder
ConnectPin(MPEG 2 Demultiplexer,Video,InterVideo Video Decoder,Video Input)
# Connect the InterVideo Audio Decoder to the Audio Renderer
ConnectPin(InterVideo Audio Decoder,Out,Default DirectSound Device,Audio Input pin (rendered))
# Connect the InterVideo Video Decoder to the Overlay Mixer
ConnectPin(InterVideo Video Decoder,Video Output,Overlay Mixer,Input0)
# Connect the InterVideo Video Decoder to the Line21 Decoder (Closed Captions)
ConnectPin(InterVideo Video Decoder,~Line21 Output,Line 21 Decoder,In)
# Connect the Line21 Decoder to the Overlay Mixer
ConnectPin(Line 21 Decoder,Out,Overlay Mixer,Input2)
# Connect the Overlay Mixer to the Video Renderer
ConnectPin(Overlay Mixer,Output,Video Renderer,In)