kkroening / ffmpeg-python

Python bindings for FFmpeg - with complex filtering support
Apache License 2.0
9.93k stars 884 forks source link

creating a slideshow #242

Open tylerecouture opened 5 years ago

tylerecouture commented 5 years ago

Is it possible to create a slideshow, something like these ones: https://superuser.com/questions/833232/create-video-with-5-images-with-fadein-out-effect-in-ffmpeg/834035#834035 using this package? I couldn't figure out how to get the --loop parameter.

abishur commented 5 years ago

I am also curious in this. I've created a -filter_complex that would work in a command prompt, except I have so many pictures that the end command is too long.

The command I've worked out follows this basic format: -loop 1 -t {duration} -i img_%03d.png then once all the loops are specified each image appends this entry into a "- filter_complex" statement

There's also a concat and some other things but I think I saw some explanations on how to pass those options through.

Is it possible to do such a complex command with ffmpeg-python?