Quantcast KVCD Templates Manual Adjustments? - digitalFAQ.com Forums [Archives]
  #1  
02-01-2003, 10:15 AM
labomba labomba is offline
Free Member
 
Join Date: Jan 2003
Location: S.Paulo-Brasil
Posts: 185
Thanks: 0
Thanked 0 Times in 0 Posts
Hi guys!

For the first time, I trying to post a greeting message. I've been reading this forum for about five months and all I can say is: THIS PLACE ROCKS !! I'm having some troubles with that: my wife is furious with my few bedtimes and sometimes my job is replaced by these great threats. Let it be...
All troubles are compensated for the possibility to try and learn with you guys, really Wisards . With your hints and discussions, in very few time, I could undestand how make amazing encodes.
Yesterday, I finished and saw my 'Insomnia' copy with near DVD quality. A 118 min. film in 1 CD , and then my wife understood - maybe fow a while - why theses threats are so insteresting.
Maybe I spend a little of you time and ask few questions:
1.Why we have some parts of the film with a little more blurs and blocks than others, mainly in the low motions and dark scenes? Would I need to make some manual adjustments?.
2.You think that trying the filters a lot (Dust, Blockbuster, C3d, Temporal cleaner, etc) , and using all your hints, could I really eliminate the very few blur that exist in my encodes, or that's a point where none can rich?
Sorry for my bad english. I allways read better than I write!

LaBomba
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  
02-01-2003, 10:36 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hola LaBomba and welcome

You can try using Blockbuster "noise" method to see if it improves low lit scenes. You might want to start using SpaceDust() and TemporalCleaner() for (more) awesome encodes. Check the download section (link on main page www.kvcd.net ).

-kwag
Reply With Quote
  #3  
02-01-2003, 03:31 PM
labomba labomba is offline
Free Member
 
Join Date: Jan 2003
Location: S.Paulo-Brasil
Posts: 185
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks Kwag for you always fast reply.
I'm already using SpaceDust() and TemporalCleaner()... Listen, I'm a 'KVCD addict' a few months .

This is my script to win Insomnia (with the prediction() hint included!)
LoadPlugin("C:\Arquivos de programas\DVD2SVCD\MPEG2Dec\MPEG2DEC.dll")
LoadPlugin("C:\Arquivos de programas\DVD2SVCD\MPEG2Dec\legalclip.dll")
LoadPlugin("C:\Arquivos de programas\DVD2SVCD\MPEG2Dec\GripFit_preview.dll")
LoadPlugin("C:\Arquivos de programas\DVD2SVCD\MPEG2Dec\FluxSmooth.dll")
LoadPlugin("C:\Arquivos de programas\DVD2SVCD\MPEG2Dec\blockbuster.dll")
LoadPlugin("C:\Arquivos de programas\DVD2SVCD\MPEG2Dec\convolution3d.dll")
LoadPlugin("C:\Arquivos de programas\DVD2SVCD\MPEG2Dec\dustv5.dll")
LoadPlugin("C:\Arquivos de programas\DVD2SVCD\MPEG2Dec\TemporalCleanerOld.dll ")
LoadPlugin("C:\WINNT\System32\vobsub.dll")

Mpeg2Source("E:\INSONIA\VIDEO_TS\INSOMNIA.d2v")
#Prediction()

LegalClip()

GripCrop( source_anamorphic = false, width=528, height=480, crop_round_width=8 )
SpaceDust()
#FaeryDust()
#Convolution3D(preset="movieLQ")
Blockbuster(method="noise", variance=.5, seed=1)
#FluxSmooth()
TemporalCleaner()
GripSize()

GripBorders()
LetterBox(0, 0, 8, 8 )
vobsub("E:\INSONIA\VIDEO_TS\VTS_01_0")
LegalClip()

#Sampler(length=24)

function Prediction (clip c) {
Movielength=framecount(c)/framerate(c)
d=c.
\Subtitle("Movie Title : 'Insonia'",220,20).
\Subtitle("Total Frames : " + String(framecount(c)),40,50).
\Subtitle("Time(sec) : " + String(round(Movielength)),235,50).
\Subtitle("Sample FC : " + String(framecount(Sampler(c,length=24))),400,50).
\Subtitle("Desired Sampler Size (112 bps) : " + String(((808960-((112/8 )*Movielength))/(((Framecount(c)/framerate(c))/((framecount(Sampler(c,length=24)))))*framerate(c) ))/0.98 ),90,80).
\Subtitle("Desired Sampler Size (128 bps) : " + String(((808960-((128/8 )*Movielength))/(((Framecount(c)/framerate(c))/((framecount(Sampler(c,length=24)))))*framerate(c) ))/0.98 ),90,120).
\Subtitle("Desired Sampler Size (160 bps) : " + String(((808960-((160/8 )*Movielength))/(((Framecount(c)/framerate(c))/((framecount(Sampler(c,length=24)))))*framerate(c) ))/0.98 ),90,160).
\Subtitle("Desired Sampler Size (192 bps) : " + String(((808960-((192/8 )*Movielength))/(((Framecount(c)/framerate(c))/((framecount(Sampler(c,length=24)))))*framerate(c) ))/0.98 ),90,200).
\Subtitle("Desired Sampler Size (224 bps) : " + String(((808960-((224/8 )*Movielength))/(((Framecount(c)/framerate(c))/((framecount(Sampler(c,length=24)))))*framerate(c) ))/0.98 ),90,240).
\Subtitle("Avg Bitrate " + " (kbps) : " + String( ((((808960-((128/8 )*Movielength)))/Movielength)*8 )*1),90,300).
\Subtitle("Predicted Audio File Sizes " + " (Mb)",140,410).
\Subtitle("112 bps = " + String( (((112*1024)/8 )*Movielength)/1048576),80,430).
\Subtitle("128 bps = " + String( (((128*1024)/8 )*Movielength)/1048576),80,450).
\Subtitle("160 bps = " + String( (((160*1024)/8 )*Movielength)/1048576),80,470).
\Subtitle("192 bps = " + String( (((192*1024)/8 )*Movielength)/1048576),270,430).
\Subtitle("224 bps = " + String( (((224*1024)/8 )*Movielength)/1048576),270,450)
return d
} .

The results is really awesome! I don't know how to send a sample , but I used KVC3 template 528x480 for 118 min., 4:3 format, CQ=50,2, 128 kbps audio, subs & chapters included. This is really amazing .
The worse: I can't discard de VOBs from my HD, waiting some new magic of you guys .
It's really a addiction, isn't it?

bye
Reply With Quote
  #4  
02-03-2003, 07:54 AM
Razorblade2000 Razorblade2000 is offline
Free Member
 
Join Date: Aug 2002
Posts: 323
Thanks: 0
Thanked 0 Times in 0 Posts
Is this still part of the avs script??? I am a lil bit confused at the moment

Quote:
function Prediction (clip c) {
Movielength=framecount(c)/framerate(c)
d=c.
\Subtitle("Movie Title : 'Insonia'",220,20).
\Subtitle("Total Frames : " + String(framecount(c)),40,50).
\Subtitle("Time(sec) : " + String(round(Movielength)),235,50).
\Subtitle("Sample FC : " + String(framecount(Sampler(c,length=24))),400,50).
\Subtitle("Desired Sampler Size (112 bps) : " + String(((808960-((112/8 )*Movielength))/(((Framecount(c)/framerate(c))/((framecount(Sampler(c,length=24)))))*framerate(c) ))/0.98 ),90,80).
\Subtitle("Desired Sampler Size (128 bps) : " + String(((808960-((128/8 )*Movielength))/(((Framecount(c)/framerate(c))/((framecount(Sampler(c,length=24)))))*framerate(c) ))/0.98 ),90,120).
\Subtitle("Desired Sampler Size (160 bps) : " + String(((808960-((160/8 )*Movielength))/(((Framecount(c)/framerate(c))/((framecount(Sampler(c,length=24)))))*framerate(c) ))/0.98 ),90,160).
\Subtitle("Desired Sampler Size (192 bps) : " + String(((808960-((192/8 )*Movielength))/(((Framecount(c)/framerate(c))/((framecount(Sampler(c,length=24)))))*framerate(c) ))/0.98 ),90,200).
\Subtitle("Desired Sampler Size (224 bps) : " + String(((808960-((224/8 )*Movielength))/(((Framecount(c)/framerate(c))/((framecount(Sampler(c,length=24)))))*framerate(c) ))/0.98 ),90,240).
\Subtitle("Avg Bitrate " + " (kbps) : " + String( ((((808960-((128/8 )*Movielength)))/Movielength)*8 )*1),90,300).
\Subtitle("Predicted Audio File Sizes " + " (Mb)",140,410).
\Subtitle("112 bps = " + String( (((112*1024)/8 )*Movielength)/1048576),80,430).
\Subtitle("128 bps = " + String( (((128*1024)/8 )*Movielength)/1048576),80,450).
\Subtitle("160 bps = " + String( (((160*1024)/8 )*Movielength)/1048576),80,470).
\Subtitle("192 bps = " + String( (((192*1024)/8 )*Movielength)/1048576),270,430).
\Subtitle("224 bps = " + String( (((224*1024)/8 )*Movielength)/1048576),270,450)
return d
} .
Reply With Quote
  #5  
02-03-2003, 08:06 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Razorblade2000
Is this still part of the avs script??? I am a lil bit confused at the moment

Quote:
function Prediction (clip c) {
Movielength=framecount(c)/framerate(c)
d=c.
\Subtitle("Movie Title : 'Insonia'",220,20).
\Subtitle("Total Frames : " + String(framecount(c)),40,50).
\Subtitle("Time(sec) : " + String(round(Movielength)),235,50).
\Subtitle("Sample FC : " + String(framecount(Sampler(c,length=24))),400,50).
\Subtitle("Desired Sampler Size (112 bps) : " + String(((808960-((112/8 )*Movielength))/(((Framecount(c)/framerate(c))/((framecount(Sampler(c,length=24)))))*framerate(c) ))/0.98 ),90,80).
\Subtitle("Desired Sampler Size (128 bps) : " + String(((808960-((128/8 )*Movielength))/(((Framecount(c)/framerate(c))/((framecount(Sampler(c,length=24)))))*framerate(c) ))/0.98 ),90,120).
\Subtitle("Desired Sampler Size (160 bps) : " + String(((808960-((160/8 )*Movielength))/(((Framecount(c)/framerate(c))/((framecount(Sampler(c,length=24)))))*framerate(c) ))/0.98 ),90,160).
\Subtitle("Desired Sampler Size (192 bps) : " + String(((808960-((192/8 )*Movielength))/(((Framecount(c)/framerate(c))/((framecount(Sampler(c,length=24)))))*framerate(c) ))/0.98 ),90,200).
\Subtitle("Desired Sampler Size (224 bps) : " + String(((808960-((224/8 )*Movielength))/(((Framecount(c)/framerate(c))/((framecount(Sampler(c,length=24)))))*framerate(c) ))/0.98 ),90,240).
\Subtitle("Avg Bitrate " + " (kbps) : " + String( ((((808960-((128/8 )*Movielength)))/Movielength)*8 )*1),90,300).
\Subtitle("Predicted Audio File Sizes " + " (Mb)",140,410).
\Subtitle("112 bps = " + String( (((112*1024)/8 )*Movielength)/1048576),80,430).
\Subtitle("128 bps = " + String( (((128*1024)/8 )*Movielength)/1048576),80,450).
\Subtitle("160 bps = " + String( (((160*1024)/8 )*Movielength)/1048576),80,470).
\Subtitle("192 bps = " + String( (((192*1024)/8 )*Movielength)/1048576),270,430).
\Subtitle("224 bps = " + String( (((224*1024)/8 )*Movielength)/1048576),270,450)
return d
} .
That's optional. You don't need it, but it does make things simpler

-kwag
Reply With Quote
  #6  
02-03-2003, 08:15 AM
Razorblade2000 Razorblade2000 is offline
Free Member
 
Join Date: Aug 2002
Posts: 323
Thanks: 0
Thanked 0 Times in 0 Posts
Hmmm... what does it do?
Reply With Quote
  #7  
02-03-2003, 08:51 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Razorblade2000
Hmmm... what does it do?
It gives a full frame of information regarding the movie. Like total frames, total audio file size at different audio bit rates, the samples file size you need to encode, etc. Check this thread for the latest scripts : http://www.kvcd.net/forum/viewtopic.php?t=2102&start=30

-kwag
Reply With Quote
  #8  
02-03-2003, 09:28 AM
labomba labomba is offline
Free Member
 
Join Date: Jan 2003
Location: S.Paulo-Brasil
Posts: 185
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Kwag.
I change my scripts to use the latest hint of the Prediction() function, but I have two questions:
1) With this function enabled, I got a sample a little bigger than without the function (eg. 1,432 Mb vs. 1,389 for 7 sec (!) sample : 43bytes ). I guess we´ll have a wrong file size at final with Prediction() enabled, lowing the expected CQ number.
2) If it´s true, should I use the prediction() in a exclusive line and not with the sampler()?

Sorry for my english, and please move this reply if you think right.

LaBomba
Reply With Quote
  #9  
02-03-2003, 09:37 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hi labomba,

The function is only displayed on the first frame of the movie. So it really shouldn't affect prediction. It's only one frame

-kwag
Reply With Quote
  #10  
02-03-2003, 06:49 PM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
Hi labomba!

You are using an old version of the prediction function.
The new one is the one that makes only 1 frame for all the information.
Look here: http://www.kvcd.net/forum/viewtopic....er=asc&start=0

BTW, I'm from SP too.
Reply With Quote
  #11  
02-03-2003, 07:25 PM
Racer99 Racer99 is offline
Free Member
 
Join Date: Sep 2002
Location: Massachusetts
Posts: 119
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by muaddib
BTW, I'm from SP too.
Hi Mauddib an labomba,

I am not from SP, but have been there a couple of times.
Reply With Quote
  #12  
02-03-2003, 10:41 PM
labomba labomba is offline
Free Member
 
Join Date: Jan 2003
Location: S.Paulo-Brasil
Posts: 185
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Mauddib.

I started this treath on Saturday 1st, at 11am. As allways , in the afternoon the way to use the prediction has changed. I update it, but the script was 4 hours OLD.
The newest script of today soon is better. I'm knowing it right now.
Thanks!

LaBomba
Reply With Quote
  #13  
02-03-2003, 10:44 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Don't step away from KVCD.Net for too long
Things develop here very quickly

-kwag
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
MANUAL KVCD EN LINUX nogod Convertir y Codificar Video (Español) 7 05-16-2005 07:24 PM
KVCD Predictor or Manual Prediction vhelp Avisynth Scripting 12 08-08-2004 02:59 AM
Manual DVD a KVCD? Tattvas Convertir y Codificar Video (Español) 1 01-07-2004 01:49 PM
Avisynth: Mipsmooth adjustments? rendalunit Avisynth Scripting 23 11-30-2003 01:03 PM
SKVCD NTSC and PAL adjustments. kwag Video Encoding and Conversion 0 08-07-2002 08:08 PM

Thread Tools



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