17.10.2019, 19:39
You misunderstood what I wrote:
You resize to mod4, but at least the values you used for cropping for the preview the script was from were mod2.
So your crop values were:
left: 2
top: 62 <- which is mod2
right: 10
bottom: 66 <- which is mod2
For further understanding:
What happens is that the fields get separated by SeparateFields() and each field has half of the height of the original, now they get cropped for which the top and bottom values need to be halved to accommodate the halved height.
Thus each frame get's cropped at the top by 31 and at the bottom by 33, problem is that the field is still YV12 and thus does not allow cropping by odd numbers.
Cu Selur
You resize to mod4, but at least the values you used for cropping for the preview the script was from were mod2.
SourceFiltered = SourceFiltered.Crop(2,31,-10,-33)
left: 2
top: 62 <- which is mod2
right: 10
bottom: 66 <- which is mod2
For further understanding:
What happens is that the fields get separated by SeparateFields() and each field has half of the height of the original, now they get cropped for which the top and bottom values need to be halved to accommodate the halved height.
Thus each frame get's cropped at the top by 31 and at the bottom by 33, problem is that the field is still YV12 and thus does not allow cropping by odd numbers.
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.