If optzoom=2 and zoom < 0, then zoom is applied after optzoom
use case:
with videos, that are shaky and pre-zoomed, you'd lose a lot if image information when stabilizing without negative zoom. If you apply a negative zoom to those videos, you sometimes see background, but you gain a lot more information at the border of the video.
With my stabilizing-bot, I use a -5% zoom together with optzoom=2. A result video of this configuration can be found here
Problem:
With optzoom=2 you practically can not zoom out
Solution:
If optzoom=2 and zoom < 0, then zoom is applied after optzoom
use case:
with videos, that are shaky and pre-zoomed, you'd lose a lot if image information when stabilizing without negative zoom. If you apply a negative zoom to those videos, you sometimes see background, but you gain a lot more information at the border of the video.
With my stabilizing-bot, I use a -5% zoom together with optzoom=2. A result video of this configuration can be found here
testing:
My stabilizer-bot already uses this PR: configuration, build