Rickkorsten / ffmpeg-transitions

A simple library to concatenate multiple videos into one using xfade transitions.
MIT License
1 stars 0 forks source link

Concatenate multiple pictures into one video ? #1

Open Cronos-lab opened 2 months ago

Cronos-lab commented 2 months ago

Hello,

Your script is really useful.

Do you know if it's possible to your use you script to export multiple pictures (maybe more than 50) by using xfade transitions to export pictures to a video ?

I really like this transition effect here in the "Transitioning between the images" section: https://creatomate.com/blog/how-to-create-a-slideshow-from-images-using-ffmpeg

In this tutorial, they used only three pictures: https://creatomate.com/assets/blog/how-to-create-a-slideshow-from-images-using-ffmpeg/xfade-slideshow.mp4

I'd like to export a lot of pictures. I would like to use different viewing times for every other image, like this :

- loop 1 -t 5 -i slide2.png
- loop 1 -t 3 -i slide3.png
- loop 1 -t 5 -i slide4.png
- loop 1 -t 3 -i slide5.png
- loop 1 -t 5 -i slide6.png
- [...]

I don't know much about programming but I try to learn more every day about this incredible world ;)

Thank you.

Rickkorsten commented 2 months ago

@Cronos-lab My library is meant for concating video's, maybe you can use fluent-ffmpeg to create a video of a image first and then use my library ?

Cronos-lab commented 1 month ago

Thank you. I'll check it out.

But I'm always open to other solutions.