After helping Louchan out with a few problems she was having with making gifs, I realized that there are probably a lot of people who just run .mp4/mkv files through GUI encoders to produce .avi files to get VDub to recognize them. Videos come out in poor quality and thus the gifs that are made from them are also of poor quality, all after spending possibly hours just to wait for the encode to finish. This process is time consuming and tedious, and only gives you grain-y gifs to produce.
The goal of this thread is to help make the process of getting VDub to recognize your .mkv files not only faster and more streamlined, but also to allow you to produce .gifs that are of quality almost equal to the original file.
Fo examples of this, here are Louchan's gifs from before and after she followed this walk-through. Before is on the left, after is on the right.
Here are the 7 steps to do this.
: Just to keep this walk-through simple, download Mawaru Penguindrum ep 1
from gg, if you haven't already (in which case shame on you, it's a FABULOUS
show). Of course, you can use whatever file you want if you can keep up.
Download CCCP codec pack
. The point of doing this is to make sure your computer set up is as close to mine as possible and that you don't have any settings out of wack or missing that will prevent VDub from recognizing your .avs file (more on that later).
Download the program avisynth
. It's normally used for direct encoding (it's actually the program that fansubbers use), but for our purposes you don't have to worry about any of that. The program has no GUI so you won't see an icon or anything for it. It works in the background. Don't worry about that though, just know that it works.
Open up a .txt file using notepad.
Put this command in the .txt file: DirectShowSource("location of file")
For instance, my command would look like this: DirectShowSource("C:\Users\Suzuku\Downloads\Otaku\ Anime\Mawaru Penguindrum\[gg]_Mawaru_Penguindrum_-_01_[B8C345E7].mkv")
Now save and close the .txt file. Just to keep the process close to mine, name the file penguidrum.txt.
Convert the .txt into .avs. In case you don't know how to do this, just replace .txt with .avs in the file name, so the file should now be called penguindrum.avs. A warning will pop up saying "renaming file names could corrupt the file blahblahblah". Disregard it. The icon should now turn into a little paper with a filmstrip going over it, as opposed to the usual .txt icon.
Now, open VDub, go to 'open file' as you usually do, open the .avs you just made, and voila, after a bit of loading all the frames should show up on VDub without you having to actually convert it. From here you can just do what you normally do.
What avisynth does is fool programs like VDub into thinking files are .avi, so you don't have to waist time and quality converting files into different formats. Of course, it's a much more powerful program and can do a lot more amazing things with videos than what we're using it for here, but like I said, you need not worry about that unless you want to pick up learning how to encode in your spare time. Well, if you ever do want to learn how to encode, you'll have the foundation for it already set.
Hope this helped.