Re:Shotcut is a free, open-source, cross-platform video editor
by Diris on Thursday June 09, 2022 @02:43PM
(#31685179)
So basically this[0] with a crossfade[1] between frames? Which would be (by stitching examples together)
ffmpeg -framerate 1/5 -pattern_type glob -i '\*.jpg' -pix_fmt yuv420p -filter_complex xfade=transition=fade:duration=2:offset=2 out.mp4
(1 jpg image per 5 seconds with a 2 seconds crossfade in between)[0] https://trac.ffmpeg.org/wiki/Slideshow
[1] https://ffmpeg.org/ffmpeg-filters.html#xfade (only available in >4.3)
Re:Shotcut is a free, open-source, cross-platform video editor
by jancsika on Friday June 10, 2022 @12:37AM
(#31690097)
I was just about to write that exact same command from my flawless recollection of stitching examples together from that wiki! But you beat me to it.
Honestly, I'd love a podcast called "Quinecast" where each episode consists of hosts talking in detail about the ffmpeg flags that were used to create the podcast.
Re:Shotcut is a free, open-source, cross-platform video editor
by heretogetout on Thursday June 09, 2022 @03:47PM
(#31685878)
Yeah, although I'd be surprised if this isn't what Shotcut does (it uses ffmpeg).
Re:Shotcut is a free, open-source, cross-platform video editor
by rockostrich on Thursday June 09, 2022 @02:16PM
(#31684816)
ffmpeg has an entire page in their wiki devoted to slideshows: https://trac.ffmpeg.org/wiki/Slideshow
Re:Shotcut is a free, open-source, cross-platform video editor
by TheRealPomax on Thursday June 09, 2022 @02:29PM
(#31685002)
There is so much value in doing this in a normal application with a UI that lets you see what you're doing. ffmpeg is a fantastic utility if you already know what you need, but it's absolutely terrible for jobs where you need to be able to see and do things between the two states of "having input" and "having final output".
Re:Shotcut is a free, open-source, cross-platform video editor
by syl_sau on Thursday June 09, 2022 @04:19PM
(#31686250)
I agree, although it has to be noted that that you can preview most ffmpeg commands using ffplay. The syntax is the same as the ffmpeg command, without the final output filename obviously.
Re:Shotcut is a free, open-source, cross-platform video editor
by TheRealPomax on Thursday June 09, 2022 @06:42PM
(#31687887)
Right, but now we're going "replace this single app with a normal graphical interface for working with visual media with multiple command line utilities including the terminal that you're always going to have to look up the commands flags for" and that's not really selling it =P
Re:Shotcut is a free, open-source, cross-platform video editor
by llampx on Friday June 10, 2022 @05:36PM
(#31699610)
Ffmpeg is a great tool for programmatically editing videos. For one-off jobs a gui editor is probably better.
If you want to create a slideshow for 300 folders of images, ffmpeg is really your best friend. For one, maybe use a gui editor.
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.
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
Re:Shotcut is a free, open-source, cross-platform video editor
by password4321 on Thursday June 09, 2022 @02:38PM
(#31685117)
Nice! I think iMovie does this, but I usually use https://www.photofilmstrip.org/en
Re:Shotcut is a free, open-source, cross-platform video editor
by al_borland on Thursday June 09, 2022 @09:02PM
(#31688817)
Apple Photos does it as well.
[1] https://forum.shotcut.org/t/slideshow-generator/19162