video - i want to convert images(3~4ea) and mp3 to mp4 file -


i convert images(3~4) , mp3 video ffmpeg

i use command

ffmpeg -loop 1 -i %05d.jpg -i sample.mp3 -c:v libx264 -tune stillimage -c:a aac -strict experimental -b:a 192k -pix_fmt yuv420p -shortest out.mp4

converting done. but, images changing short period.

i want set images changing period once every 10~15 seconds.

how using ffmpeg?

well, there no need use loop task. can specify framerate instead control time duration according request. following work 10 sec duration between each image.

ffmpeg -framerate 1/10 -i screenshot%06d.jpg -i track2.mp3 -c:v libx264 -tune stillimage -c:a aac -strict experimental -b:a 192k -pix_fmt yuv420p -shortest out.mp4 

read documentation more information.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -