home *** CD-ROM | disk | FTP | other *** search
- // Graph for decoding MPEG2 Transport Streams using the WinDVD filters
- // and the DVHSTool filters. Need at least WinDVD 4.5 for this.
-
- # Create our Filters
- LoadFilter({79376820-07D0-11CF-A24D-0020AFD79767},Default DirectSound Device)
- LoadFilter({51B4ABF3-748F-4E3B-A276-C828330E926A},Video Mixing Renderer 9)
- LoadFilter({7E2E0DC1-31FD-11D2-9C21-00104B3801F6},InterVideo Audio Decoder)
- LoadFilter({0246CA20-776D-11D2-8010-00104B9B8592},InterVideo Video Decoder)
- LoadFilter({105808AA-413D-4F32-898B-C15457292D55},InterVideo Demux)
- LoadFilter({C477B5E3-7BFF-4FDB-BDDA-059BC51E5C8A},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 WinDVD Demultiplexer (Audio/Video Splitter)
- ConnectPin(Source File,Output,InterVideo Demux,Input0)
-
- # Connect the InterVideo MPEG2 Demultiplexer to the InterVideo Audio Decoder
- ConnectPin(InterVideo Demux,Audio,InterVideo Audio Decoder,In)
-
- # Connect the InterVideo Audio Decoder to the Audio Renderer
- ConnectPin(InterVideo Audio Decoder,Out,Default DirectSound Device,Audio Input pin (rendered))
-
- # Connect the InterVideo MPEG2 Demultiplexer to the InterVideo Video Decoder
- ConnectPin(InterVideo Demux,Video,InterVideo Video Decoder,Video Input)
-
- # Connect the InterVideo Video Decoder to the Video Renderer
- ConnectPin(InterVideo Video Decoder,Video Output,Video Mixing Renderer 9,VMR Input0)
-