View Full Version : VDub new resize *Filter mode* Lanzcos3
808state
28th December 2002, 22:35
Just wondering what the best filter for VDubs resize I should use…I am going for the absolute best quality that can be achieved, I’m not concerned about how long it takes or how much space is needed.
I normally use Precise bicubic (A=-1.00) for resizing and the save as 24-Bit Uncompressed AVI before encoding with Craft. Please let me know if there is a better filter mode for obtaining higher quality video.
Thanks Much
seewen
30th December 2002, 03:03
You should maybe try to use Avisynth. I think that the quality will by better/equal, but the process will be much shorter than making an uncompressed avi first.. ;)
(or the quality of resize, You are the only one to know what's the best for you ;) )
Stereodude
2nd January 2003, 15:24
Originally posted by seewen
You should maybe try to use Avisynth. I think that the quality will by better/equal, but the process will be much shorter than making an uncompressed avi first.. ;)
(or the quality of resize, You are the only one to know what's the best for you ;) ) Not necessarily the best advice.
For example I go from HDTV (1920x1080) to DVD (720x480) with CCE it's far faster to make an intermediate HuffYUV AVI file. If you do more than 1 pass encoding you're likely to see a speed gain by creating an intermediate file. In my case it takes me longer to create the HuffYUV avi file than it does per pass in CCE.
Lets toss out some hypothetical numbers. A 4 minute HDTV clip renders out to a HuffYUV AVI at 9.5 FPS. This takes 12 minutes 37 seconds. The actual HuffYUV compression takes about 15% of that time (probably a lot less). But to be conservative we'll use it anyway. So, 1 minute and 54 seconds are spent on the actual compression codec. Now the same amount of time is spent decompressing it.
So using the method I use 4 pass VBR you make 5 passes. One of the VAF and 4 on the actual video. So I waste about 9.5 minutes decompressing the AVI's compression. The video encodes at 1.05x. So, the 4 minute clip takes just over 19 minutes to compress to the mpeg-2 file.
Using the method you suggested the 5 passes would take 9.5 minutes of compression in CCE, but you have the extra overhead of decompressing the HDTV clip 5 times to factor in. If it took 12 mintues and 37 seconds and 1 minutes and 54 seconds are spent on the HuffYUV compression, that means 10 minutes and 43 seconds are spent on the decompression/filters etc. So that needs to happen 5 times. So 53 minutes and 35 second will be spent doing that. So, the final compression job would take about 63 minutes.
31 minutes is a whole lot less than 63. So, depending on what he's doing an intermediate file may actually save him time.
Stereodude
Edit: Whoops math error. I forgot about the 12 minutes and 37 seconds to compress the AVI file.
Stereodude
2nd January 2003, 15:29
Originally posted by 808state
Just wondering what the best filter for VDubs resize I should use…I am going for the absolute best quality that can be achieved, I’m not concerned about how long it takes or how much space is needed.
I normally use Precise bicubic (A=-1.00) for resizing and the save as 24-Bit Uncompressed AVI before encoding with Craft. Please let me know if there is a better filter mode for obtaining higher quality video.
Thanks Much Lanzcos3 and Precise Bicubic (.75) look the same to my eye (when making things smaller at least). I compared them in closely in Photoshop and couldn't see any real differences. I believe that Lanzcos3 is slightly slower than precise Bicubic (.75). I don't like Precise Bicubic (1.0) due to it's sharper output. Sharper output tends to = more bitrate used, or more mosquito noise.
You might want to use a lightly compressed AVI format like HuffYUV. When I use HuffYUV I can hit about 1.05x compressing in CCE (which is what I presume you're using). If I use uncompressed 24bit it only encodes at about .25x. YMMV.
Stereodude
Asmodian
3rd January 2003, 02:50
I just wanted to point out that the Huffyuv codec uses LOSSLESS compression, the only thing you change when encoding to Huffyuv relative to uncompressed is the size - there is NO quality difference between uncompressed and huffyuv. I, like Stereodude, have noticed that using huffyuv files is actually faster then uncompressed videos (I assume because of the massive amount of data needed from the harddrive with uncompressed video).
Stereodude
3rd January 2003, 03:34
Originally posted by Asmodian
(I assume because of the massive amount of data needed from the harddrive with uncompressed video). I think is has a lot more to do with really shoddy programming on the part of the CCE people. TMPGEnc doesn't have any of the same issues.
Stereodude
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.