Quote:
Originally Posted by davidhorman
But it will be consistent for a particular clip? So if I call NewVideoFrame(vi), get the pitch, and immediately discard the frame, is it safe to assume the pitch will be the same for all future frames created?
I'm trying to be extremely efficient with something.
|
In vapoursynth it's guaranteed that the stride/pitch is the same. For all frames if they have the same type.
I checked the Avisynth source and the stride will always be the same there too. For NewVideoFrame, not for frames returned from GetFrame obviously.