Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
22nd April 2010, 22:56 | #1 | Link |
Registered User
Join Date: Mar 2008
Posts: 26
|
Avisynth has better Scalers built in?
I was at NAB 2010 this year, a show for professional broadcasters and asked Adobe, Telestream, and Mainconcept about the pre-processing abilities in their encoding software.
Grain removal was almost non existent in their products. They recommended a simple gaussian blur to help smooth it out. All three of the pay applications I described above use Blinear as their "highest quality" scale. There were no other scaling methods. I personally find Spline36 and Lancos4 blows bilinear out of the water. Adobe Media Encoder, Telestream Episode Pro, and Mainconcept encoders are $1000+ encoding softwares, and Avisynth does a better job pre-processing than these "all in one" software packages do. Pair it with a free encoder like x264 and you're outperforming the most trusted software packages in the industry. In my experience, pre-processing is 80% of the encode quality. I'm still going to stick to Avisynth for pre-processing even if I do use pay encoders to make the final crunch. Most broadcasters don't even know about Avisynth or x264. Most of the posters here would be able to net really good jobs at professional post houses that compress films/tv shows for places like iTunes and other digital distribution networks just from their avisynth skills. I'm just amazed that the free tools are better than the expensive, supported, pay tools. Last edited by Guest; 23rd April 2010 at 00:27. Reason: rule 12 |
23rd April 2010, 04:19 | #2 | Link | |
Registered User
Join Date: Sep 2007
Location: Europe
Posts: 602
|
Quote:
I'm not surprised that a lot of people haven't heard of AVISynth. From what I've seen and heard, the industry seems to operate on a "time is money" basis and doesn't really have time to write scripts or experiment with different filter chains. They like all-in-one hardware solutions, though. However, there is an area where I think that may be changing. Since there are no hardware AVC encoders for Blu-ray production, a host of people who previously used hardware encoders to produce DVDs (directly from VTR playback I believe) are getting into the habit of capturing files from tape then encoding via software. I explained what AVISynth could do with that captured file to some other DVD/BD authors at a Sonic Solutions training event I attended in London last year, and got a few nodding heads. Sonic's people certainly knew of it |
|
23rd April 2010, 04:48 | #3 | Link | |
x264 developer
Join Date: Sep 2005
Posts: 8,666
|
Quote:
|
|
23rd April 2010, 06:58 | #4 | Link |
Derek Prestegard IRL
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,997
|
Yes. All the encoding packages I'm personally familiar with can do bicubic or bilinear. More exotic options like lanczos and spline etc are not frequently encountered.
If you go to Snell or Terranex, you will find powerful algorithms backed by FPGAs for high quality upconversion. This is real time, but very expensive. Avisynth is awesome, and free, but not real time ~MiSfit
__________________
These are all my personal statements, not those of my employer :) |
23rd April 2010, 07:52 | #5 | Link |
ZZZzzzz...
Join Date: Jan 2007
Location: USA
Posts: 303
|
Now thats not true about bilinear. It is a perfectly fine scaler (especially for down scaling). In fact, depending on the source material, bilinear scaling might be better because of the smoother images it tends to produce where as a bicubic scaler might over sharpen the image. It just depends on a person's preferences.
Last edited by lych_necross; 23rd April 2010 at 07:56. |
23rd April 2010, 11:22 | #6 | Link | |
x264 developer
Join Date: Sep 2005
Posts: 8,666
|
Quote:
|
|
23rd April 2010, 16:23 | #7 | Link | |
Registered User
Join Date: Mar 2008
Posts: 26
|
Quote:
So while Photoshop does have bicubic scaling, After Effects and Premiere Pro DON'T. I don't know of many people using Photoshop to pre-process videos (even though it is possible). I almost threw up when the Telestream pro told me that I should scale a video twice with their high quality bilinear to get a "super high-quality" HD to SD downscale. (Scale by half once, and scale that output by half again) I wonder if these professional compression software companies are worried about licensing other scaling methods someone could have a claim to it. Crazy US patent laws. Last edited by demistate; 23rd April 2010 at 16:27. |
|
23rd April 2010, 17:19 | #8 | Link | |
Formerly davidh*****
Join Date: Jan 2004
Posts: 2,525
|
Quote:
David |
|
23rd April 2010, 18:05 | #9 | Link |
契約者
Join Date: Jun 2008
Posts: 1,576
|
Speaking about scalers... the one in AE is so crappy so its sometimes impossible to work with it. Especially when you working with sharp CG footage, when camera flies through some raster object which is equal to 4x and more upscaling... It looks very bad.
Last edited by Keiyakusha; 23rd April 2010 at 18:08. |
23rd April 2010, 18:12 | #10 | Link | |
Registered User
Join Date: Jul 2007
Posts: 157
|
Quote:
I also agree that in the business there's not always time, so you have to pay to let an expensive program think for you. But it's still good to have an idea of how to configure the stuff. There was once a thread discussing the possibility of integrating AviSynth with hardware, and I would LOVE to see that. It is possible to run scripts live through ffdshow, and with live input. How neat it would be to have LiveVideoSource, or something like that to pull live video from a camera. I'd use it.
__________________
f=33 |
|
23rd April 2010, 19:13 | #11 | Link | |
Registered User
Join Date: Mar 2008
Posts: 26
|
Quote:
Avisynth hardware? That would be amazing. I will admit that Avisynth's weakness is sometimes it's lack of speed. It's not very efficent when you parse AviSynth scrips through Premiere Pro, but the results do look nice |
|
24th April 2010, 01:31 | #12 | Link | |
Multimedia Grunt
Join Date: Apr 2008
Location: People's Republic of Kaulifonnia
Posts: 29
|
Quote:
The 8 bit limit is what stops many from using it in professional environments. Most of my use is for downconversions for web videos so I don't worry much. SA
__________________
Grunt: 4b- one who does routine unglamorous work |
|
24th April 2010, 02:04 | #13 | Link |
Derek Prestegard IRL
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,997
|
Lack of 10 bit only really hurts while in the post chain. After the media is finished up, you're good to go.
I take 10 bit ProRes files ALL DAY LONG into AviSynth, and it just chops off the extra data You'd think it would look horrible, but most of the time it looks fine. Would I be a happy nerd with nice 10->8 dithering? Absolutely!! Still, an AviSynth (and x264 / HC) powered encoder a-la Rhozet Carbon Coder / Telestream Episode Pro / Flip Factory would be absolutely revolutionary to the "professionals" that use said products. Show them a 480i -> 1080i upconvert from their Rhozet farm, and then show them a 480i -> 1080i upconvert using TGMC (plus maybe NNEDI2 for the scaling). Bricks will be shat. Then show them a 4mbps 1080p H.264 file generated by MainConcept, and the same video generated by x264. Larger bricks will be shat. I've done it ~MiSfit
__________________
These are all my personal statements, not those of my employer :) |
25th April 2010, 14:18 | #15 | Link |
Registered User
Join Date: Apr 2008
Posts: 1,181
|
IIRC MainConcept's SDK also provides a bicubic resizer that smartly picks number of taps based on source and target resolution. It also provides a way of doing resizing and color space conversion in the same time, similar to what swscale does.
|
28th January 2011, 17:33 | #16 | Link |
Registered User
Join Date: Nov 2009
Posts: 2,367
|
Except a bit of aliasing I find bilinear near perfect, it preserves detail, and doesnt create halo. Better indeed if used in float point.
Please compare spline64 vs PS float bilinear downsize by 2. Spline64 Bilinear The automttap3 function by *.mp4 guy deals with details quite well through adaptive multitap but in the other hand has severe halo issues on high contrasts areas. Another question is about why bilinear in Avisynth is so different than Photoshop's. I made a layer comparison in photoshop: 13Mb Mediafire http://www.mediafire.com/?3jlyiz94au3v2w8
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread Last edited by Dogway; 28th January 2011 at 17:45. |
28th January 2011, 18:16 | #17 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,470
|
Quote:
EDIT: Yes, I can confirm what you are seeing. It's almost as if avisynth's bilinear is shifting pixels to the left, making it look softer There seem to be differences in the other algorithms as well... PS's bicubic looks similar to avisynths' spline36 Last edited by poisondeathray; 28th January 2011 at 18:38. |
|
28th January 2011, 19:52 | #18 | Link | |
Registered User
Join Date: Nov 2009
Posts: 2,367
|
Quote:
and yes bicubic was really similar to spline36, I thought this kind of algorithms were somewhat universal. Now having a second look, looks like avisynth's bilinear is just as photoshop's but happy antialiased.
__________________
i7-4790K@Stock::GTX 1070] AviSynth+ filters and mods on GitHub + Discussion thread |
|
28th January 2011, 20:14 | #19 | Link | |
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,433
|
Quote:
I don't know what Photoshop does, but if it instead preserves the top left corner, Avisynth's image will be relatively shifted left (on downsizing). Also, as Dogway says, Avisynth downsizing includes antialiasing (by extending filter width). |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|