How to convert video through a directshow script in vdub

This forum is for questions and discussion of all the aspects of handling your footage. If you have questions about capturing/ripping footage, AviSynth, or compression/encoding/converting, look here.

How to convert video through a directshow script in vdub

Postby Phantasmagoriat » Thu May 24, 2007 12:37 am

Since this subforum deals with video format conversion, I think there should be a simple way that always works with common tools used by people here at the org. [from the <a href="http://www.animemusicvideos.org/guides/avtechbeta/">AMVapp</a>]
The following has always worked for me:


How to open almost any type of file in Virtualdubmod for format conversion:
1.-------->create a New Folder* [...anywhere is fine...]
2.-------->put your sourcefile.xxx in it.
3.-------->in the New Folder, create a new text file*
4.-------->in the text file write this on the first line: [...including the ""]
Code: Select all
directshowsource("filenameofyoursource.xxx")
5.-------->save, and change the file extension from .txt to .avs**>>open .avs file in VirtualDubMod***

Once you get the file open in vdub, recompress/save with the codec you want; For editing, preferably something big and lossless like Lagarith**** or HuffYUV


*--------> Right click anywhere>>New>>
**------->show file extensions in windows explorer:Tools>>Folder Options...>>View>>uncheck Hide Extensions for known file types.
***------>If it doesn't open, make sure you have <a href="http://www.doom9.org/">avisynth</a> [included in the <a href="http://www.animemusicvideos.org/guides/avtechbeta/">AMVapp</a>], install <a href="http://www.afterdawn.com/software/video_software/codecs_and_filters/ffdshow.cfm/rev__610__20061201">ffdshow </a>and the <a href="http://haali.cs.msu.ru/mkv/">Haali Media Splitter</a>, then try again.
****----->no Lagarith in WMM [windows movie maker]-->and NO DivX or XviD .avi's for that matter [=<a href="http://www.animemusicvideos.org/phpBB/viewtopic.php?t=75439&start=0"> headache</a>]



I tried to keep this simple, yet still cover all bases. Also, I don't want to be dishing out bad advise, so if anyone has something else they want to address, go right ahead... and if it is found to be useful, maybe this can be Stickied or something...
Image
Org Profile | AMVGuide | Phan Picks! | THE424SHOW | YouTube | "Galactic Escape"

"Effort to Understand; Effort to be Understood; to See through Different Eyes."
User avatar
Phantasmagoriat
 
Joined: 06 Feb 2006
Status: ☁SteamPunked≈☂

Postby Keeper of Hellfire » Thu May 24, 2007 11:30 am

Why making it easy if it can be done complicated? Make steps 1 and 2 if necessary, but
3.---------> in VDM "Open video file", change "use Avisynth template" from "none" to "Directshowsource" and doubleclick your file. Done. (In case of wmv you have of course to change the file type to "all files" first before you can see it).
User avatar
Keeper of Hellfire
 
Joined: 09 Jan 2005
Location: Germany

Postby Phantasmagoriat » Thu May 24, 2007 2:37 pm

Well, yes I realize that. And this is part of the reason why I'm asking for suggestions, so this is good to discuss :)

I chose to explain it this way since it will work in all cases [to my knowledge].

It gets around the 'exotic' formats like the wmv you mentioned. As well, some older versions of Virtualdub/VirtualdubMod/vdub/VDM [same thing...] don't have the directshowsource template located in the same way. For example, for the one included with the non-beta AMVapp you need to click File>> Open video file via AviSynth...>> then select the template.

Plus, using a template creates an extra .avs file which the user might be unaware of... which might lead to confusion; these steps illustrate that the .avs is being used and is very important. It also illustrates that the location of the files is also important.

Nevertheless, you are correct-- and I'm sure people reading your post will find that to be a good shortcut.
Image
Org Profile | AMVGuide | Phan Picks! | THE424SHOW | YouTube | "Galactic Escape"

"Effort to Understand; Effort to be Understood; to See through Different Eyes."
User avatar
Phantasmagoriat
 
Joined: 06 Feb 2006
Status: ☁SteamPunked≈☂


Return to Footage Help

Who is online

Users browsing this forum: No registered users and 1 guest