top | item 31684405

(no title)

mrdonbrown | 3 years ago

Shotcut has this one cool feature [1] - drop a bunch of pictures into it and it'll create an animated slide show automatically. I've looked for ways to automate that via something like ffmpeg, but haven't found any better options.

[1] https://forum.shotcut.org/t/slideshow-generator/19162

discuss

order

Diris|3 years ago

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)

jancsika|3 years ago

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.

heretogetout|3 years ago

Yeah, although I'd be surprised if this isn't what Shotcut does (it uses ffmpeg).

rockostrich|3 years ago

ffmpeg has an entire page in their wiki devoted to slideshows: https://trac.ffmpeg.org/wiki/Slideshow

TheRealPomax|3 years ago

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".

mrdonbrown|3 years ago

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.