Log in

View Full Version : Why does Resize come after ConvertToYUY2?


WhipHubley
20th July 2004, 17:25
I've noticed that when using AVI2DVD (using CCE as the encoder) the AVISynth script places the resize filter _after_ the colourspace conversion, for example...

LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\MPEG2D~1.DLL")
AVISource("D:\CAPTUR~1\MOVIE.AVI",audio=false)
ConvertToYUY2()
LanczosResize(720,480)

...but according to Q.14.4 of the CCE FAQ (and in other posts I've researched before posting this) it should be the other way round. That is, the resize should come _before_ the colourspace conversion. I quote...

"...even when using simple filters like Resizing, things are going to be faster than with AVISynth 2.0x, just make sure you put them before the color space conversion. The filters can obviously work simply faster in YV12 mode."

I'm still getting my head around a lot of this stuff, so I could be confused here, but could someone explain this discrepancy?

P.S. I'm wondering why my 3-pass VBR encodes are taking 10x as long as my CBR's, so am hoping I may have stumbled across something to help speed them up :-)

WhipHubley
21st July 2004, 21:51
23 views but no replies - I'm surprised.

It certainly works with the colourspace conversion at the end.

I'll do some tests and report back if it's any quicker.