digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: KVCDx3 video looks pretty bad (http://www.digitalfaq.com/archives/avisynth/8811-avisynth-kvcdx3-video.html)

fragmaster170 03-26-2004 08:57 PM

Avisynth: KVCDx3 video looks pretty bad
 
Hello there, this seems to be my problem.

First off, I am dealing with a DVD (Returner) decrypted and ripped to my HD. This is a great Japanese movie and as I dont care for dubbing, I decided to pop hardsubs on to this baby, unfortunatly since I convert to YUY2 for the subs AVISynth complains that it cant bob it :(

its 113min, 29.97fps and interlaced (I believe), what would you suggest as the best settings for the script? I do not mind running it for 18 hours at a time.

I already converted the audio to 80kbps MP2 and am going to mux it later, 320x288/320x240 is just to low resolution for me, yet if I make it KVCDx3 the video looks pretty bad (I used 192kbps audio though)


here is my script so far, sorry, it is a bit rough.

Code:

LoadPlugin("C:\ToKVCD\VSFilter.dll")
LoadPlugin("C:\ToKVCD\MPEG2Dec3dg.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\grip.dll")
LoadPlugin("C:\ToKVCD\STMedianFilter.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\asharp.dll")
LoadPlugin("C:\ToKVCD\unfilter.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\undot.dll")
Mpeg2Source("C:\dvd2avi.d2v",cpu=4,idct=5)
ConvertBackToYUY2()
IL = 2
SL = 50
SelectRangeEvery(IL,SL)
undot()
Limiter()
asharp(1, 4)
GripCrop(480, 480, overscan=2, source_anamorphic=false)
GripSize(resizer="LanczosResize")
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))
ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1)  ")
GripBorders()
Limiter()
VobSub("C:\RETURNER\VIDEO_TS\VTS_01_0.idx")
function fmin( int f1, int f2) {
  return ( f1<f2 ) ? f1 : f2
}


Dialhot 03-27-2004 08:09 AM

Quote:

unfortunatly since I convert to YUY2 for the subs
Why did you do that ? No need to do !
Just remove that and your problem will vanish.

fragmaster170 03-27-2004 12:14 PM

for some odd reason I dont remember :(
thanks a lot though, any suggestions for optimizing that? (as you can see in the script, im running a P4)

Dialhot 03-27-2004 12:24 PM

Quote:

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\asharp.dll")
All plugins should be in that directory. This way you can remove ALL loadplugin lines as everything that is in "C:\Program Files\AviSynth 2.5\plugins" is autoloaded by avisynth.
Quote:

IL = 2
SL = 50
SelectRangeEvery(IL,SL)
I don't see the need of that. I you don't even, remove it.
Quote:

GripSize(resizer="LanczosResize")
You already have "Asharp" a little above this line so you should not use Lanczos. Use Bicubic.
Quote:

Limiter()
VobSub("C:\RETURNER\VIDEO_TS\VTS_01_0.idx")
Limiter don't have any utility but if you want to use it, use it as last command. So after the subtitles.


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