Skip to content

Instantly share code, notes, and snippets.

@astronasutarou
Created February 20, 2018 07:05
Show Gist options
  • Save astronasutarou/9996e6c10f9a0985e2999888ba5e7c8e to your computer and use it in GitHub Desktop.
Save astronasutarou/9996e6c10f9a0985e2999888ba5e7c8e to your computer and use it in GitHub Desktop.
アスペクト比が 4:3 の画像リストから 16:9 の動画を作成するためのコマンドメモ
ffmpeg -r 6 -f image2 -start_number 1000 -i image%4d.jpg \
-vf 'scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:160:0' \
-vcodec h264 -pix_fmt yuv420p -r 6 output.avi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment