Support for both videos and photos
Closed this issue · 2 comments
Has anyone given thought to enabling the mixing of short videos together with photos?
Technically, it is possible to use a video file as input. You just need to remove -loop 1
option which is not available for videos and set appropriate photo duration.
The real issue here is; transition frames for an input file are generated using the first frames of that input and for video files this mechanism breaks the transition. When your first video ends and you expect to see the transition to the next video, you actually expect to see the last frames of the first video to morph into the first frames of the second video, but instead you'll see the first frames of your first video morph into the first frames of the second video, which is not a valid transition.
Scripts need to be updated to use the last frames when generating transition frames. But each script is different and too much effort is needed to do that.
After doing that update, supporting photos and videos in the same script is possible.
Thank you!