Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 ASP

Reply
 
Thread Tools Display Modes
Old 27th May 2004, 22:54   #1  |  Link
Soloist Gr
Registered User
 
Join Date: May 2004
Posts: 3
Xvid 1.0 final and slow 2nd pass video rendering rate....

.....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.
__________________
God is real, unless declared integer.
Soloist Gr is offline   Reply With Quote
Old 27th May 2004, 23:04   #2  |  Link
Manao
Registered User
 
Join Date: Jan 2002
Location: France
Posts: 2,760
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 ?
Quote:
I even get 0 fps (this lasts for 2-3 seconds) once a while
If 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.
Manao is offline   Reply With Quote
Old 27th May 2004, 23:33   #3  |  Link
Soloist Gr
Registered User
 
Join Date: May 2004
Posts: 3
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.
__________________
God is real, unless declared integer.
Soloist Gr is offline   Reply With Quote
Old 28th May 2004, 00:33   #4  |  Link
Manao
Registered User
 
Join Date: Jan 2002
Location: France
Posts: 2,760
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 ?
Manao is offline   Reply With Quote
Old 28th May 2004, 00:48   #5  |  Link
Magno
Registered User
 
Join Date: Feb 2003
Posts: 72
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.
Magno is offline   Reply With Quote
Old 28th May 2004, 07:29   #6  |  Link
Pen-Pen
Misato's Penguin
 
Pen-Pen's Avatar
 
Join Date: Jul 2002
Location: Tokyo-3
Posts: 110
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 )
Pen-Pen is offline   Reply With Quote
Old 28th May 2004, 08:23   #7  |  Link
Soloist Gr
Registered User
 
Join Date: May 2004
Posts: 3
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.
__________________
God is real, unless declared integer.
Soloist Gr is offline   Reply With Quote
Old 28th May 2004, 19:14   #8  |  Link
Soulhunter
Leaker!
 
Soulhunter's Avatar
 
Join Date: Apr 2003
Location: Unknown
Posts: 2,773
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
__________________

For my stuff: My crappy Website (back online) - or - #Videots-United


Soulhunter is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT +1. The time now is 20:04.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.