linux : using "ffmpeg" change images to video

ffmpeg -f image2 -r 20 -i path/*.jpg out.avi

the images in path should in order



namechange.sh


#! /bin/bash

c=0001;

for file in $(find . -name "*.jpg");

do

    echo $file;

    mv $file $c.jpg;

    ((c++))

done

猜你喜欢

转载自blog.csdn.net/baobei0112/article/details/80078942