Quantcast Avisynth: are there Better Filters for FitCD? - digitalFAQ.com Forums [Archives]
  #1  
10-10-2002, 09:59 AM
black prince black prince is offline
Free Member
 
Join Date: Jul 2002
Posts: 1,224
Thanks: 0
Thanked 0 Times in 0 Posts
Hi All,

Like most I usually encode with the default settings created by FitCD,
but are there better filters for resize, smoothing, etc.? Will others filters
compress the file size as well or better? So far I’ve discovered the following
filters for testing and my issue is there settings? Below is my script:

#
# Compressibility Test
#
LoadPlugin("E:\DVD Backup\2 - DVD2SVCD\MPEG2Dec\MPEG2DEC2.dll")
LoadPlugin("E:\DVD Backup\2 - DVD2SVCD\SimpleResize\Simpleresize.dll")
LoadPlugin("E:\DVD Backup\2 - DVD2SVCD\Unfilter\Unfilter.dll")
LoadPlugin("E:\DVD Backup\2 - DVD2SVCD\Lanczos\Lanczos.dll")
LoadPlugin("E:\DVD Backup\2 - DVD2SVCD\C3D\Convolution3D.dll")
Mpeg2Source("D:\Temp\Movie.d2v")
#SimpleResize(352,240)
#BicubicResize(352,240)
#BilinearResize(352,240)
#LanczosResize(352,240)
#TemporalSmoother(2,2)
#Convolution3D(1,0,0,7,7,3,0)
#UnFilter(5,5)
#Sharpen(.1)
#AddBorders(8,8,8,8 )
###--------------------- Start Of File Size Prediction ----------------------###
IL = Framecount / 100 # interval length in frames
SL = round(Framerate) # sample length in frames
SelectRangeEvery(IL,SL)
## MPEG size = ((Total frames/Framerate)/100) * (MPEG sample file size * .95) ##
###------------------------End File Size Prediction--------------------------###
#
# End of Script

How do they compare?

1) Convolution3D vs TemporalSmoother

2) LanczosResize vs BilinearResize, BicubicRsizse

3) Sharpen vs Unfilter

Which combinations would give the best compression and picture quality?

-black prince
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
10-10-2002, 10:38 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hey black prince,

Too many filters Be careful you don't convolute in the twilight zone
Back to the question . It would be good to make an identical sample with each of these filters, and compare the size/quality/noise redux, etc.

-kwag
Reply With Quote
  #3  
10-10-2002, 12:50 PM
black prince black prince is offline
Free Member
 
Join Date: Jul 2002
Posts: 1,224
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Kwag,

You'll notice the filters are all commented (#). I uncomment them in
combinations such as, TemporalSmoother and BilinearResize,
or TemporalSmoother and LanczosResize, etc. The picture
quality is hard to judge since they seem close. Is there a way to
determine this imperically rather than subjectively. I once saw
a display of frame(s) magnified to show noise correction on
Doom9, but have had trouble finding the program that produced it.
It showed clearly how certain filters effected picture noise. So far
C3D increases the file size, but appears to be no better than TS(2,2)
which decreases file size in my tests. LanczosResize gives
an added sharpness without using Sharpen(.1) or Unfilter. This reduced
file size. For BicubicResize vs LanczosResize, LanczsosResize has a definate
edge. Going from a lower resolution to a higher one, picture was better.
With maganifed images of frames this would be much easier to see.

-black prince
Reply With Quote
  #4  
10-10-2002, 03:33 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hi black prince,

I agree with you on the temporal smoother. I get smaller file size with a value of 1,2 without loosing sharpness. Visually, I think there's not that much difference between C3D and TS(1,2). I do see that C3D softens the image more. More tests have to be made

Quote:
Hi Kwag,

You'll notice the filters are all commented (#). I uncomment them...
I know. I was just joking

-kwag
Reply With Quote
  #5  
10-10-2002, 07:12 PM
black prince black prince is offline
Free Member
 
Join Date: Jul 2002
Posts: 1,224
Thanks: 0
Thanked 0 Times in 0 Posts
Kwag,

Your right on target. I found that LanczosResize and TemporalSmoother(2,1)
are great together. You also get the sharpness from Lanczos and file size
is the smallest among my other tests. Picture quality is better for bicubic
low res to high and high to low is same as Bilinear. By the way, hard
coded IL and SL in file size predicting VBR and now I am getting less than
+-1%. Seems Framecount and Framerate may not always be accurate.
Tmpgenc now shows 2400 frames for test with hard coded numbers.

-blac prince
Reply With Quote
  #6  
10-10-2002, 07:16 PM
black prince black prince is offline
Free Member
 
Join Date: Jul 2002
Posts: 1,224
Thanks: 0
Thanked 0 Times in 0 Posts
Oops,

I forgot. Lanczos is a part of MPEG2DEC and needs no loadfile
statement. Just code LanczosResize(width,height) and your set.

-black prince
Reply With Quote
  #7  
10-11-2002, 07:46 AM
black prince black prince is offline
Free Member
 
Join Date: Jul 2002
Posts: 1,224
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Kwag,

If your still testing filters, could you add TemporalSoften(1,4,4) to
your list. It appears to have less blurring effects than
TemporalSmoother.

Thanx

-black prince
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
SansGrip's filters or FitCD maurus Avisynth Scripting 2 05-04-2005 08:07 AM
FitCD v1.0.5 with Prediction Filters (Muaddib mods) kwag Video Encoding and Conversion 0 12-30-2002 10:39 AM
Avisynth: FitCD and Your Templates Bud Avisynth Scripting 0 06-10-2002 01:44 PM
Avisynth: Resolutions in FitCD? Bigswaffo Avisynth Scripting 2 05-30-2002 03:02 PM
Avisynth: FitCD rendalunit Avisynth Scripting 1 05-07-2002 01:48 PM

Thread Tools



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