GraphEdit Tips and Tricks

rbV5

New member
Those that are familiar with GraphEdit know that it is a powerful and useful utility for the PC A/V enthusiast. I am no expert myself, but I am always finding new uses so I thought I'd start a thread.

-------------------------------------------------------
"Big" thanks to 'Grog' for his awesome contributions!
-------------------------------------------------------
*How do you get Graphedit?

GraphEdit Property Page Issue

For any who are having issues with the newer DXDSK showing property pages with GraphEdit you must register the proppage.dll first.

Find the proppage.dll and register it.

regsvr32 \dxsdk_feb2005_extras\extras\Extras\DirectShow\Utilities\proppage.dll

Now the graph property pages should work fine.

Greg

*******************************************************
EXAMPLES

Direct Show Filter Specific
-------------------------
*Fun with Infinite Pin Tee Filter -grog
*AC3Filter HDTV Wonder Example-grog
*Filter Configurator by Trombettworks

Media Playback
---------------------
*Cyberlink PlayDVD Example -grog
*DVR-MS (analog tuner captures) playback
*DVR-MS DTV playback
*"PIP"ing With GraphEdit (Picture in Picture) -grog
*Playing DVD's - Changing decoders -grog
*Microsoft Windows XP Professional x64 Edition - Watch TV -grog
*Playing HDTV inside Windows Internet Explorer -grog
*HDTV / MPEG - Streams and filters -grog

Ripping media files
-------------------------

*DVR-MS to MPEG2 easily with Cyberlink filters (analog tuner captures).
*Demux AVI example -xtnight

Audio and Video Capture
------------------------------
*ATI AIW 9700 PRO and ATI HDTV WONDER CC graphs -grog
*Recording to DVD Quality MPG with GraphEdit -grog

Using your Hardware Specifics
-----------------------------------
MISC
*Catalyst 5.4 / MMC 9.06.1 (MASSIVE - ATI AIW9700/HDTV WONDER) -grog
*Major Multi-Media with secondary monitor -grog

8500DV
*Catalyst 5.4 / MMC 9.06.1 -grog

AIW 9700 PRO
*Capture (AIW 9700 PRO to DIVX) -grog
*Build Graph - AIW 9700 PRO - CAT 5.2 / MMC 9.06 -grog
*ATI 9700 PRO - CC Example -grog

HDTV Wonder
*ATI HDTV WONDER (OTA GraphEdit) Example -grog
*ATI HDTV WONDER - Change Audio Filter -grog
*ATI HDTV WONDER - Sound filter options -grog
*ATI HDTV WONDER - Capture transport stream using GotFile Writer -low rez
*HDTV Wonder: Transport Streams and HDTV2MPEG2

Sapphire Theatrix (Theater 550pro)
*Theater 550 directshow filters (Sapphire Theatrix)
*Sapphire Theatrix: View TV
*Sapphire Theatrix: Listen to FM radio
*Sapphire Theatrix: FM radio WAV capture
*Sapphire Theatrix: FM radio multi-format encoding on the fly

TV Wonder Elite
*ATI Theater 550 Pro (TV render without lipsync) -Qix
*ATI Theater 550 Pro: Preview and Save MPEG2 @ same time -Qix

Hauppauge WinTV Go Plus
*TV Turner - The Graph -grog

File Conversion and encoding
-----------------------------------
*Convert MPG2-HD examples Part 1 -grog
*Convert MPG2-HD examples - Part2 (DIVX) -grog
*MPEG to h.264 encoding...Moonlight method
*MPEG to h.264 encoding...Moonlight method (continued)

Working with Audio
--------------------------
*Audio splitting / DMO sound effects -grog
*ProLogic Filters -grog
*Expanding AUDIO to 5.1 -grog

Gaming Consoles and Graphedit
-------------------------------------
*X800 VIVO Graphedit (ex w/ audigy2 & w/o sound) -Oddsk8er
*CAT 5.3 - MMC 9.06 - Sound Delay Work-Around -grog

CC and Graphedit
-------------------------
*VBI - CC and GraphEdit Questions -grog

Direct Show Programming and Graphedit
---------------------------------------------
*Creating HDTV Player - Getting Started -grog
----------------------------------------------
MSDN
*Simulating Graph Building with GraphEdit
*DirectShow Filters Reference
*********************************************************
TIPS


*To register/unregister your Direct Show filters (ax, dll)
----------------------------------------------

* Use Video Mixing Renderer 9 if you want to easily capture video screenshots
* Save your Graphedit filter graphs so you don't have to rebuild them everytime
* To playback media files, drag-drop them onto a graphedit shortcut (or into the graphedit application window) and press "enter" the directshow filters you have registered for the file format will connect and playback the media.


*********************************************************
Feel free to post and add your graphEdit tips and tricks as well as constructive feedback for this thread so that we can all learn :)

Edit: Hey, we got pinned to the top! Thanks to the Mods! <pssssst did I mention thanks to Grog>
 
Last edited:
jkayca said:
OK. I'm an idiot. What's a graph filter? In layman's terms of course.

Its "filter graph" actually. DirectShow applications use a graph of filters to process multimedia data (capturing or displaying audio or video files). GraphEdit is a visual tool that allows developers to test filter graphs in a GUI, and can be used for a variety of other tasks.
 
PIPPING With GraphEdit

PIPPING With GraphEdit

You can get PIP to work it is just not supported yet!

PIP with ATI HDTV WONDER and AIW9700....
Using 3rdParty free GraphEdit tool.

GraphEdit comes with DirectX SDK available free from Microsoft. Several sites around the internet also include GraphEdit.
One the graph is setup you can save it to disk and simply click on it to play the graph.
I will actually show how to create three graphs. You can click on the pins as well as the graph objects to setup the device properties.
While it takes a little to get use to there is very little overhead with using this method. Low CPU usage too.

CLICK ON THUMB-NAILS FOR FULL VIEW

ATI HDTV WONDER DTV and ATI AIW 9700 S-VIDEO-IN playing.
In this case I created a GraphEdit case where both the ATI AIW 9700 S-VIDEO-IN is defined.
At the same time I am playing PBS-HD (720P) format using the ATI HDTV WONDER DTV component.




ATI HDTV WONDER DTV, ATI HDTV WONDER ANALOG COMPOSITE-VIDEO-IN and ATI AIW 9700 S-VIDEO-IN playing.
In this case I created a GraphEdit case where both the ATI AIW 9700 SVIDEO-IN and ATI HDTV WONDER ANALOG COMPOSITE are defined.
At the same time I am playing PBS-HD (720P) format using the ATI HDTV WONDER DTV component.



ATI HDTV WONDER DTV, ATI HDTV WONDER ANALOG COMPOSITE-VIDEO-IN and ATI AIW 9700 ANALOG-TV-TUNER playing.
In this case I created a GraphEdit case where both the ATI AIW 9700 TV-TUNER and ATI HDTV WONDER ANALOG COMPOSITE are defined.
At the same time I am playing PBS-HD (720P) format using the ATI HDTV WONDER DTV component. Since I did not have an antenna connected to the RF on ATI 9700 AIW card you see only static. But it does show everything is working.



While it would be nice if PIP worked with MMC this shows that is not only can work, it does work.

And yes, I do get sound as well.

Greg
 
Microsoft Windows XP Professional x64 Edition - Watch TV

Microsoft Windows XP Professional x64 Edition - Watch TV

Like to watch TV with Microsoft Windows XP Professional x64 Edition?

It can be done.

Microsoft Windows XP Professional x64 Edition
Build: Service Pack 1.v.1289
ATI AIW 9700 PRO

Good ole GraphEdit works with the WDM drivers and the stock drivers as well as the latest drivers for the ATI AIW 9700 PRO card.

Other AIW based cards should also work fine.

Simply use GraphEdit and build a simple player as shown below.

Note: Sound pin is not required for pre-view. Yes sound works and shut's off when GraphEdit is closed down.

Click thumb-nail below for full view.



So while we wait for MMC to show up for Windows x64 Edition we can still watch TV and enjoy our AIW card.

For those who do not know how to use GraphEdit Windows Movie Maker works as well as "Media Player Classic".

A few more samples for you to enjoy.

I also included a few real TV players that work with icrosoft Windows XP Professional x64 Edition.

AMCAP from Microsoft dxsdk - feb2005 - extras



GraphEdit from Microsoft dxsdk - feb2005 - extras



JRiver - MediaCenter Beta 110196
http://www.jrmediacenter.com/



WinDVD - 4.0.11.391 (Warning: Don't enable hardware acceleration)


Greg
 
Last edited:
ATI HDTV WONDER (OTA GraphEdit) Example

ATI HDTV WONDER (OTA GraphEdit) Example

Thanks to hdtval21 who has posted a new " ATI HDTV Wonder- alternative software" package called "WatchHDTV" I was able to produce a simple graph for the ATI HDTV WONDER DTV section of the card.

For WatchHDTV information:
http://www.rage3d.com/board/showthread.php?p=1333531824#post1333531824

I have provided the following graph display based on the information in the from the WatchHDTV README.txt file. The graph filter works very well. Yes you can even play HDTV content with just GraphEdit. Sub-channels also work fine from the "Microsoft ATSC Network Provider Properties" dialog but are not saved with the graph itself. So you must enter the "Physical Channel, Minor Channel and Major Channel" information each time you run the graph. Be sure to press "submit" on the dialog to allow the channel to register.

Click on Tumb-nail for full view.

Simple HDTV WONDER BDA graph


The following graph also adds the ATI HDTV WONDER analog S-VIDEO selection using one of the VMR-9 input pins to allow PIP "picture-in-picture". The alpha is set so .7 to allow transparent effect with the main background HDTV DTV picture.

Upper right: ATI HDTV WONDER Analog S-VIDEO (PIP)
Main picture: ATI HDTV DTV (OTA) signal



Pretty cool stuff.

Greg
 
Last edited:
greg,
using graphedit for your hdtv wonder (as shown in the post above) what audio channels does it use for the dtv audio stream. is it 2 channel pro logic or is it 5.1 dolby digital? i am going to play around with it later this week(too busy right now) but i would love to get this working with 5.1.(like 6 speaker config or passthrough config in dtv ati mmc options)
 
Question on error

Question on error

I am trying to capture CC info from my ATI 128 pro. I have a few guide on the right filters to set, however i always get an error.

Once i have everything set, i try to launch the tv viewer but it just gives me an error. If i close graphedit, the viewer will start. Then if i open graphedit while the viewer is running, GE will give me an error.

Is there something i am missing?
 
You still have to replace the "CLAud.sim" file to get 5.1 (6 channel) to work.
But we always new this was not a MMC GUI issue but the sim released with MMC.

http://www.rage3d.com/board/showthread.php?t=33799136&highlight=CLAud.sim

And I think you will find a lot of options when you do use the "CLAud.sim" from WINDVD 6. More than you would ever think possible.

There are some really neat 2-channel options too.



Greg

tristancarton said:
greg,
using graphedit for your hdtv wonder (as shown in the post above) what audio channels does it use for the dtv audio stream. is it 2 channel pro logic or is it 5.1 dolby digital? i am going to play around with it later this week(too busy right now) but i would love to get this working with 5.1.(like 6 speaker config or passthrough config in dtv ati mmc options)
 
I don't have a ATI 128 PRO here to build the graph against but I will post the ATI AIW 9700 PRO and ATI HDTV WONDER CC graphs.


ATI 9700 PRO - CC Example
Very simple CC option for ATI AIW 9700 PRO (S-VIDEO in was used).
Note: Video is also displayed but not able to capture due to overlay. But you will see the CC text.



ATI HDTV WONDER DTV with Analog S-VIDEO PIP and CC Example
The CC in this example is from the PIP "picture-in-picture". Kind of cool way to handle PIP.

Main Video: ATI HDTV WONDER (DTV)
PIP: ATI HDTV WONDER - Analog S-Video Source
CC: ATI HDTV WONDER - Analog S-Video Source



Greg

chris98007 said:
I am trying to capture CC info from my ATI 128 pro. I have a few guide on the right filters to set, however i always get an error.

Once i have everything set, i try to launch the tv viewer but it just gives me an error. If i close graphedit, the viewer will start. Then if i open graphedit while the viewer is running, GE will give me an error.

Is there something i am missing?
 
awesome thanks greg. just didn't realize the .sim file was recognized in graphedit. looks like i am going to have fun this next week with this. can't wait.

again thanks.(esp for pics)
grog said:
You still have to replace the "CLAud.sim" file to get 5.1 (6 channel) to work.
 
I am not sure what GE is?

As long as the WDM drivers are used GraphEdit should work though.
I do know that the latest drivers on ATI's site "version 7.6" are WDM based and use DirectShow technology.

Early versions such as 6.3 were VFW based.

Keep in mind that changes to the WDM drivers will cause Graphs to not load.
So if you use GraphEdit for anything other than educational purposes be sure to keep the steps to create the graph and a screen shot of it handy in case you need to build it again.

Greg

chris98007 said:
Does the 128 pro work with Graphedit? I assume that if i am running GE that i cannot open the tv tuner of the MM7?
 
I have updated the "Microsoft Windows XP Professional x64 Edition - Watch TV" message to include more graphs.

See message #6 above.

Greg
 
DirectX Info (DirectX 9.0 SDK Updates - (February 2005))

DirectX Info (DirectX 9.0 SDK Updates - (February 2005))

Microsoft DirectX Downloads
http://msdn.microsoft.com/library/default.asp?url=/downloads/list/directx.asp

DirectX 9.0 SDK Update - (February 2005)
http://www.microsoft.com/downloads/...33-06E9-47BA-914A-844575031B81&displaylang=en

DirectX 9.0 SDK Update - (February 2005) Release Notes
http://www.microsoft.com/downloads/...74-3367-478A-AAD1-0A8BC48F3CDE&displaylang=en

DirectX 9.0 SDK Update (February 2005) Extras
This one contains GraphEdit and samples for DirectShow.
http://www.microsoft.com/downloads/...A9-1383-44B4-BC8B-7D6315212323&displaylang=en

GraphEdit Property Page Issue

For any who are having issues with the newer DXDSK showing property pages with GraphEdit you must register the proppage.dll first.

Find the proppage.dll and register it.

regsvr32 \dxsdk_feb2005_extras\extras\Extras\DirectShow\Utilities\proppage.dll

Now the graph property pages should work fine.

Just the tools - All I want it just the tools method

If you don't have compiler tools "Visual C++, Visual Basic" then you don't need to download the entire SDK.

If you just want the tools then download this one.

http://www.microsoft.com/downloads/...a9-1383-44b4-bc8b-7d6315212323&DisplayLang=en

You can extract the archive "dxsdk_feb2005_extras.exe" with WinRAR

Now all we need is the following folder. Just copy this folder somewhere.

\dxsdk_feb2005_extras\extras\Extras\DirectShow\Utilities

You will see GraphEdit versions for 32BIT and X64 in are both supplied.
So if you want to test WDM drivers with Windows 64-BIT edition this is all you need.

Next, find the proppage.dll and register it.

regsvr32 \dxsdk_feb2005_extras\extras\Extras\DirectShow\Utilities\proppage.dll

Other neat things
A lot of examples are included in this archive.

\dxsdk_feb2005_extras\extras\Extras\DirectShow\Samples\C++\DirectShow\Bin\x86
and
\dxsdk_feb2005_extras\extras\Extras\DirectShow\Samples\C++\DirectShow\Bin\x64

Include a lot of great sample programs. AMCap is one you will also want to use since it also handles WDM based capture devices.

Greg
 
Last edited:
Capture (AIW 9700 PRO to DIVX)

Capture (AIW 9700 PRO to DIVX)

Create DIVX VIDEO from ATI AIW 9700 PRO S-VIDEO input.

With Pre-View


No Preview
In this graph we will capture the video to DIVX as shown above. The main difference is the VP (Video Preview Pin) setup for the "ATI Rage Theater Video Capture" component. We do connect the VP pin to the input of the "Video Port Manager" but we do not connect anything to the output pin of the "Video Port Manager". If we remove the "Video Port Manager" the graph will fail.

The output filter is created using the "DirectShow Filters\File Writer".
All of the other filters should be easy to find.

This example uses the Audigy sound card. You will need to add your sound card component in place of the Audigy ones or you can simply right click on the sound output pins and let them render themselves for you.

As normal you will have to right click on the components to setup the connections as required.

The main idea of this graph is to allow recording to DIVX format in the background. Yes it can be done. No video is displayed while recording!



Greg
 
Last edited:
GraphEdit Property Page Issue

For any who are having issues with the newer DXDSK showing property pages with GraphEdit you must register the proppage.dll first.

Find the proppage.dll and register it.

regsvr32 \dxsdk_feb2005_extras\extras\Extras\DirectShow\Utilities\proppage.dll

Now the graph property pages should work fine.

Great tip Greg! Nice job on the graphs, its amazing what you can do with graphedit.
 
Yes, GraphEdit is very cool.
I think the next big thing is a how to on actually creating code from GraphEdit to build a real player.

Still I keep adding to this thread or this thead will get lost since it is still not a Sticky...

Greg


rbV5 said:
Great tip Greg! Nice job on the graphs, its amazing what you can do with graphedit.
 
Back
Top