Log in

View Full Version : Funny locking Comptest - 154%


patrik j
11th January 2004, 12:38
I´m trying to encode the french film "Time Out" (PAL 16:9) with Xvid(24062003-1) and GK 0.28.7(no problem before)
The Xvid settings I use are from Snowbeach's guide. I want to fit this 128 min.film on a 99min CD so I set the the total size to 865Mb it gives a average bitrate of 873 kBit/s (using Ogg audio)

With the resolution 608/320 I get the Bits/(Pixel*Frame) 0.180 and the comptest results in 154% of 0.116
Thought it might be something wrong with the d2v file so I made a new, but it gave the same result in the comptest.

What could be wrong? Please help me out. Below you find my Compcheck.avs and GK Compcheck.log


#
# Created with Gordian Knot
#
# http://gknot.doom9.org
#
# PLUGINS
LoadPlugin("C:\Program\GORDIA~1\mpeg2dec3.dll")
LoadPlugin("C:\Program\GORDIA~1\undot.dll")
#LoadPlugin("C:\Program\GORDIA~1\decomb.dll")
#LoadPlugin("C:\Program\GORDIA~1\KernelDeInt.dll")
#LoadPlugin("C:\Program\GORDIA~1\dgbob.dll")
#LoadPlugin("C:\Program\GORDIA~1\Convolution3d.dll")
#LoadPlugin("C:\Program\GORDIA~1\FluxSmooth.dll")
#LoadPlugin("C:\Program\GORDIA~1\TomsMoComp.dll")
#LoadPlugin("C:\Program\GORDIA~1\VSFilter.dll")
#LoadPlugin("C:\Program\GORDIA~1\SimpleResize.dll")
#
# SOURCE
mpeg2source("F:\Time Out\VIDEO_TS\Time Out.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(10,20,700,536)
#
# 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(608,320)
#
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)

...................................................

2004-01-10 19:19:54: Job " 2" started.


Gordian Knot -
Encoding Job Data:

Type: EncXvid_First
Number: 20
Name: 2
Platform: WinXP (5.1.2600).2

Files:
VirtualDubModExe: C:\Program\AutoGK\VDubMod\VirtualDubMod.exe
NandubExe: C:\Program\GORDIA~1\nandub\Nandub.exe
AviFinal: C:\Program\GORDIA~1\_.avi
AviMovie: C:\Program\GORDIA~1\__Movie.avi
AviCredits: C:\Program\GORDIA~1\__Credits.avi
MovieFS: C:\Program\GORDIA~1\LastCompCheck.avs
CreditsFS:
Log : F:\Time Out\VIDEO_TS\Time Out_5_perc_Xvid_LanczosResize_608x320.stats
Stats:
Ecf :
This is a Compressibility Check:
Resolution: 608 x 320

19:19:54: Audio 1, calc: 58461 kb
19:19:54: Audio 1, disabled, no recalc. - you probably want to add this track later.

Adding this script to C:\Program\AutoGK\VDubMod\LastJob.vcf :

// $job "Xvid - First Pass"
// $input "C:\Program\GORDIA~1\LastCompCheck.avs"
// $output "C:\Program\GORDIA~1\_.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("C:\\Program\\GORDIA~1\\LastCompCheck.avs",0,0);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAXHZpZGVvZ2suc3RhdHMAAC4AcwB0AGEAdABzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAABAnAAAQJwAAAQAAAAEAAAAAAAAAAAAAAAAAAADPAAAAAAAAAAAAAAA=");
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\Program\\GORDIA~1\\_.avi");
VirtualDub.Close();

// $endjob
//
//--------------------------------------------------
// $done

19:19:54: Started Xvid - First Pass: C:\Program\GORDIA~1\LastCompCheck.avs
19:35:52: Finished Xvid - First Pass: Duration: 15 minutes, 58 seconds.
19:35:52: Trying to open Log-file.
19:35:52: Success: Log-file open.
19:35:52: Encoded: 9617 Frames.
19:35:52: Speed: 10.035 Frames per Second.

19:35:52: Done.
19:35:52: Log File = F:\Time Out\VIDEO_TS\Time Out_5_perc_Xvid_LanczosResize_608x320.stats
Total Encoding Time: 15 minutes, 58 seconds.
2004-01-10 19:35:52: Job " 2" finished.

hakko504
11th January 2004, 15:09
Nothing wrong per se with that: you just have to choose a larger resolution (640xyyy, 704xzzz(change crop!)). Or remove Undot. It doesn't look like you need any filtering on this source as it si quite compressible anyway.

patrik j
11th January 2004, 18:24
Thanks for the reply

I guess I paid to much attention on Bits/(Pixel*Frame) value and the bitrate. But this is my first experience of
such a highly compressible movie. For the last week I been struggling with a couple of 2 hours movie
that have hardly fit on 99min CD:s.

I made another comptest:
1 CD (700Mb), average bitrate 566 kBit/s (never been so low) using AC3 sound(size 176Mb)
resolution 688/368 (cant go any higher, W-zoom 99%)
Bits/(Pixel*Frame) 0.089 ( not recommended in any guide) Comptest = 81,2%

Please explain: "Remove Undot" and "need any filtering"(should I even skip resize filter, if so how do I disable in GK)

hakko504
12th January 2004, 09:11
Remove Undot:
Put a # in front of the line that say's undot in the .avs file. Or just remove it completely. The .avs should look like this:LoadPlugin("C:\Program\GORDIA~1\mpeg2dec3.dll")
LoadPlugin("C:\Program\GORDIA~1\undot.dll")
mpeg2source("F:\Time Out\VIDEO_TS\Time Out.d2v")
crop(10,20,700,536)
LanczosResize(688,368) 'need any filtering': Well I meant the Undot in your case, but one could also use anything in the scetion 'DENOISING' of the GK .avs. its/(Pixel*Frame) 0.089 (not recommended in any guide) Comptest = 81,2%Actually, the bpp value is and should only be used to find a good starting point for the first compression test. After that you can completely forget the bpp value and only look at what compression ratios (%) you get. And 81% sound like you'll get a very nice looking video. To skip resizing you can set the input aspect ratio to 1:1 in GKnot. In any case I'd recommend that you try to find a crop that is 704 wide and use that instead for the final resolution width. You'll find that you save time by only resizing in one direction. (you need to disable autocrop and find the correct crop values yourself to make this work)

patrik j
12th January 2004, 11:03
After the comptest (se above) I went on with the encoding during the night.
The result vas flawless. If you look at the comptest the only figure that looks normal is the comptest procent.
This is a 2houre movie with 2ch AC3 sound that icily fit on a
single 700Mb CD.
I will make another encoding following Hakko504 recommendations.
Thanks for the guiding………….”comptest rules”