digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   KVCD: Window size not accepted by selected Mpeg-2 level? (http://www.digitalfaq.com/archives/encode/4248-kvcd-window-size.html)

scb212 06-30-2003 01:34 AM

KVCD: Window size not accepted by selected Mpeg-2 level?
 
I am trying to convert some hi-res divx files i have to kvcd at 720x480, or 352x480, and I have my script all set up, and when i run tmpgenc it gives me an error saying that the selected window size is not accepted by selected mpeg-2 level. Here is my script

#==============================================#
# -= AviSynth script by MovieStacker v1.1.1 =- #
#==============================================#

LoadPlugin("C:\Program Files\MovieStacker\Filters\MPEG2Dec.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\TemporalCleanerOld.dll" )
LoadPlugin("C:\Program Files\MovieStacker\Filters\BlockBuster.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\DustV5.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\LegalClip.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\Sampler.dll")

AviSource("C:\buffy.avi")
ConvertToYUY2()
LegalClip()
BicubicResize(496, 478, 1/3, 1/3, -34, 0, 352, 480)
SpaceDust()
TemporalCleaner()
BlockBuster(method="noise", detail_max=7, variance=0.5, seed=1)
#AddBorders(16, 49, 16, 49)
LegalClip()

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

scb212 07-01-2003 01:05 AM

anyone?

Abond 07-01-2003 07:20 AM

I think your resizing isn't correct. You are resizing to 528x576 in the Bicubicresize line. 496 + 16 + 16 = 528 -> this is your horizontal resolution. 478 + 49 + 49 = 576 -> this is your vertical resolution. Also the weird are croping values the last 4 numbers in the line. in my opinion -34 will introduce 34 pixels of black on the left. The order is left,top,right,bottom. The suggestion - load your source file in FitCD to observe correct croping and resize.

Grantman 07-01-2003 06:34 PM

Yes... resizing is the problem...
 
Any chance of using GripCrop?

It really eliminates the resizing issues. I was having constant problems with trying to tweak resizing until I decided on another method.

Now I crop in DVD2AVI if there is garbage around the edges. Then I just resize to a more standard resolution in MovieStacker and use LetterBox if I need overscan correction.

I have not had one error since.


Grantman


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

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