Printable Version of Topic
Click here to view this topic in its original format
Unofficial VirtualDub Support Forums > Codec Discussion > Can I Play Wmv Files?


Posted by: basilfil Jul 29 2005, 01:12 PM
i have the VirtualDub 1.6.9
i wante to convert .wmv files to mpeg or avi,
but as i can see i can not open any file with extention .wmv.

there is anything to do to make it play and convert such types of files?

thanks in advance

Posted by: stephanV Jul 29 2005, 01:52 PM
you can use AVISynth with directshowsource

Posted by: jazzzy786 Aug 8 2005, 09:34 PM
Could you please explain how to do this Stephan I always use winavi myself

Posted by: stephanV Aug 8 2005, 09:41 PM
1. install avisynth

2. create a text file:
CODE

Directshowsource("c:\myfile.wmv", fps = <framerate>)


<framerate> is the actual frame rate of the file.

3. rename text file to myfile.avs

4. open in VirtualDub

Posted by: jazzzy786 Aug 9 2005, 05:14 PM
Thanks for that info. Do you know if i could do something like the above to convert a MP4 file to MPEG1/2 using Tmpgenc.

Posted by: stephanV Aug 9 2005, 05:17 PM
if you can open the file in WMP or a directshow-based player, you can use the same script above and open it in TMPGEnc.

Posted by: jazzzy786 Aug 9 2005, 05:33 PM
Yes it does MP4 to mpeg1 with Tmpgenc I tried it but no sound unfortunately.

Posted by: skidrow Aug 10 2005, 08:17 PM
No easyer way to load a wmv file?

Posted by: Darkfalz Aug 11 2005, 07:36 AM
You can open it in TMPGEnc and then export it to a AVI. I tried it and it works (or did once). Unfortuantely when I tried using Huffyuv for codec, it tended to crash.

Posted by: jazzzy786 Aug 11 2005, 12:23 PM
If you want to convert it to AVI just load the script into virtualdub. Winavi is the only program I know that can convert a WMV with sound to an AVI or MPG.

Winmpg can convert a MP4 to AVI with sound (but very slowly approx 3-4 hours) also the program is prone to crashing.

Using YAMB and MP4BOX it is possible to extract the video and audio streams from a MP4. Then the audio needs to be converted to WAV using besweet or similar before importing into virtualdub.

Posted by: skidrow Aug 11 2005, 05:10 PM
Dont know how to do the script thing:)

Posted by: jazzzy786 Aug 12 2005, 12:57 AM
read stephanv's post above just use notepad to write the script and save it as a avs file. Instead of loading your wmv directly into virtualdub load the script instead. It will now load the wmv into virtualdub like it is an avi

Powered by Invision Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)