Aufgenommen mit einer Nikon D90; Intervall-Steuerung durch pyKake am Nokia N900. Nach Sammeln der Bilder sind noch zwei Schritte notwendig:
Erstens: Vorformatieren mit imagemagick und passend benennen:
1 2 3 4 5 6 |
#!/bin/bash COUNTER=1 for file in *.JPG; do convert -resize 1280 -crop 1280x720+0+0 -level 10%,90%,1.0 "$file" frame_"$COUNTER".jpg let COUNTER=COUNTER+1 done |
Die Kodierung erledigt ffmpeg:
1 |
ffmpeg -f image2 -r 30 -i frame_%d.jpg -vcodec libx264 -vpre hq -crf 18 video.mp4 |