FFmpeg: calculate time to convert images and .mp3 to a video -


is there formula can use calculate time ffmpeg uses convert single .jpg image , .mp3 song video?

i using following code:

 ffmpeg -loop 1 -r ntsc -i image.jpg -i song.mp3 -c:a copy -c:v libx264 \   -preset fast -threads 0 -shortest 

lets have image x resolution , .mp3 length of l. formula be:

time = x * l(in seconds) ? 

thanks tips.

use -r 1, faster

 ffmpeg -loop 1 -r 1 -i image.jpg -i song.mp3 -c:a copy -c:v libx264 \   -preset fast -threads 0 -shortest 

ref


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -