Quantcast KVCD: can only Encode with CQ of 40? - digitalFAQ.com Forums [Archives]
  #1  
06-25-2003, 04:04 AM
kinggee kinggee is offline
Free Member
 
Join Date: Feb 2003
Location: Queensland, Australia
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to kinggee
hey guys hope you can help!

i'm trying to encode a 100 minute pal dvd rip onto one 80min cd
but when i use tok it encodes at CQ of 39.1!!!

why am i getting such a low CQ

Maximum bitrate is set to 2500 and minimum is set to 300, the audio is 128kb .mp2

here is my script, i am new to using avisynth and filters, i usually just load the templates into tmpgenc

## DLL Section ##
#
LoadPlugin("C:\Documents and Settings\Ben King\Desktop\kvcd encoding tools\filters25\MPEG2Dec3.dll")
LoadPlugin("C:\Documents and Settings\Ben King\Desktop\kvcd encoding tools\filters25\GripFit_YV12.dll")
LoadPlugin("C:\Documents and Settings\Ben King\Desktop\kvcd encoding tools\filters25\STMedianFilter.dll")
LoadPlugin("C:\Documents and Settings\Ben King\Desktop\kvcd encoding tools\filters25\asharp.dll")
LoadPlugin("C:\Documents and Settings\Ben King\Desktop\kvcd encoding tools\filters25\undot.dll")
#
####

## Defined Variables and Constants ##
#
MaxTreshold = 1.50
nf = 0 # Current frame.
#
####

## Main section and static filters ###
#
Mpeg2Source("c:\movies\robin_hood.d2v")
#
undot()
Limiter()
asharp(2, 4)
GripCrop(528,576)
GripSize(resizer="BicubicResize")
STMedianFilter(8, 32, 0, 0 )
MergeChroma(blur(MaxTreshold))
MergeLuma(blur(0.2))
#
#

## Linear Motion Adaptive Filtering ##
#
# ( Portions from AviSynth's manual ) - This will apply temporalsoften to
# very static scenes, and apply variable blur on moving scenes.
# We also assign a variable - and this is why a line break is inserted:

ScriptClip("nf = YDifferenceToNext()"+chr(13)+ "nf > 2.5 ? asharp( -(fmin((nf/30), 1)), 0 ) : \
TemporalSoften(2,7,7,3,2) ")

#
#
#

GripBorders()
#LetterBox( Your_Values_Here ) # Depends on situation. Use MovieStacker!
Limiter()

#
#
## Functions ###

function fmin(float f1, float f2) {
return (f1<f2) ? f1 : f2
}

#
####
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
06-25-2003, 04:16 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
With the motion adaptive script, it's not a bad thing to get such a low CQ value. It's not an absolute value for quality, CQ50 with a higher resolution may look better than CQ70 with a lower resolution. Examine the sample clip and you'll see if you like it or not.

However, you can try lowering the resolution to 480x576 or 352x576 and see how that comes out.
Reply With Quote
  #3  
06-25-2003, 06:11 AM
kinggee kinggee is offline
Free Member
 
Join Date: Feb 2003
Location: Queensland, Australia
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to kinggee
i watched the sample clip and the encode was very blurry and blocky, much worse quality than most vcd's. I've heard of people getting very good encodes with 100 minute movies on one cd and am wandering what they do!

any pointers guys??

thanks
Reply With Quote
  #4  
06-25-2003, 06:30 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
Looks to me that you'll just have to lower the resolution or use two discs. You could also post the ToK log file so we'll see if there's anything wrong with it.
Reply With Quote
  #5  
06-25-2003, 08:15 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kinggee
i watched the sample clip and the encode was very blurry and blocky, much worse quality than most vcd's. I've heard of people getting very good encodes with 100 minute movies on one cd and am wandering what they do!

any pointers guys??

thanks
Can you give us the length of the sample and the length of the audio file ? And if possible, copy the log of Tok.
Reply With Quote
  #6  
06-26-2003, 01:19 AM
kinggee kinggee is offline
Free Member
 
Join Date: Feb 2003
Location: Queensland, Australia
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to kinggee
hey guys, sorry for the late response!

the audio size is 91.4mg encoded with headache
the sample video size is 1.04mg

this is the Tok log file:

================================================== ===========
ToK Log: C:\Documents and Settings\Ben King\Desktop\kvcd encoding tools\robin_hood.avs
================================================== ===========

Resolution (fps):528x576 (25.000 fps)
Total Frames: 149831
Total Time : 01:39:53
-------------------------------------------------------------

Audio Size: 95,893,632
Required Video Size: 716,073,304

Factor: 60.000
Desired Sample Size: 11,934,556

-------------------------------------------------------------
New Faster Prediction
-------------------------------------------------------------

Full Sample
Next CQ: 70.000. Sample Size: 20,655,006
Small Sample
Next CQ: 70.000. Sample Size: 1,900,901
Predicting...
Next CQ: 40.446. Sample Size: 12,583,378
Next CQ: 29.568. Sample Size: 10,391,269
Next CQ: 36.117. Sample Size: 11,962,598

Exit Condition: 1.000 % reached ! yahoo !
Tries : 4


Final CQ: 36.117
Total Time For Predicition: 00:21:16

Total Time (all operations): 00:21:16

Finished

thanks for your help!
Reply With Quote
  #7  
06-26-2003, 04:32 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Okay...

It seems that you find the perfect example where Tok + PAL + New adaptative script leads to a complete disaster

See http://www.kvcd.net/forum/viewtopic.php?t=4614 and you will understand...
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
How to encode Kvcd with ac3 ? jorel Video Encoding and Conversion 10 04-04-2004 09:51 AM
Flashing Bar On KVCD Encode? Steel Video Encoding and Conversion 3 08-18-2003 11:40 PM
KVCD: what cq I could encode at? pixeldotz Video Encoding and Conversion 4 05-30-2003 02:07 PM
KVCD: how to encode 120 minutes on one cd? baker Video Encoding and Conversion 1 02-20-2003 06:24 PM
KVCD will take about 10 hrs to encode? ramon820 Video Encoding and Conversion 2 06-07-2002 01:01 AM

Thread Tools



 
All times are GMT -5. The time now is 04:08 AM  —  vBulletin © Jelsoft Enterprises Ltd