2015-10-21から1日間の記事一覧

ffmpegで連番画像を動画にするとき、連番の範囲を指定する方法

generate.rb command = "ffmpeg -f image2 -r 60 -start_number 1 -i img%05d.png -vframes 10 -r 60 -an -vcodec libx264 -y -pix_fmt yuv420p frame_video1.mp4" system(command) command = "ffmpeg -f image2 -r 60 -start_number 11 -i img%05d.png -vfr…

HomebrewでMacに入れたImagemagickはttfを扱えないのでオプション追加して再インストール

画像に文字を上から書きたかったが、エラーになる。 convert: delegate library support not built-in Font系がおかしい。調べると、brewで入れたImagemagickはttfを扱えないとのこと。https://github.com/Homebrew/homebrew/issues/16506 そこで入れなおす…