PDA

View Full Version : [Video] VirtualDub - Compression, Resizing & Mirroring filters



Sukisho
09-06-2010, 01:45 AM
VirtualDub
Compression and Resize/Mirroring filters Tutorial.
--

Here's a few things that Vdub is useful for which I use often in most of my productions.

Compression
This is the main thing that I use Vdub for with all of my productions. It helps to cut the file size while still maintaining decent quality in both Audio and Video.

First in whatever program you are using to mix with, you want to export your final project as high quality Audio only. Like in Sony Vegas, as I use, you will go to file > Render as. Then from there choose the type as an MP3. After which click on custom so that you can make sure you get the highest quality possible for your audio.

http://www.voice-acting.net/tutorial/Vdub/Vegas01.png

I made a Template for it in mine saved as HQ Audio with the settings seen here so I don't have to select everything every time.

http://www.voice-acting.net/tutorial/Vdub/Vegas02.png
-Quality set to highest on the slider
-You choose whatever option for the audio that you wish (mine was already set at Joint Stereo, so I just left it)

And that's pretty much it there. Just save the file out now.


Now first thing with Vdub is to make sure your video files ARE Avis, as that seems to work best with Vdub. If you don't have an AVI then don't worry, just go check out my Conversion Tutorial (http://voiceactingalliance.com/board/showthread.php?t=50521) on how to keep the quality of the current video and change the format.


Next open up Vdub, and bring in your video file and then go to the audio menu and click "Audio from another source"
http://voiceactingalliance.net/tutorial/Vdub/VDub01.png

Go back to the audio menu and at the bottom click on Full Processing mode
http://www.voice-acting.net/tutorial/Vdub/VDub02.png
and return to the audio menu once more and click on the newly opened option of Compression.

http://www.voice-acting.net/tutorial/Vdub/VDub04.png
Choose MPEG Layer-3 with a 48 kBit/s, 22,050 Hz, Stereo (or mono) setting, and then click okay.

http://www.voice-acting.net/tutorial/Vdub/VDub06.png
Now that the audio is set up, head on over to the video menu and hit Compression there. I usually choose XviD MPEG-4 Codec from the list and then hit config.

http://www.voice-acting.net/tutorial/Vdub/VDub07.png
Now to retain highest quality you'll want to have the slider set to 1.00 (I usually push it up to 3.00 myself), you may wish to adjust it to fit your own personal likes. Click okay (twice), and then file and "Save AVI as" now wait till it's done! You should then have a fairly smaller file then you would if you say rendered directly with something like Sony Vegas.


Re-sizing
If you're video is a freakishly huge resolution (like 1280 x 720 or something) then you may want to think of resizing the video. With Vdub that's a breeze!

http://voiceactingalliance.net/tutorial/Vdub/VDub10.png
Open the file up then go to the video menu and say Filter. Click the add button and apply 2:1 reduction (high quality), which will bring the video size down by half the original and click okay (twice). At times that may still be pretty big, but you can just add the same filter again and it will reduce it even more if you desire.

Of course, make sure to have some kind of Video Compression selected (see above) or else you'll get a raw video in some kind of Gigabytes when you go to save it and that’s no fun.


Mirror
This is another one that I use once in awhile, as well as many other people have been finding useful. If you are wondering how to reverse the image of your video aka Mirror it, then all you do is go up to the Video menu and Choose filter and add a "Flip Horizontally" then viola!

http://www.voice-acting.net/tutorial/Vdub/VDub08.png
http://www.voice-acting.net/tutorial/Vdub/VDub09.png

This is a useful technique when uploading things to shared video sites like Youtube, that may help avoid copyrights for awhile (but nothing is perfect as they may still find it). If you really want it secure then I’d suggest you get your own webspace and learn to make streams of your own (http://voiceactingalliance.com/board/showthread.php?t=58491).