Hello, I'm trying to encode a interlaced NTSC TV Series to XviD. Even at a bitrate of 1200 for video it still seems pixlated. I've seen clips on line of encodes at 800 bitrate that look two times better than mine, even when I use denoisers. What am I doing wrong? I figured I should ask the experts to maybe shared their secret recipes. Any help would be appreciated. Here is one of the scripts if that helps. Thanks in advance
# Created with Gordian Knot
#
# http://gknot.doom9.org
# PLUGINS
LoadPlugin("C:\PROGRA~1\GORDIA~1\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\decomb.dll")
#LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\KernelDeInt.dll" )
#LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\dgbob.dll")
#LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\TomsMoComp.dll")
#LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\VSFilter.dll")
#LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\SimpleResize.dll ")
LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\Convolution3d.dl l")
LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\FluxSmooth.dll")
LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\Undot.dll")
# SOURCE
mpeg2source("F:\THE_OC_D6\123.d2v", idct=0)
# TRIM
trim(0,62191)
# IVTC
#Telecide(order=1,guide=1).Decimate()
# or use
#IVTC(44,11,95)
#GreedyHMA(1,0,4,0,0,0,0,0)
# DEINTERLACING (1)
FieldDeinterlace()
#FieldDeinterlace(blend=false)
#TomsMoComp(1,5,1)
# DEINTERLACING (2)
#KernelDeInt(order=1,sharp=true)
# or maybe
#DGBob(order=1,mode=1)
# DEINTERLACING (3) - special requests
#GreedyHMA(1,0,0,0,0,0,0,0)
#Telecide()
#SeparateFields()
# CROPPING
crop(0,0,720,480)
# DENOISING: choose one combination (or none)
# 2) medium noise
# RESIZING
LanczosResize(576,416)
# DENOISING: choose one combination (or none)
# 2) medium noise
Temporalsoften(3,5,5,mode=2,scenechange=10)
Convolution3d("moviehq")
FluxSmoothST(7,7)
Undot()
Undot()
# BORDERS
#AddBorders(left,top,right,bottom)
# COMPRESSIBILITY CHECK
# !!!!Snip Size now has to be 14 for use in GKnot!
#SelectRangeEvery(280,14)
# FOOL CCEnc
#ResampleAudio(44100)
+ Reply to Thread
Results 1 to 9 of 9
-
-
Dgdecode has a macroblock deblock feature that works well. Add this line to your script:
Deblock()
You also have too many "denoisers" loaded. If it is a DVD source, just use Undot, maybe twice.
Undot()
Undot()
Change "LanczosResize(576,416)" to
Lanczos4Resize(576,416)
it is a sharper resize function.
Load your .AVS file in VirtualDub and check it out if it loads.
OR, just use AutoGK. -
thanks again, at what bitrate would you suggest using denoisers? If I encode at 900-1000 and above would this script give me good results?
-
Hi-
How do you know it's interlaced, and can't be IVTC'd? Do you know how to tell the difference? If you tell us the name of the TV series DVDs, maybe someone that has had experience with them can help out.
And as stated above, you have way too many denoisers. TemporalSoften at those medium settings all by itself can create a kind of "flickering" or "pixelation". Also, FluxSmooth at default settings smooths too much, in my opinion. -
#################BEGIN#################
LoadPlugin("C:\PROGRA~1\GORDIA~1\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\Program Files\GordianKnot\AviSynthPlugins\Undot.dll")
mpeg2source("F:\THE_OC_D6\123.d2v", idct=0, cpu=4, iPP=true, moderate_v=20)
#The above line is correct to deblock your Mpeg2 source
#Only Use Deblock() if the source is AVI
trim(7400,9600) #Use this small range for testing, then use the line below
#When you are ready to encode the whole thing
#trim(0,62191)
Lanczos4Resize(576,416)
undot()
undot()
###############END###################
You should have pretty good looking xvid video at 1100-1200 with the above. I'd discourage you from deinterlacing - I doubt you'll need it on a dvd source. -
Originally Posted by manono
-
Hi-
I ran a vob through BitrateView and it said interlaced,
Means nothing. That just tells you how it was encoded, and not whether it's really interlaced. Opening it in VDubMod can help. Advance frame-by-frame in a place where there's movement and look for 3 clean frames and 2 interlaced frames in a cycle of 5 frames. If you see that, it's been telecined and can (and should) be IVTC'd. If all the frames are interlaced, then it truly is interlaced. If you do decide to IVTC, don't use any deblocking or any other smoothing/denoising filter before the IVTC.
Back to your very first post:
I've seen clips on line of encodes at 800 bitrate that look two times better than mine, even when I use denoisers.
I bet those were 23.976fps, and not your 29.97fps with FieldDeinterlace and all those other filters you were planning on using. IVTC will bring it back to the original 23.976fps.
Similar Threads
-
How do I create an AVS script
By Sopt Finder in forum Newbie / General discussionsReplies: 4Last Post: 15th Jun 2009, 13:17 -
DVD Flick and AVS Script Oddity
By sambat in forum Video ConversionReplies: 0Last Post: 19th Apr 2009, 13:42 -
AVS script and Subtitle Workshop
By sambat in forum SubtitleReplies: 3Last Post: 19th Apr 2009, 10:20 -
This correct avs script for this source?
By alcOre in forum Newbie / General discussionsReplies: 2Last Post: 13th Feb 2009, 01:24 -
help with avs script (dv to mpeg2) Fading in/out
By ZiGGY909 in forum EditingReplies: 2Last Post: 14th Nov 2007, 14:12