|
Convert wmv to avi using virtualdubmod
|
|
Member
|
26. April 2009 @ 09:05 |
Link to this message
|
Hi I had pretty good luck with the mp4 importing issue and converting to xvid.avi I'm going to try wmv.
Basically I used virtualdubmod for everything. I can pretty much convert anything to .avi but wmv. Recently I made a trade with a friend who encodes everything to wmv but virtualdubmod doesn't support it.
I've tried the plugins32 wmv filter but it doesn't work. It produces an asf error code or something.
Is there any way to import wmvs?
Thank you
Who is that shadowy figure?

|
fwupow
Newbie
|
28. October 2009 @ 19:59 |
Link to this message
|
You probably don't need this answer anymore, but in case anyone else has the same question. Here is an answer that I just discovered.
You need to download and install Avisynth
Once Avisynth is installed, you create a small one line script using Notepad. Type or copy and paste the following line into Notepad, but replace "MyVideoFile" with the name of the file you want to import:
DirectShowSource("MyVideoFile.wmv")
Save this file as 'YourFileName.avs' in the same folder as the WMV file you want to import.
Apparently, this will pull the WMV file through the Direct Show decoder and feed it to VirtualDub via Avisynth. You can then process it just like you would normally do with any video file.
XFX nForce 680i LT SLI mobo, Core 2 Quad Q6600 2.4GHz cpu, 4GB Crucial Ballistix PC2-8500 memory, Vista Home Premium 64 OS
|
fwupow
Newbie
|
29. October 2009 @ 04:42 |
Link to this message
|
I found that there are some improvements to be made with this process.
It seems that WMV files have trouble maintaining a fixed framerate so you may want to make some adjustments to the *.avs script file. Here is what I'm currently using for 856X480 WMV files:
Quote: # Every line starting with pound sign (#) is ignored
# WMV/asf files can have variable framerate which can cause
# video/audio sych error
DirectShowSource("FileName.wmv", fps=30, ConvertFPS=True)
EnsureVBRMP3Sync()
LanczosResize(720, 480)
Undot() # Minimal Noise
#---*****Everything Below is NOT part of the script!---******
# To get information about a file use:
# AviSource("C:\filename.avi")
# Info()
# USAGE syntax for loading files with AviSource, OpenDMLSource,
# AviFileSource & WavSource:
# AviSource(string filename [, ... ], [bool audio = true],
# [string pixel_type = YV12], [string fourCC])
# OpenDMLSource(string filename [, ... ], [bool audio = true],
# [string pixel_type = YV12], [string fourCC])
# AviFileSource(string filename [, ... ], [bool audio = true],
# [string pixel_type = YV12], [string fourCC])
# WavSource(string filename [, ... ])
# USAGE syntax for loading files with DirectShowSource
# DirectShowSource(string filename [, float fps, bool seek, bool
# audio, bool video, bool convertfps, bool seekzero, int timeout,
# string pixel_type,int framecount, string logfile, int logmask])
# Maintaining audio synch
# EnsureVBRMP3Sync(clip clip)
# Resizing video
# resize the dimensions of the video frame to 320x240
# LanczosResize(320, 240)
# DeNoise video:
# Undot() # Minimal Noise/Little Noise/Medium Noise/Heavy Noise
# multiplexing (muxing) audio & video
# video = AVISource("somevideo.avi")
# we can load WAV files too
# audio = WAVSource("music.wav")
# mux the video and audio tracks together
# AudioDub(video, audio)
# Avisynth manual
# http://avisynth.org/mediawiki/Internal_filters
XFX nForce 680i LT SLI mobo, Core 2 Quad Q6600 2.4GHz cpu, 4GB Crucial Ballistix PC2-8500 memory, Vista Home Premium 64 OS
|
Advertisement
|
  |
|
Induna
Junior Member
|
14. December 2009 @ 18:36 |
Link to this message
|
Hi. I followed your guide but I'm getting an error.
When I load up the avs file in VDubMod it says syntax error line 1 column 0
|
|