Digital Video Forums  

Go Back   Digital Video Forums > Video File Formats > AVI, DivX/Xvid

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 4 Jan 2003, 07:53 AM   #1
Member
Member
 
HDRed's Avatar
 
Join Date: Dec 2002
Posts: 52
Default Dual-Pass in VirtualDub?

Is it possible to do dual-pass encoding in VirtualDub without using a GUI like GordianKnot?

How?
HDRed is offline   Reply With Quote
Old 4 Jan 2003, 08:05 AM   #2
Digital Video Technician
Digital Video Technician
 
Join Date: Nov 2001
Posts: 462
Default

Yes...but you will have to set up the encoder.Say for instance you are going to use Xvid, I suggest you read some articles at www.doom9.org/xvid.htm

Use GKnot to create the AVISynth Script (.avs)
gs0666 is offline   Reply With Quote
Old 4 Jan 2003, 08:10 AM   #3
khp
The Other
 
khp's Avatar
 
Join Date: Nov 2001
Location: Online
Posts: 2,161
Default

Yes ofcourse.

Load the avs file (or whatever source you are using) into virtualdub, set video compression to divx5 2-pass first pass. Save and encode.
Wait until it's done, and repeat the same procedure, but select 2-pass second pass in the divx5 configuration.


You can also use virtualdubs batch job processing, to do this, just check 'add to job list and defer processing' in the 'save avi' menu. And select File->'Job control' when you have configured both passes.
__________________
Donate your idle CPU time for something usefull.
http://folding.stanford.edu/
khp is offline   Reply With Quote
Old 4 Jan 2003, 08:27 AM   #4
Member
Member
 
HDRed's Avatar
 
Join Date: Dec 2002
Posts: 52
Default

Ok, sounds easy enough - thanks!

I'm still working the kinks out of this frameserving stuff.

I still haven't been able to get the output quality of flask 0.78.39 from virtualdub (sharper, but some artifacting in the latter).

Flask is just so smooth and clean...oh well, Rome wasn't conquered in a day.
HDRed is offline   Reply With Quote
Old 4 Jan 2003, 10:09 AM   #5
Old member
 
Join Date: Feb 2002
Posts: 5,417
Default

Quote:
I'm still working the kinks out of this frameserving stuff.
Has your AVS file loaded successfully in Virtual/nandub?
Enchanter is offline   Reply With Quote
Old 4 Jan 2003, 10:18 AM   #6
Member
Member
 
HDRed's Avatar
 
Join Date: Dec 2002
Posts: 52
Default

Quote:
Originally posted by Enchanter
Has your AVS file loaded successfully in Virtual/nandub?
Yes! (Why do people call it Virtual/nandub when they're two different programs? I never understood that...)

Anyway, it loads into VirtualDub just fine. I'm running a first pass now with an estimated total time of 6 hours and a few minutes - I think that convolution3D is adding all those hours like you said.

It's cool writing scripts - really kinda fun. I just write the script out and I can preview it in WMP8 before i load it into VirtualDub just to see how it looks.

This is my script file that I'm using:
#
# Created with Gordian Knot
#
# http://thewef.nav.to
#
# PLUGINS
# get them from http://users.win.be/dividee
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\decomb.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\InverseTelecine.dll")
LoadPlugin("C:\Rip Tools\Avisynth Plugins\Convolution3D.dll")
LoadPlugin("C:\Rip Tools\Avisynth Plugins\MSharpen.dll")
LoadPlugin("C:\Rip Tools\Avisynth Plugins\lanczos3.dll")
#
# SOURCE
mpeg2source("C:\Files\DVD Rips\Stir_Of_Echoes\VIDEO_TS\d2a\SOE_D2A.d2v")
#
# TRIM
#trim(startframe,endframe)
#
# IVTC
Telecide()
Decimate(cycle=5)
# or use
#InverseTelecine(40,10,15)
#GreedyHMA(1,0,4,0,0,0,0,0)
#
# DEINTERLACING (1)
#FieldDeinterlace()
#
# CROPPING
crop(0,4,718,470)
Convolution3D (0, 3, 4, 3, 4, 2.8, 0)
#
# DEINTERLACING (2)
#VerticalReduceBy2
# or maybe
#GreedyHMA(1,0,0,0,0,0,0,0)
#
#
# SUBTITLES
#VobSub("FileName")
#
# RESIZING
LanczosResize(592,320,0,0.75)
#
# DENOISING: choose one combination (or none)
# 1) little noise (fast)
#TemporalSmoother(2,1)
#
# 2) medium noise (slow)
#SpatialSoftenMMX(1,4,6,false,false,4,4,6,8)
#TemporalSmoother(2)
#
# 3) heavy noise (very slow, you have been warned)
#SpatialSoftenMMX(2,4,6,false,false,4,4,6,8)
#TemporalSmoother(3)
#SpatialSoftenMMX(1,4,6,false,false,4,4,6,8)
#
# BORDERS
#AddBorders(left,top,right,bottom)
#
# COMPRESSIBILITY CHECK
# !!!!Snip Size now has to be 14 for use in GKnot!
#SelectRangeEvery(280,14)
#
# FOOL CCEnc
#ResampleAudio(44100)

I'm using the VirtualDub filter "MSharpen 1.0" also, with sharpen set to 50 instead of the default 100 value but everything else at default.

Quick question - do I set the output to 16, 24, or 32bit? Will this affect filesize/quality much?
HDRed is offline   Reply With Quote
Old 4 Jan 2003, 11:12 AM   #7
Old member
 
Join Date: Feb 2002
Posts: 5,417
Default

Quote:
Quick question - do I set the output to 16, 24, or 32bit? Will this affect filesize/quality much?
I believe this only applies to the preview window. it's not going to have any effect on the output quality.

Now that you have discovered how fun it is to write scripts and how you can simply load them up into the encoder and set & go about the encoding right away, what do you think of DVD-2-DivX encoding now?
Enchanter is offline   Reply With Quote
Old 4 Jan 2003, 12:51 PM   #8
Member
Member
 
HDRed's Avatar
 
Join Date: Dec 2002
Posts: 52
Default

Quote:
Originally posted by Enchanter
I believe this only applies to the preview window. it's not going to have any effect on the output quality.

Now that you have discovered how fun it is to write scripts and how you can simply load them up into the encoder and set & go about the encoding right away, what do you think of DVD-2-DivX encoding now?
Well it's alot of fun, but it was still lots of fun even with Flask (which I haven't totally abandoned just yet).

There's just so much information to absorb, it'll take me awhile to understand everything.
HDRed is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




All times are GMT +10. The time now is 11:02 PM.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright © 1999 - 2018 Digital Digest

Visit DivXLand   Visit dvdloc8.com