Open arden opened 7 years ago
You can make a video from images using ffmpeg
Like this python code
def ffmpeg(imagesPath,videoPath,audioPath,audioTime,framerate=6):
cmd = 'ffmpeg -r %s -pattern_type glob -i "%s*.jpg" -t %s -i %s -vcodec libx264 -profile:v high -pix_fmt yuv420p -acodec copy -r 30 %s' % (framerate,imagesPath,audioTime,audioPath,videoPath)
print cmd
os.system(cmd)
The result https://www.youtube.com/watch?v=ranp3U4mQiE
How to transfer a XXXXX.mp4
style video ?
this can support video?