The simple version:
ffmpeg -framerate 60 -pattern_type glob -i "*.jpg" -s 1920x1080 out.mp4
The complicated version:
FPS=60 ; DURATION=$(echo 1/${FPS} | bc -l| sed 's/^\./0./') ; ffmpeg -f concat -safe 0 -i <(find /mnt/c/tmp/102MSDCF -name '*.JPG' -printf "file '%p'\nduration $DURATION\n") -c:v libx264 -preset slow -crf 18 -tune film -s 1920x1080 -vf setpts=PTS-STARTPTS -vsync 0 -r $FPS Desktop/test4.mp4
No comments:
Post a Comment