Re:Shotcut is a free, open-source, cross-platform video editor
by mrdonbrown on Thursday June 09, 2022 @02:32PM
(#31685037)
Where I found that fell down was wanting to do things like slow zooms and interesting transitions. I'd love something like a Python or bash script to tweak that addressed those.
[ Parent
| on HN ]
Re:Shotcut is a free, open-source, cross-platform video editor
by Diris on Thursday June 09, 2022 @03:39PM
(#31685811)
Like this?
Zoom in up to 1.5x and pan always at center of picture (not tested):
import ffmpeg
(
ffmpeg
.input(
'\*.jpg',
pattern_type='glob',
framerate='1/5'
)
.zoompan(
z='min(zoom+0.0015,1.5)',
d=700,
x='in_w/2-(in_w/zoom/2)',
y='in_h/2-(in_h/zoom/2)'
)
.output('output.mp4', pix_fmt='yuv420p')
.run()
)
stitching [0], [1], and [2][0]https://github.com/kkroening/ffmpeg-python#quickstart
[1]https://kkroening.github.io/ffmpeg-python/#ffmpeg.zoompan
[2]https://ffmpeg.org/ffmpeg-filters.html#Examples-133
EDIT: added options for slideshow style