Log in

View Full Version : VirtualDub and XviD!


Vesi
20th January 2008, 11:53
I want to learn how to use XviD and VD? for 2 CD and 1CDrips?

O. After I make my D2V with DGIndex, how I do the rest?

O. as I never used VD with XviD...I don't know from where to start?

Thanks in Advance.

DJ Bobo
20th January 2008, 14:12
As a newbie, you should be sticking to the Doom9 guides, but well here a small overview that doesn't involve GordianKnot:
1) After making the D2V, you'll create an avisynth script. The script will look like this:
LoadPlugin("dgdecode.dll")
MPEG2Source("project_name.d2v")
etc
2) You then load the avs script in VirtualDub (Ctrl+O) and set up the compression (Ctrl+P).
The bitrate can be calculated with the tool that comes with XviD (somewhere under Start - Programs - XviD). You specify the number of CDs, the targeted audio bitrate or size, and that will calculate the XviD bitrate for you.
3) If you're not leaving the audio in the original Dolby Digital form, you'll have to encode it with BeLight for example, and then mux it with the encoded avi file.

That's about it.
And don't forget to :readguid:

Good luck :)

Vesi
20th January 2008, 14:44
Thank you so much DJ Bobo. I will try as you said, hpefuly I can do it, as it is my first time to use XviD and VD.

I have tried to look for the guides, I couldn't find such a guide fro XviD and VD...all guides they are involve with other soft. If you know which guide will help me please let me know.

Vesi
20th January 2008, 16:46
DJ Bobo:
Here is my script I made..
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\dgdecode.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RemoveGrain.dll")
MPEG2Source("C:\Documents and Settings\vesi\Desktop\Test\Test.d2v")
tfm(order=1).tdecimate()
Crop(2, 56, -2, -56)

LanczosResize(672,288) # Lanczos4 (Sharp)
removeGrain(mode=3)
LimitedSharpenFaster()
Tweak(sat=1.2,cont=1.1)
I save it as Test.avs

Now when I use button Ctrl+O my script get loaded in VD, and whe I use Ctrl+P I get this...
http://maxupload.com/img/837AB86E.jpg

From here I don't know how to do the rests and add the jobs.

Help appreciate it...thanks in advance

mitsubishi
20th January 2008, 17:19
Click "configure" and set your options, you can set desired size, length and how big your audio is (you can select the audio file so it can see) and it will calc the bitrate to use.

You should go to "stream list" and add the audio if you want it to mux it in while it is encoding.

Vesi
20th January 2008, 20:19
Thanks mitsubishi, as you said I have chose XviD MPEG-4 Codec and click on config I get this
http://maxupload.com/img/644FD08D.jpg
Now I don't know how to continue from here and add the job ect ect...I am doing a test now with 58 sec runtime, not full rip ...am I missing with something or something with my VD and XviD setting.

O. do I need to chose different option for short run time then full rip?

Thanks in advance!

mitsubishi
20th January 2008, 21:37
Well if you are doing a 1 min clip you don't really want to calculate the bitrate based on it filling a CD, but you can use the bitrate calculated for the full file.


First, go to "stream list" and add audio if needed.

Then goto "Save as".

Check "don't run now, add to job list"

(check segment if you want it spilt)

change video mode to "fast recompress"

Click change and select Xvid>configure.

Select "home" profile if you want it to work in a Xvid Set-top player.

Choose "Two pass - First Pass"

OK > OK > Save

Now Save as again and go back into the configure, changing to second pass.

Either enter a target size here or choose bitrate and calc if you have audio. Enter correct length and choose size for audio and open it to get the file size.

OK > OK > Save

File > Job Control > Start

Vesi
21st January 2008, 15:29
I tried with Complete movie.
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll")
MPEG2Source("C:\Documents and Settings\vesi\My Documents\MyRips\Test.d2v")
tfm(order=1).tdecimate()
Crop(6, 76, -4, -68)
LanczosResize(640,272) # Lanczos4 (Sharp)
removeGrain(mode=3)
LimitedSharpenFaster()

1. I keep it to farst recompress and load the script by Ctrl+O..I got my avs loaded in VD.

2. and set up the compression by (Ctrl+P)... I get this
http://maxupload.com/img/837AB86E.jpg
and chose the MPEG-4 Codec.

3. I click on config I got this...
http://maxupload.com/img/644FD08D.jpg
I chose the Twopass 1th pass.

Ok>Ok I din't find any button to save.

4. Than back to configure Twopass 2th pass and desired size length and caculate everything, than Click on ok>ok as in the above pictrue...
http://maxupload.com/img/D8B08291.png

5. when i click on job list to see the jobs list is empty...I relay don't understand what i'm doing wrong... I have trid to find any save button but i didn't. Now I'm relay :confused:
http://maxupload.com/img/441DB828.png

O. And what means Fast recompress, Normal recompress and Full prosseing mod? and what they do?

Thanks in advance...

mitsubishi
21st January 2008, 15:44
Rather than going to Compression(ctrl+p), go to save(F7). Then the "change" button is the same dialogs that come up. Then goto "Save as".

Check "don't run now, add to job list"

(check segment if you want it spilt)

change video mode to "fast recompress"

Click change and select Xvid>configure.

Fast Recompress just takes the decoded video frame as is it and passes it to the encoder. Normal recompress changes the colour space, which isn't needed here, Full processing mode passes the video frame to Virtual Dubs own internal filters to do what ever processing you set up.

Vesi
21st January 2008, 16:26
Now when I click on (F7) nothing happen. I am using Logitech keyboard, is that because of it?

mitsubishi
21st January 2008, 16:35
Ah yes, that is Vdub, not Vdubmod.

You will have to first go to compression options for each pass, then go to "file">"save as Avi"

Vesi
21st January 2008, 16:39
Man you got me killed almost after trying alot where the hell is these buttons.:)

Now I will try as you said...