About using Graphedit to convert WMV to DivX

Here are a couple additional tips.

1)
To save a lot of hard drive space, you can insert the DivX 5 codec filter between the WMV video decoder output pin and the AVI Mux input pin. This filter is found under "Video Compressors" in the list of filters. The resultant avi will be about 40 times smaller.



There is a caveat to this method, however. The last frame will be corrupt. This does not seem to affect playback, but if you want to do additional processing on the avi, you will have to rebuild the index using DivFix or some similar tool before it will load in VirtualDub.

2)
You can set up a template in GraphEdit by saving as XML.
Once you have successfully run one pass, go to (File-->Save As XML...) and enter a filename such as WMV2AVI.XGR

Open this file in a TEXT editor (such as Notepad). It will look similar to the following:

Code:

    
        
        
    
    
        
    
    
        
    
    
        
    
    
        
    
    
        
    
    
    
    
    
    
    
You must remove the "data" parameter from the "File_writer" filter. Just remove this line entirely:



Only remove this line for the "File_writer" filter. Leave the other "data" PARAMs as is.

Save the file.

Now, we need to associate XGR files with GraphEdit. Double-click the XGR file. An "Open With" window will appear. Click the "Other..." button in the lower right corner, browse to where you have installed GraphEdit, and highlight the "GraphEdt" or "GraphEdt.exe" program (depending on your settings). Click "Open", then make sure the box labeled "Always use this program to open this file" is CHECKED, then click "OK".

Now, each time you want to convert a WMV file to AVI, all you have to do is edit the template file: change the input path/filename and the output path/filename. Save it, double-click it, and then just push the play button in GraphEdit.