Log in

View Full Version : Source code for kassandro's SSETools


AVIL
8th February 2009, 23:51
Hi,

I want to process yuy2 clips converted to planar form by planar2interleaved(). But if I test vi.isPlanar() on this type of clips the result is false.

I.e. the sentence:

if (!vi.isPlanar())
env->ThrowError("WAverage : Only planar type clips");


stops avisynth and the error is displayed.

Then, I want find a method to detect the clips converted by planar2interleaved. So I look for the source code (in SSEtools) for any tip.

Thanks in advance

yup
9th February 2009, 12:38
AVIL!
May be speaking kassandro?
http://videoprocessing.11.forumer.com/
yup.

AVIL
9th February 2009, 15:29
@yup

It's a good idea. Many thanks (for the idea and for the post in kassandro's forum).

Fizick
9th February 2009, 18:05
Clips produced by planar2interleaved() are not native planar avisynth format, so they are stored in usual interleaved format container.
It is temporary solution before v2.6.
There is no (almost any) free bits in video properties.
Probably you may analyse frame content to distinguish interleaved from "planar".

AVIL
10th February 2009, 22:14
I'll wait to version 2.6. I've modified the code to process native YUY2 (by the way, very easy to do)

Thanks to yup, Fizick and Kassandro