digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   KVCD templates manual adjustments? (http://www.digitalfaq.com/archives/encode/2445-kvcd-templates-manual.html)

labomba 02-01-2003 10:15 AM

KVCD templates manual adjustments?
 
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 :lol: !! I'm having some troubles with that: my wife is furious :x with my few bedtimes and sometimes my job is replaced by these great threats. :oops: Let it be...
All troubles are compensated for the possibility to try and learn with you guys, really Wisards 8) . 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 8O :lol: , and then my wife understood - maybe fow a while :roll: - 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

kwag 02-01-2003 10:36 AM

Hola LaBomba :D and welcome 8)

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

labomba 02-01-2003 03:31 PM

Thanks Kwag for you always fast reply.
I'm already using SpaceDust() and TemporalCleaner()... Listen, I'm a 'KVCD addict' a few months :wink: :lol: .

This is my script to win Insomnia (with the prediction() hint included!) :!: 8)
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 :cry: :oops: , 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 :ole: .
The worse: I can't discard de VOBs from my HD, waiting some new magic of you guys :alien: .
It's really a addiction, isn't it? :encore:

bye

Razorblade2000 02-03-2003 07:54 AM

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
} .

kwag 02-03-2003 08:06 AM

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 :wink:

-kwag

Razorblade2000 02-03-2003 08:15 AM

Hmmm... what does it do?

kwag 02-03-2003 08:51 AM

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

labomba 02-03-2003 09:28 AM

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

kwag 02-03-2003 09:37 AM

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 :wink:

-kwag

muaddib 02-03-2003 06:49 PM

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. :wink:

Racer99 02-03-2003 07:25 PM

Quote:

Originally Posted by muaddib
BTW, I'm from SP too. :wink:

Hi Mauddib an labomba,

I am not from SP, but have been there a couple of times. :lol:

labomba 02-03-2003 10:41 PM

Hi Mauddib.

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

LaBomba

kwag 02-03-2003 10:44 PM

Don't step away from KVCD.Net for too long :lol:
Things develop here very quickly 8O :lol:

-kwag


All times are GMT -5. The time now is 11:32 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.