How to convert ASF/WMV files to AVI.
--------------------------------------------------------------------------------
OK, first let me say that this method is a bit of a pain in the butt, is not user friendly, and does require that you have the registered version of at least one program. Having said that, this method will allow you to make a flawless( as much as possible ) conversion from an asf/wmv directly to avi even if the file is encoded with the WMV1 or WMV2 codec.
First we'll start with what you'll need.
1)GraphEdit : get it here http://www.dvd-digest.net/downloads/files/encode/graphedit.zip
2)Imedia AVI_renderer : http://www.divx-digest.com/software/mpeg2avi_imedia.html
3)AsfTools : http://www.geocities.com/myasftools/
4)A video to work with, for this example I'll use the movie trailer of Black Hawk Down. I used StreamBoxVCR and downloaded it from here mms://agency2wm.fplive.net/agency/2/2/film/blackhawkdown/trailer_2/bhd_trailer2_300k.asf
5)Registered version of MotionPerfect : http://www.motionperfect.com/
OR YOU COULD GET THEM AT THIS YAHOO GROUP (and any necessary patches) http://groups.yahoo.com/group/buzzinhornetz2001_22/files/
First we're going to need to get some essential information from the asf file. Namely, the frame rate and the number of frames in the file. Open your downloaded file in asftools and click on the Advanced button. Click on the "Convert to AVI" tab, make sure timing method is set to Minimum extra frames, and click on Convert. When the conversion is finished, note the "frame rate" which can be read at the field: "Frame/Sec".
and number of frames in asf/wmv file which is: (Total frames shown in message window) minus (number of frames added for sync. also shown in message window)
Our example has 4491 frames and runs at 29.966fps. You can now delete the avi file.
Before we go any further, you will need to have a registered version Motion Perfect installed, and you will need to install the AVI_renderer filter. You should have downloaded a file called i-media_mpeg2avi.zip, in this zip is a file called AVI_Renderer.ax, extract it to the directory of your choice, just rember where you extracted it to. Now click on Start->Run, in the box type in regsvr32 and then the path to AVI_Renderer.ax in quotes. So, if you extracted it to c:\filters, you should type in : regsvr32 "c:\filters\AVI_Renderer.ax" . Click OK and you should get a message that the filter registation succeded.
Now we are ready to build our filter graph and start out conversion. Open GraphEdit, click on File->Render Media File, and select your downloaded asf file ( bhd_trailer2_300k.asf in our example ). Once the file is loaded, you will see the filter graph that GraphEdit created. Delete both the Video Renderer, and Default Directsound Device filters. Next, click on Graph->Insert Filters, when the window comes up, expand the DirectShow Filters category. Add a Mediamend ( you will not see this if you do not have motion perfect installed ) filter and an I-Media AVI Renderer filter. In the dialog that appears choose custom for frame rate. To get a frame rate of 29.966fps set the rate to 29966 and the scale to 1000. Click OK then choose an output file name. Now Right-click on the Mediamend filter and select properties, set playback time to 1, set frame rate to 29.966 and set interpolation mode to 0. Now connect the output of Windows Media Video Decoder to the Mediamend filter. Connect the Mediamend filter to the video input of the AVI_Renderer. Connect the Windows Media Audio Decoder to the Audio input of the AVI_Renderer. Check the Show frames box on the AVI_Renderer window. Finally press the play button on the toolbar. A dialog will appear letting you choose the codec you want to use. Your AVI should now be encoding. Once you see in the AVI_Renderer status box that your video is done encoding close graphedit.
You're done. Yeah. You should now be able to play your new avi file.
Just a couple of final word here: When VirtualDub 2 is released, this will probably all be a mute point in that VirtualDub 2 will be DirectShow based and should therefore be able to open and convert asf/wmv files natively. Also I should point out that there are probably several other methods for doing this with GraphEdit. This is just my method. It works for me.
by CHICKEN SCROTUM
edited by BUZZINHORNETS
+ Reply to Thread
Results 1 to 6 of 6
-
-
I've followed your instructions, but when I try to render the file with Graphedit I get the following error:
Cannot play back the video stream: no suitable compressor could be found.
Any ideas.
Thanks for all your help thus far. -
what compressor are you using... try divx 3.11 low motion, that's what I used... also, did you follow all the instructions, eg. entered your frame rate?
-
I don't even get that far. I did the following:
1. Installed all files: Asftools, AVI_Renderer, Motionperfect (registered), and Graphedit
2. Opened up file in Asftools. Got the 25.0000 frame rate. Asftools also indicated that the v.fcchandler was WMV2 and that the v.Comprsn was WMV2.
3. I attempted to open the file in Graphedit. This is where I get the no suitable compressor can be found error. It only renders the audio piece. It seems that the problem is here. It doesn't seem to like WMV2. Do I need to download another file?
I can open the file with Media Player.
I had another file that Graphedit could open, and I successfully changed it from a Microcrap MPEG-4 to a DIVX encoded file.
Thanks again. I really appreciate your help. -
Read this and try the reponses
http://pub25.ezboard.com/fstreemeboxvcrfrm1.showMessage?topicID=1048.topic&index=10 -
The opening it in Windows Media 6.4 did the trick. I can now open the file in Graphedit! I'm converting as we speak, if you don't hear from me again, everything was successful.
Thanks a million!!!
Similar Threads
-
help converting WMV to AVI
By user943 in forum Video ConversionReplies: 5Last Post: 11th Nov 2008, 10:39 -
Converting .WMV to .AVI - What should I use to do this?
By Hank Kinsley in forum Video ConversionReplies: 3Last Post: 16th Oct 2008, 04:54 -
converting wmv to avi
By evile1690 in forum Video ConversionReplies: 1Last Post: 9th Jan 2008, 04:15 -
CONVERTING FROM AVI TO WMV or RM
By sunsound in forum Newbie / General discussionsReplies: 6Last Post: 19th Jun 2007, 03:17 -
Help converting .avi into .wmv
By Theros in forum Video ConversionReplies: 13Last Post: 5th May 2007, 18:10