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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Development

Reply
 
Thread Tools Display Modes
Old 8th February 2009, 23:51   #1  |  Link
AVIL
Registered User
 
Join Date: Nov 2004
Location: Spain
Posts: 366
Source code for kassandro's SSETools

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:

Code:
	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
AVIL is offline   Reply With Quote
Old 9th February 2009, 12:38   #2  |  Link
yup
Registered User
 
Join Date: Feb 2003
Location: Russia, Moscow
Posts: 434
AVIL!
May be speaking kassandro?
http://videoprocessing.11.forumer.com/
yup.
yup is offline   Reply With Quote
Old 9th February 2009, 15:29   #3  |  Link
AVIL
Registered User
 
Join Date: Nov 2004
Location: Spain
Posts: 366
@yup

It's a good idea. Many thanks (for the idea and for the post in kassandro's forum).
AVIL is offline   Reply With Quote
Old 9th February 2009, 18:05   #4  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,126
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".
__________________
My Avisynth plugins are now at http://avisynth.org.ru
I usually do not provide a technical support in private messages.
Fizick is offline   Reply With Quote
Old 10th February 2009, 22:14   #5  |  Link
AVIL
Registered User
 
Join Date: Nov 2004
Location: Spain
Posts: 366
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
AVIL is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 19:31.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.