Код: Выделить всё
ffmpeg -i mymovie.avi -f image2 -vf fps=fps=1 output%d.pngКод: Выделить всё
import ffmpy
import os
path = './Videos/MyVideos/'
for filename in os.listdir(path):
name = filename.replace('.avi','')
os.mkdir(os.path.join(path,name))
*ffmpeg command here*
Подробнее здесь: https://stackoverflow.com/questions/424 ... hon-script
Мобильная версия