digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   KVCD: Lousy Quality and Oversized File? (http://www.digitalfaq.com/archives/encode/4901-kvcd-lousy-quality.html)

Rassilon 08-06-2003 02:45 AM

KVCD: Lousy Quality and Oversized File?
 
Hi All,
I've basically followed the guide by black prince and get a low quality output (Nothing like the sameple KVCD File) and an oversized file (894Mb) instead of one that will fit onto an 80Min CD-R. When I run Movie Stacker V2 ß3 I get it to load the KVCDx3 template and include Field Deinterlace and leave the defaults.

When I run ToK I get the following error appearing in TMPegEnc:
Sampler: samples must be >=2
(D:\temp\ToK\video.avs, line 30)
until the actual DVD file gets encoded into MPG format. In myBBMpeg log file I get HEAPS of Video PTS entries such as:
video PTS (21584.00ms) underflow at pack 2911 by 17629.33ms. I can post the rest of the log (Without the PTS lines) if it will aid in the diagnosis of why my KVCD's are not working properly.

Thanks in advance.

Dialhot 08-06-2003 04:04 AM

Can you post the avisynth script that you generate with MovieStacker ?

I guess you have "Sample()" at the end. If yes, remove it.

Rassilon 08-06-2003 04:58 AM

Hi Dialhot, you guessed right, Sampler is at the end... I'll try without it tomorrow and get back to you (This takes about 8-9 hours to process)

#================================================= =====#
# -= AviSynth script by MovieStacker v2.0.0 (beta3) =- #
#================================================= =====#

LoadPlugin("D:\Program Files\MovieStacker\Filters\MPEG2Dec.dll")
LoadPlugin("D:\Program Files\MovieStacker\Filters\DecombLegacy.dll")
LoadPlugin("D:\Program Files\MovieStacker\Filters\GripFit_preview.dll")
LoadPlugin("D:\Program Files\MovieStacker\Filters\UnFilter.dll")
LoadPlugin("D:\Program Files\MovieStacker\Filters\LegalClip.dll")
LoadPlugin("D:\Program Files\MovieStacker\Filters\Sampler.dll")

Mpeg2Source("E:\DVD\Walter.d2v")
LegalClip()
FieldDeinterlace()
GripCrop(528, 480, overscan=2, source_anamorphic=false)
GripSize(resizer="BilinearResize")
UnFilter(50, 50)
TemporalSmoother(1, 2)
MergeChroma(blur(1.58))
MergeLuma(blur(0.2))
GripBorders()
LegalClip()

Sampler(length=24)
## MPEG size = ((Total frames/MovieTimeInMinutes)/24) * MPEG sample file size * .98 ##

Dialhot 08-06-2003 06:26 AM

Quote:

Originally Posted by Rassilon
Hi Dialhot, you guessed right, Sampler is at the end... I'll try without it tomorrow and get back to you (This takes about 8-9 hours to process)

That will fix the problem of "Sampler: samples must be >=2". In fact Tok adds a Sampler() itself, so what you did there was a sample of a sample :-))

Rassilon 08-06-2003 06:47 AM

Quote:

Originally Posted by Dialhot
Quote:

Originally Posted by Rassilon
Hi Dialhot, you guessed right, Sampler is at the end... I'll try without it tomorrow and get back to you (This takes about 8-9 hours to process)

That will fix the problem of "Sampler: samples must be >=2". In fact Tok adds a Sampler() itself, so what you did there was a sample of a sample :-))

So by sampling a sample, I'm in effect sampling nothing??

The way that I created the script was purely with Movie Stacker, I loaded up the KVCDx3 preset and told Movie Stacker where the video file was... So why does movie stacker add something that isn't required?

Krassi 08-06-2003 06:56 AM

Quote:

Originally Posted by Rassilon
So by sampling a sample, I'm in effect sampling nothing??

Nearly nothing. Thats why you had this error. Just let ToK or CQMatic do the prediction.
Quote:

The way that I created the script was purely with Movie Stacker, I loaded up the KVCDx3 preset and told Movie Stacker where the video file was... So why does movie stacker add something that isn't required?
It was/is useful with manual prediction, thats because it was implemented. Just get rid of this line by deactivating it.

Rassilon 08-08-2003 04:01 AM

Oversized File
 
This has fixed part of the errors, but I still get an oversized file that will not for onto the specified CD. The Resulting Filesize was a wopping 1.08 GB (1,166,910,612 bytes)

Here is the ToK Log. (Using the Current Optimal Script from KVCD.NET)

================================================== ===========
ToK Log: E:\DVD\Optimal KVCD Script.avs
================================================== ===========

Resolution (fps):528x480 (29.970 fps)
Total Frames: 161315
Total Time : 01:29:43
-------------------------------------------------------------

TV System Change
New Movie Time : 1:47:33
-------------------------------------------------------------
Audio Size: 86,121,984
Required Video Size: 733,078,016

Factor: 60.000
Desired Sample Size: 12,217,967

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

Full Sample
Next CQ: 70.000
================================================== ===========
ToK Log: E:\DVD\Optimal KVCD Script.avs
================================================== ===========

Resolution (fps):528x480 (29.970 fps)
Total Frames: 161315
Total Time : 01:29:43
-------------------------------------------------------------
. Sample Size: 18,878,318
Small Sample
Next CQ: 70.000. Sample Size: 1,713,107
Predicting...
Next CQ: 45.304. Sample Size: 11,523,771
Next CQ: 52.643. Sample Size: 13,368,893
Next CQ: 48.519. Sample Size: 11,871,582
Next CQ: 50.027. Sample Size: 11,882,073
Next CQ: 50.977. Sample Size: 12,974,986
Next CQ: 50.411. Sample Size: 12,339,665

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


Final CQ: 50.411
Total Time For Predicition: 00:13:17


-------------------------------------------------------------
Encoding E:\DVD\Optimal KVCD Script.avs
-------------------------------------------------------------

Encoding... CQ : 50.411
Final Encoded Size: 981,172,713
Muxing ...


Total Time (all operations): 11:05:48

Finished

Dialhot 08-08-2003 04:42 AM

You have the perfect example that show why Tok is out of date and why Kwag uses all his time to develop CQMatic : the prediction is very hard and very random with the last optimal script. That's very sad...


All times are GMT -5. The time now is 04:34 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.