Selur
7th August 2016, 07:40
Seeing that some filters only support:
a. specific color formats (http://www.vapoursynth.com/doc/pythonreference.html#format-constants)
b. progressive and/or interlaced content
I wonder, "Is there a generic way to 'ask' a filter: "
What color formats it supports?
Whether it supports interlaced or progressive content?
I know there is Fmtconv (http://forum.doom9.org/showthread.php?t=166504) which allows the user to convert between one color format to another, so if there was a way to 'ask' a filter what it supports one could write some sort of helper function that would take care of the necessary (as lossless as possible) conversion for the user or may be Vapoursynth itself could take care of that internally,...
My guess is there currently is no way to 'ask' a filter those questions and thus the only way to write a script with multiple filters is to do a lot of testing and searching, but since I'm not that experienced with Vapoursynth I thought I should ask here to see if may be I just missed something. May be there are already some ways to do what I'm looking for and I just haven't stumbled over them.
Cu Selur
a. specific color formats (http://www.vapoursynth.com/doc/pythonreference.html#format-constants)
b. progressive and/or interlaced content
I wonder, "Is there a generic way to 'ask' a filter: "
What color formats it supports?
Whether it supports interlaced or progressive content?
I know there is Fmtconv (http://forum.doom9.org/showthread.php?t=166504) which allows the user to convert between one color format to another, so if there was a way to 'ask' a filter what it supports one could write some sort of helper function that would take care of the necessary (as lossless as possible) conversion for the user or may be Vapoursynth itself could take care of that internally,...
My guess is there currently is no way to 'ask' a filter those questions and thus the only way to write a script with multiple filters is to do a lot of testing and searching, but since I'm not that experienced with Vapoursynth I thought I should ask here to see if may be I just missed something. May be there are already some ways to do what I'm looking for and I just haven't stumbled over them.
Cu Selur