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. |
![]() |
#161 | Link | |
BDVD Team
Join Date: Dec 2004
Location: Rio de Janeiro - RJ/Brasil
Posts: 306
|
Quote:
![]() Thanks for your time to do our life easier. Cheers, |
|
![]() |
![]() |
![]() |
#162 | Link |
Member of a Library
Join Date: Oct 2002
Posts: 463
|
|
![]() |
![]() |
![]() |
#164 | Link |
Registered User
Join Date: Sep 2010
Location: Austin, TX
Posts: 40
|
The SDK has functions like IsYUY2(), IsYV12(), IsRGB(), etc. At the script level, there is the Info() function, but it simply overlays the video image, and the information isn't easily available the script.
Is there a means whereby a script can determine the format of a video stream it has been handed? I'm hoping for something akin to IsYUY2() for use as a ConditionalFilter() selector. Why do I want it? Because some plugins don't handle YUY2 but do handle YV12, or the two formats need different arguments. For instance, the RemoveDirt() script can process YV12 sources as-is, but YUY2 sources need to be converted to/from planar YUY2 format before/after RemoveDirt(). Thanks. |
![]() |
![]() |
![]() |
#166 | Link |
Registered User
Join Date: Sep 2010
Location: Austin, TX
Posts: 40
|
Neuron2:
I looked at the places listed below, and then some. I know, judging by name, some of these don't make sense to look for IsYUV(), say, but since I didn't find it, I kept looking. I did google search on things like "avisynth isyuv" "avisynth determine video format", etc. No luck. I probably spent an hour browsing around and searching without finding it before coming here. http://avisynth.org/mediawiki/Internal_functions/Boolean_functions http://avisynth.org/mediawiki/Internal_functions/Runtime_functions http://avisynth.org/mediawiki/Internal_functions/Script_functions http://avisynth.org/mediawiki/Internal_functions/String_functions ... In fact, I searched all pages under: http://avisynth.org/mediawiki/Internal_functions I looked under: http://avisynth.org/mediawiki/Category:Internal_filters http://avisynth.org/mediawiki/Category:External_filters http://avisynth.org/mediawiki/YUY2 I have now found it here: http://avisynth.org/mediawiki/Clip_properties I just tried searching on "avisynth isyuy2" (without quotes), and google helpfully changed it to find "avisynth yuy2" instead. That must have happened to me before, but I didn't notice it. When I force it to search on isyuy2, then the last link above finally showed up. |
![]() |
![]() |
![]() |
#168 | Link |
Registered User
Join Date: Jan 2006
Posts: 1,867
|
I often have difficulties finding documentation. Ideally there would be an index to all keywords. Try to guess where to find LoadPlugin for example - what entry under table of contents would have it? I was looking for the other versions, load std call or whatever.
|
![]() |
![]() |
![]() |
#170 | Link | |
Moderator
![]() Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
|
Quote:
|
|
![]() |
![]() |
![]() |
#171 | Link |
Guest
Join Date: Jan 2002
Posts: 21,906
|
Unfortunately using search for "loadplugin" leads to this less-than-useful page:
http://avisynth.org/mediawiki/LoadPlugin |
![]() |
![]() |
![]() |
Tags |
avisynth, faq |
Thread Tools | Search this Thread |
Display Modes | |
|
|