[FFmpeg-user] ffmpeg for creting video from images

pratik at devrepublic.nl pratik at devrepublic.nl
Wed Jan 27 12:44:26 CET 2016


 

Hi, 

I have also tried with fps filter but then last frame will display only
1 second. 

i am trying with this command 

"ffmpeg -framerate 1/5 -pattern_type glob -i '<folder>/*.jpg' -i
'<audio_file>' -c:v libx264 -vf
'fps=25,scale=trunc(iw/2)*2:trunc(ih/2)*2' -pix_fmt yuv420p -c:a aac
-strict experimental -shortest test.mp4"; 

so if folder has 4 image the video must be 20 secs but right now it is
creating 16 seconds last image is only displaying only 1 sec. 

I am just tired with this issue. 

Regards, 

Pratik 


More information about the ffmpeg-user mailing list