movie from pictures

Nev nevzat.guler at
Thu Jun 9 11:54:16 EDT 2016

Thank you for your reply. I tried something like this in python code:

from subprocess import call
call(["ffmpeg -framerate 4/1 -start_number 1 -i C:\\Projects\\data2\\img_%05d.png -c:v libx264 -r 30 -pix_fmt yuv420p C:\\Projects\\data2\\movie.mp4"])

But it did not work. I get FileNotFoundError: [WinError 2] The system cannot find the file specified..

On the other hand, in-loop solution would be more preferable since it lets me to use variable names of the images and paths.. 

More information about the Python-list mailing list