0

I am using the following commands to create a video from a dynamic list of files. Meaning the image paths and amount of images, will always vary -

ffmpeg \
-i '.$thepath .'/audio.mp3 \
-safe 0 -f concat -i '.$thepath .'/paths.txt \
-af "volume=-1dB" -c:v libx264 -vprofile baseline \
-vf "scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2" \
-t 180 -pix_fmt yuv420p -movflags +faststart -shortest -y '.$output.' 2>&1

However I need to create a transition for the images. The transition can be the same on them all.

I've came accross a few links but they all seem to add the transition one by one which I wont be able to do. I have melt installed as well but I'm not familiar with it.

link 1 link 2

Is there a way to set a transition for the list of files?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.