[FFmpeg-user] slideshow with crossfade

Gyan Doshi gyandoshi at gmail.com
Mon Nov 6 06:43:13 EET 2017

On 11/6/2017 2:08 AM, Carl Eugen Hoyos wrote:
>> ffmpeg -framerate 0.5 -i IMG_%3d.jpg -r 2 -codec:v mpeg4 temp.mp4
>> ffmpeg -i temp.mp4 -vf "framerate=fps=25" -codec:v mpeg4 out.mp4
> You should be able to combine the command lines using the fps filter.

This does not produce the same result. The crossfade occurs over a 1.5 
second period, and total output frames is ~30 more.

Adding 'zoompan=z=1:d=4:fps=2:s=WxH' before, works.


More information about the ffmpeg-user mailing list