fast-neural-style icon indicating copy to clipboard operation
fast-neural-style copied to clipboard

this can support video?

Open arden opened this issue 7 years ago • 2 comments

this can support video?

arden avatar Oct 13 '16 09:10 arden

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

tzatter avatar Oct 13 '16 12:10 tzatter

How to transfer a XXXXX.mp4 style video ?

linrio avatar Apr 13 '17 13:04 linrio