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
Comments
Post a Comment