View Full Version : Xvid 1.0 final and slow 2nd pass video rendering rate....
Soloist Gr
27th May 2004, 22:54
.....Hi there. I'using XviD(by Koepi) for almost 4 years.But what i noticed is that when every new vesrion came out,the video rendering rate was slowing down.You will say that's totally normal since "goodies" like trellis,chroma motion etc where added.And we reach XviD 1.0 final.With an AthlonXP 1600+ i get ~20-22 fps during the first pass.But in the second pass i only get ~6-7 fps. I even get 0 fps (this lasts for 2-3 seconds) once a while. Is it normal? I used various combinations (trellis off,vhq off,bframes off,all "goodies" off) but still the video rendering rate still at ~6-7 fps.On the contrary,when using DivX 5.11 i get ~20 fps during the first and the second pass.Any suggestions are welcome. Thanks in advance.
Manao
27th May 2004, 23:04
It's definitely not normal. Could you tell us the preprocessing you're using ( avisynth script ? ) and the resolution you're encoding to ?
Also, is there really no difference at all when changing vhq from 0 to 4 ? I even get 0 fps (this lasts for 2-3 seconds) once a whileIf you're using VDubMod 1.5.10.1, come back to version 1.5.4.1, you won't have that problem anymore. But it won't solve the speed issue.
Soloist Gr
27th May 2004, 23:33
I use the avs script automatically generated from GordianKnot 0.28.8 . For example here is the avs script for "LOTR-TheReturnOfTheKing"
--------------------------------------------------------------
#
# Created with Gordian Knot
#
# http://gknot.doom9.org
#
# PLUGINS
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec3.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\undot.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\decomb.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\KernelDeInt.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\dgbob.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\Convolution3d.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\FluxSmooth.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\TomsMoComp.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\VSFilter.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\SimpleResize.dll")
#
# SOURCE
mpeg2source("G:\Movies\LOTR-TheReturnOfTheKing\LOTR-TheReturnOfTheKing.d2v")
#
# TRIM
#trim(startframe,endframe)
#
# IVTC
#Telecide(order=1,guide=1).Decimate()
# or use
#IVTC(44,11,95)
#GreedyHMA(1,0,4,0,0,0,0,0)
#
# CROPPING
crop(0,76,718,420)
#
# DEINTERLACING (1)
#FieldDeinterlace()
#FieldDeinterlace(blend=false)
#TomsMoComp(1,5,1)
#
# DEINTERLACING (2)
#KernelDeInt(order=1,sharp=true)
# or maybe
#DGBob(order=1,mode=0)
# DEINTERLACING (3) - special requests
#GreedyHMA(1,0,0,0,0,0,0,0)
#Telecide()
#SeparateFields()
#
#
# SUBTITLES
#VobSub("FileName")
#
# RESIZING
LanczosResize(720,352)
#
Undot()
#
# DENOISING: choose one combination (or none)
# 1) little noise
#Temporalsoften(2,3,3,mode=2,scenechange=6)
#mergechroma(blur(1.3))
#FluxSmooth(5,7)
#
# 2) medium noise
#Temporalsoften(3,5,5,mode=2,scenechange=10)
#Convolution3d("moviehq")
#FluxSmooth(7,7)
#
# 3) heavy noise
#Temporalsoften(4,8,8,mode=2,scenechange=10)
#Convolution3d("movielq")
#FluxSmooth(10,15)
#
# BORDERS
#AddBorders(left,top,right,bottom)
#
# COMPRESSIBILITY CHECK
# !!!!Snip Size now has to be 14 for use in GKnot!
#SelectRangeEvery(280,14)
#
# FOOL CCEnc
#empty = BlankClip()
#AudioDub(last,empty)
---------------------------------------------------------------
The only i thing i alter is the Input Aspect Pixel Ratio to 1.2
when the movie has resolution less than 720x352.
Manao
28th May 2004, 00:33
I did a small test, with an Athlon XP 2000+, and a script like yours ( lanczos(704,352), undot() ):
* With all "goodies" ( Qpel, GMC, AQ, BF 2,1.5,1, Treillis, CM, VHQ4, SP 6 ) : around 5-6 fps
* With all "goodies" except VHQ0 : around 9-11
* With all goodies disabled, VHQ4 : around 7-8 ( no bframes, hence huge slowdown from vhq4 )
* With all goodies disabled, VHQ0 : around 25 fps
So VHQ does have a great impact on the speed.
However, I wonder. You say you're using GK. But XviD 1.0 was known to create issue with GK. I know it's not the case with GK 0.28.8, but I read on the GK thread that someone was having trouble with XviD's registry settings after installing XviD 1.0RC4 over a pre-beta build. I don't use GK myself, so I can't check, but could you try to set up and launch the same test without using GK, but VirtualDub itself ?
Magno
28th May 2004, 00:48
I own the same Athlon XP 1600+ Soloist Gr has, and i get 20~22 fps in the first pass (with Trellis, Adaptative quantization, 2 BVops, VHQ=4) using that AVS he uses, but i get 11~12 fps in the second pass, which is very reasonable.
Maybe 6~7 fps is too slow, but i don't think it is a big problem to worry about. :D
Pen-Pen
28th May 2004, 07:29
I have an AMD XP 2000+ and I have similar encoding speeds (some additionnal fps though, according to the CPU difference)... don't worry, it's perfectly normal...
don't forget your resolution is quite high too... you'll get a boost if you resize to 512xXXX (but I would never change any settings to get faster encodes, as far as I'm concerned ;))
Soloist Gr
28th May 2004, 08:23
To Manao:
I use Gordian Knot only to create the avs script and to calculate the bitrate.Then i use VDubMod to compress my video.
P.S. In the background i'm compressing LOTR-TheReturnOfTheKing. At the 2nd pass (37%) it showed ~2-3 fps video rendering rate two minutes ago.Now it shows ~7-9.
Soulhunter
28th May 2004, 19:14
Dont forget that VHQ is disabled in the 1st pass !!!
Only with "full quality 1st pass" VHQ is enabled... ;)
Maybe it explains why the 1st pass was much faster ???
Bye
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.