First  Prev  1  2  Next  Last
Post Reply Guide to VirtualDub and DGIndex
Moderator
7080 cr points
Send Message: Send PM GB Post
24 / F / United Kingdom -...
Offline
Posted 11/23/08 , edited 12/20/08
I saw there was a bit of an intrest about this topic in Kr3w's Download Thread.
http://www.crunchyroll.com/forumtopic-388466/Amv-Downloads.html

Before the Tutorial start, you will have to download must have Softwares:
http://www.animemusicvideos.org/guides/avtechbeta/amvapp3beta.exe
Windows 95/98/ME is not supported.

Included Software:
Avisynth to 2.57
Premiere AVS Import Plugin 1.6 alpha
DVDdecrypter 3.5.4.0
DGMPEGDec 1.4.9 beta 9
BeSweet 1.5b28
BeSweet GUI 0.7 b4
LAME ACM 3.97
VirtualDubMod 1.5.10.2
XviD 1.1.2
HuffYUV 2.1.1 - CCESP Patch v0.2.5
Lagarith Lossless Codec 1.3.12
Helix YUV Codecs
Zarx264gui 1.0
x264 r618
MP4Box 0.4.3
avifrate v1.20 (custom mod)
avi_tc_package v1.5
graphedit v5.4.0.2904
VFAPI 1.05
AMVapp tests



______________________________________________________________________

DVD Ripping:
In this part of the tutorial you will be using DVDdecrypter and DGIndex.

Firs thing's first. Place your DVD in the DVD Drive.
Then open up DVDdecrypter


All you need are all the .Vob files nothing else.
So hold ctrl and select all .Vob files
Then go File Decrytp.


Once you have finished Decrypting your DVD's, open up your DGIndex.
Open all your .Vob files then you will notice black lines in the edges of the footage.


So we have remove these Black Edges, to do so.
Go Video>Enable Cropping Filter. Once you have open it click on the box before "Enable Cropping Filter" and set Right, Left, Top and Bottom to 4 or in way you like.


After all that go File>Save(f4)
It is better to save it with you .Vob file.
And save it in .d2v file format.


Then thats it...Easy right?
______________________________________________________________________

Scripting:

Scripting is for Improving Visual Quality and Compressibility

To edit your .d2v file your have to make a script.
First you have to open Notepad and inside type in:
mpeg2source("File Path to the d2v file .d2v") or AVISource("File Path .avi")
converttoyv12(interlaced=true)
Telecide(order=1,guide=1)
Decimate(cycle=5, mode=2)
changefps(29.97)
LanczosResize(720,360)



LanczosResize 720:360, 848:480, 640:369 or also known as 16:9 sets it to widescreen.
After adding this to Notepad save it in the file with you .Vob and .d2v files.
Note: If you move one single file everything doesnt work.


______________________________________________________________________
Light/Invisible Noise

You think your video source looks nice and clean already? You got it from a nice DVD, and the quality looks absolutely perfect to you. Well, I'm here to tell you, it's NOT clean. In fact, it has a ton of noise in it. You might be thinking "What are you talking about? I don't see any noise in it!" But just because you can't see it, that doesn't mean its not there! As you will see below, even the cleanest sources are absolutely covered in noise!

Deen: Deen is a tried and true smoothing filter that I have been using for years now. It can perform 2 jobs: Spatial Smoothing and Temporal Smoothing. A spatial smoother smooths the image in each frame. A temporal smoother, on the other hand, works by removing noise across a series of frames. I strongly recommend that you use BOTH types of smoothing rather than just one. Lucky for us, Deen is capable of both of these!

The first parameter in deen is the mode. Deen offers a variety of modes, but I recommend using either "w2d" or "w3d". Some other modes are c2d/c3d and a2d/a3d. c2d and c3d are essentially limited versions of a2d and a3d, so they aren't particularly useful. The a2d and a3d modes aren't bad, but they are known to cause "banding" in sources. The w2d and w3d modes work very similar to a2d and a3d, but they can preserve gradients and don't cause banding. For this reason, I prefer the w2d/w3d modes above the others. The w2d mode does spatial smoothing only, and w3d does both spatial and temporal smoothing. I personally recommend w3d, but feel free to use the 2d mode if you prefer it. If you use the 2d mode though, you need to make sure to use a seperate temporal smoother along with it. The next parameter that deen takes is the radius. This sets the area that the filter looks at when it is processing each pixel of the image. Larger values are slower and cause it to smooth more. I think a value of 3 works pretty well for light filtering. With a 3d filtering mode you can set the radius as high as 4, and with a 2d mode you can go as high as 7. The next parameter is the luma threshold. This value sets how strongly you want to filter the luminance (lightness) channel of the video. Higher values smooth more, but smoothing too much can eliminate details from the image and give it a blurry or washed out look, so be careful! For light settings I recommend a 3 or 4 for this value, but please try a few values and judge it for yourself. The final parameter is the chroma threshold. This works just like the luma threshold, but it controls how much you want to smooth the chrominance (color) channels of the video. Generally, you can set this value a higher than the luma threshold without a visible difference. So to sum all of this up, you have the mode (enclosed in quotation marks), the radius, the luma threshold, and the chroma threshold. Here are a couple samples you might want to try:

Deen("w3d",3,3,5)

or if you want to use a seperate temporal smoother, and you want to increase the strength of the spatial smoothing:

Deen("w2d",3,4,6)

Pretty simple right? Just remember to be careful if you increase the thresholds, because you can lose details and make the video look washed out.

Undot: This is a pretty simple (and fast) filter that does a very simple type of spatial smoothing. It essentially clips each pixel to be within the range of its 8 neighbors. What this means, is it eliminates fine noise that is only 1 pixel in size. The effect of this filter is usually not even visible to the naked eye--far less so than the light Deen settings that are posted above. Some people say that they use this filter on every source. I can't say thats a bad idea. While it's usually not a good idea to just blindly toss filters on your video, the effect of this one is so minor that I seriously doubt it would cause any adverse effect. If you don't use any other kind of spatial smoothing, then this filter can give you a rather nice compressibility boost. If you are already using another smoother such as Deen though, you probably aren't going to see much difference, if any, from using Undot. Using undot is very simple:

Undot()

That's it. Nothing to configure. Once again, I strongly recommend this filter if you aren't using any other smoother, like Deen. Even if you are using another smoother, this isn't likely to hurt anything, so toss it on anyways if you want to. Since this doesn't really create a visible effect, I'm not going to bother to post a screenshot.

TemporalCleaner: This is a rather simple and fast temporal smoother. I used to use this all the time, but recently started to prefer the temporal smoothing in Deen. This is still a good temporal smoother though, and you definately need to make sure that you do at least some temporal smoothing on your video. This filter takes two parameters. First, is the pixel lock threshold. If the change in a pixel from one frame to the next is less than this threshold, then that pixel is "locked" to the same value keeping it from changing any. Next is the pixel blend threshold. If the change in a pixel is greater than the pixel lock threshold, but smaller than this value, then the pixel in the new frame is blended with the pixel from the previous frame. The default values for this filter (4,6) are quite good, and are what I usually use.

TemporalCleaner()

One thing to watch out for, I have known this filter to cause ghosting, meaning that residue from a previous frame will remain on screen for 1 or more additional frames. This seems to be a rare occurance with this filter, but it can still happen. So when using this, just make sure to look over your video carefully to make sure that it hasn't been hurt any.

Fluxsmooth This is another temporal smoother that works quite well. I don't personally have a lot of experience with it, so I'll just copy what AbsoluteDestiny wrote in the previous version of this guide:

This filter has a spatial component but the spatial component is there to find out what a pixel should be averaged to. This is a very powerful filter and definitely a good addition to almost any filter chain. The default settings are FluxSmoothST(7,7) where the first 7 is the temporal threshold and the last 7 is the spatial threshold. Increasing these values can improve the smoothing but this filter needs very little tweaking.

So to sum all of this up: You want to perform both spatial and temporal smoothing on your video. Deen can function solely as a spatial smoother, or it can do both spatial and temporal smoothing. Undot is a very light spatial smoother. TemporalCleaner and Fluxsmooth are both temporal smoothers. Just make sure not to overdo it, because with too strong settings, these filters can all end up making your video look worse than it started out! But with reasonable settings, these filters can significantly help your final video quality. On that note, don't use all of these in the same script. Just make sure that you have some spatial smoothing going on, and that you have some temporal smoothing going on.

(Taken from the Org.) http://www.animemusicvideos.org/guides/avtechbeta/avspostqual.html#lightnoise

______________________________________________________________________

Then name whe name the notepad always add ".avs" in the end of the name.
Then drag Notepad to VirtualDubMod and your done.
______________________________________________________________________

Compression:

After you have dragged Notepad to VirtualDub, it will show up in the following.


After this go to Video>Compression(ctrl+P)


If you editing your Amv's with Sony Vegas Pro, use Laragith lossless codec.
And if your using Windows Movie Maker, use Huffyuv v.2.1.1
Then Press "OK"
File>Save AVI...(f7) then render.
Warning, if you dont have a 1TB(1,000gb) External Hardrive, it will eat your memory like hell.
I rendered out the whole thing and it goes up 60-100gb.
So it would be best to render out the scenes you need.

And once you have finished making you Amv's and rendered it as an .avi file. Open with VirtualDub and same thing applies divX/Xvid are compression, so that would basically compress you amv down below 99mb big.
______________________________________________________________________

Setting Up Your Sony Vegas Project:

Audio Tab:


Template: You can choose from a large number of templates to create your project. If you are a DV user you should select the template that is most appropraite to your Hardware. As in avi or avs user you will want to configure your project based on your source.

Vegas has a useful little option that can read an avi file in order to work out some of the settings. You can do that with the folder icon if you wish. It is not smart enough to configure everything correctly but it's a useful tool anyway.

Width, Height: This should be identical to the frame size of your avisynth footage. This will depend on what aspect ratio options you decided on earlier.

Field Order: If you have progressive (IVTC or deinterlaced) footage then you should set this to None. If you have interlaced footage you will need to specify the field order, just like you did in the Analysing your Footage stage. DV users will want to select Lower Field First.

Pixel Aspect Ratio: PAR, in editing, really doesn't do that much. It's primarily useful for making sure things on the screen look exactly the way they do when they are exported and also to cater for Hardware implementations. I don't really care for this benefit - I always choose square pixels and keep the format pixel for pixel as it is. I know exactly what is happening to the footage and, like I described in the Aspect Ratio section, it doesn't affect quality you just need to be more careful about any graphics you add.

Frame Rate: If you are editing FILM footage (IVTC'd or whatever) then you will want to choose 23.976fps (IVTC film). Full NTSC should be 29.97fps and PAL should be 25fps.

Full-resolution redering quality: Obviously you'll want the best :)

Motion Blur type: Gaussian is fine.

Deinterlace Method: This should always be set to None for progressive footage. For interlaced footage it's a different story as you will need to deinterlace if you wish to slow clips down and so on. Both blurring and interpolation have their own merits although I'd prefer interpolation. If it looks rubbish then switch to blurring

Audio Tab:


Master Bus Mode: Should be stereo - that's a no brainer.

Number of Stereo Buses: The nature of amvs means that it's unlikely you will need this any higher than 0. If you are doing complex audio work, read the manual and find out what this option is all about. Otherwise just leave it at 0.

Sample Rate: 44,100 Hz for CD ripped wav audio or 48,000 Hz for editing audio obtained from a DVD source.

Bit Depth: This will be 16bit if you have ripped audio from a CD or DVD. 24bit and above will usually only be needed if you have recorded audio yourself.

Resample Quality: You shouldn't be resampling anyway, but set it to best just to be safe.

It is possible to produce 5.1 surround sound projects with Vegas but for most amv makers this is extraneous, particularly as conventions and internet distribution are not the best place for this kind of audio.

Ruler Tab:


Ruler time format: Lots of options here. The format that the timeline will be measured in can be changed at any time. You should either choose an SMTPE format to match your fps or you should choose frames or something simliar.

(Setting Up You Sony Vegas Project, taken from AMV.org)


More can be found about VirtualDub in Kr3w's Thread.
http://www.crunchyroll.com/forumtopic-222581/A-Guide-to-Virtual-DubMod-Advanced.html
______________________________________________________________________

The Guide is finished. If you have any question feel free to ask.
I will also so update this Guide.

Have Fun Editing.
~Lovely-Complex
Moderator
35171 cr points
Send Message: Send PM GB Post
28 / M / Lurking
Offline
Posted 11/23/08
848/480 = 16/9.

720/480 = 4//3

640/480 = full screen

720/360 and 640/360 are wide screen pixels as well but l doubt anyone would use those lol.
AMVMaker regulars
3336 cr points
Send Message: Send PM GB Post
28 / M / Trudging on throu...
Offline
Posted 11/23/08
Great job on this guide. Very simplified and easy to understand. 5 stars!
Moderator
7080 cr points
Send Message: Send PM GB Post
24 / F / United Kingdom -...
Offline
Posted 11/23/08

qweruiop wrote:

Great job on this guide. Very simplified and easy to understand. 5 stars!


Hehehehe thanks...
Moderator
67850 cr points
Send Message: Send PM GB Post
F / Japan
Offline
Posted 11/29/08

Lovely-Complex wrote:



Scripting:

Scripting is for Improving Visual Quality and Compressibility

To edit your .d2v file your have to make a script.
First you have to open Notepad and inside type in:
mpeg2source("File Path to the d2v file .d2v") or AVISource("File Path .avi")
converttoyv12(interlaced=true)
Telecide(order=1,guide=1)
Decimate(cycle=5, mode=2)
changefps(29.97)
LanczosResize(720,480)



LanczosResize 720,480 or also known as 16:9 sets it to widescreen.
After adding this to Notepad save it in the file with you .Vob and .d2v files.
Note: If you move one single file everything doesnt work.

Then name whe name the notepad always add ".avs" in the end of the name.
Then drag Notepad to VirtualDubMod and your done.
______________________________________________________________________



when you say add .avs
this might sound noob, but what do you mean? change the .txt to .avs? if so, how do I do that?
Moderator
7080 cr points
Send Message: Send PM GB Post
24 / F / United Kingdom -...
Offline
Posted 11/29/08


Yup thats what exactly what is it really jsut right click>rename.
Moderator
67850 cr points
Send Message: Send PM GB Post
F / Japan
Offline
Posted 11/29/08 , edited 11/30/08

Lovely-Complex wrote:



Yup thats what exactly what is it really jsut right click>rename.




The guide is clear but because I have no knowledge of this stuff whatsover, I don't know the really dumb, simple details.
I think it's my VirtualDubMod that isn't working but just incase, here is the script.


AVISource("C:\Users\Missa\Desktop\Air\airtrial6HUFFY.avi")
converttoyv12(interlaced=true)
Telecide(order=1,guide=1)
Decimate(cycle=5, mode=2)
changefps(29.97)
LanczosResize(720,480)

Moderator
7080 cr points
Send Message: Send PM GB Post
24 / F / United Kingdom -...
Offline
Posted 11/30/08 , edited 11/30/08


The guide is clear but because I have no knowledge of this stuff whatsover, I don't know the really dumb, simple details.
I think it's my VirtualDubMod that isn't working but just incase, here is the script.


AVISource("C:\Users\Missa\Desktop\Air\airtrial6HUFFY.avi")
converttoyv12(interlaced=true)
Telecide(order=1,guide=1)
Decimate(cycle=5, mode=2)
changefps(29.97)
LanczosResize(720,480)



Is airtrial6HUFFY the name of the file u want to script??
Moderator
67850 cr points
Send Message: Send PM GB Post
F / Japan
Offline
Posted 11/30/08 , edited 11/30/08

Lovely-Complex wrote:



The guide is clear but because I have no knowledge of this stuff whatsover, I don't know the really dumb, simple details.
I think it's my VirtualDubMod that isn't working but just incase, here is the script.


AVISource("C:\Users\Missa\Desktop\Air\airtrial6HUFFY.avi")
converttoyv12(interlaced=true)
Telecide(order=1,guide=1)
Decimate(cycle=5, mode=2)
changefps(29.97)
LanczosResize(720,480)





Is airtrial6HUFFY the name of the file u want to script??


yes ive just copy pasted it. This is the error I get :3

http://img291.imageshack.us/my.php?image=errorem3.jpg
Moderator
7080 cr points
Send Message: Send PM GB Post
24 / F / United Kingdom -...
Offline
Posted 11/30/08

Meowsa wrote:


Lovely-Complex wrote:



The guide is clear but because I have no knowledge of this stuff whatsover, I don't know the really dumb, simple details.
I think it's my VirtualDubMod that isn't working but just incase, here is the script.


AVISource("C:\Users\Missa\Desktop\Air\airtrial6HUFFY.avi")
converttoyv12(interlaced=true)
Telecide(order=1,guide=1)
Decimate(cycle=5, mode=2)
changefps(29.97)
LanczosResize(720,480)





Is airtrial6HUFFY the name of the file u want to script??


yes ive just copy pasted it. This is the error I get :3

http://img291.imageshack.us/my.php?image=errorem3.jpg


In the error it says basically u dont have the plugin in the 3rd line which is Telecide.
so write this down.

AVISource("C:\Users\Missa\Desktop\Air\airtrial6HUFFY.avi")
converttoyv12(interlaced=true)
Decimate(cycle=5, mode=2)
changefps(29.97)
LanczosResize(720,480)

Moderator
35171 cr points
Send Message: Send PM GB Post
28 / M / Lurking
Offline
Posted 11/30/08

Meowsa wrote:


Lovely-Complex wrote:



The guide is clear but because I have no knowledge of this stuff whatsover, I don't know the really dumb, simple details.
I think it's my VirtualDubMod that isn't working but just incase, here is the script.


AVISource("C:\Users\Missa\Desktop\Air\airtrial6HUFFY.avi")
converttoyv12(interlaced=true)
Telecide(order=1,guide=1)
Decimate(cycle=5, mode=2)
changefps(29.97)
LanczosResize(720,480)





Is airtrial6HUFFY the name of the file u want to script??


yes ive just copy pasted it. This is the error I get :3

http://img291.imageshack.us/my.php?image=errorem3.jpg


Search your plugin file, do you have a file named TIVTC.dll?
Moderator
67850 cr points
Send Message: Send PM GB Post
F / Japan
Offline
Posted 11/30/08 , edited 11/30/08

Lovely-Complex wrote:


Meowsa wrote:


Lovely-Complex wrote:



The guide is clear but because I have no knowledge of this stuff whatsover, I don't know the really dumb, simple details.
I think it's my VirtualDubMod that isn't working but just incase, here is the script.


AVISource("C:\Users\Missa\Desktop\Air\airtrial6HUFFY.avi")
converttoyv12(interlaced=true)
Telecide(order=1,guide=1)
Decimate(cycle=5, mode=2)
changefps(29.97)
LanczosResize(720,480)





Is airtrial6HUFFY the name of the file u want to script??


yes ive just copy pasted it. This is the error I get :3

http://img291.imageshack.us/my.php?image=errorem3.jpg


In the error it says basically u dont have the plugin in the 3rd line which is Telecide.
so write this down.

AVISource("C:\Users\Missa\Desktop\Air\airtrial6HUFFY.avi")
converttoyv12(interlaced=true)
Decimate(cycle=5, mode=2)
changefps(29.97)
LanczosResize(720,480)


It gives me the same error but this time with Decimate :3 should I remove that too ? and then once that's done I crop from that file, compress and save?
Sorry for all the help I've asked from you on this issue hehe
Moderator
7080 cr points
Send Message: Send PM GB Post
24 / F / United Kingdom -...
Offline
Posted 11/30/08

Meowsa wrote:


Lovely-Complex wrote:


Meowsa wrote:


Lovely-Complex wrote:



The guide is clear but because I have no knowledge of this stuff whatsover, I don't know the really dumb, simple details.
I think it's my VirtualDubMod that isn't working but just incase, here is the script.


AVISource("C:\Users\Missa\Desktop\Air\airtrial6HUFFY.avi")
converttoyv12(interlaced=true)
Telecide(order=1,guide=1)
Decimate(cycle=5, mode=2)
changefps(29.97)
LanczosResize(720,480)





Is airtrial6HUFFY the name of the file u want to script??


yes ive just copy pasted it. This is the error I get :3

http://img291.imageshack.us/my.php?image=errorem3.jpg


In the error it says basically u dont have the plugin in the 3rd line which is Telecide.
so write this down.

AVISource("C:\Users\Missa\Desktop\Air\airtrial6HUFFY.avi")
converttoyv12(interlaced=true)
Decimate(cycle=5, mode=2)
changefps(29.97)
LanczosResize(720,480)


It gives me the same error but this time with Decimate :3 should I remove that too ?


Dont, put telecide back.... and search for ur that u have the plugin file.. did u install AMVapp??
Moderator
35171 cr points
Send Message: Send PM GB Post
28 / M / Lurking
Offline
Posted 11/30/08 , edited 11/30/08


Read my above comment, that will tell you if you have the plugin and then l can help you.
Moderator
7080 cr points
Send Message: Send PM GB Post
24 / F / United Kingdom -...
Offline
Posted 11/30/08


Hey Mel I've finished scripting your amv, I hope you like it. Btw some of the black bars are still there but it isnt too noticable, it was wierd to me. Maybe Shaun can do a better job :D

Before:


After:

First  Prev  1  2  Next  Last
You must be logged in to post.