Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
8
Help us understand the problem. What is going on with this article?
@DisneyAladdin

【Linux】コマンドラインで動画をGIFに変換する方法

・コマンドラインから動画→GIT変換したときのメモ
参考

1.FFmpegをインストール

$ brew install ffmpeg

2.変換

$ ffmpeg -i [変換したい動画] -r 10 [出力ファイル名].gif

・-rはオプションで,1秒あたり10枚のフレームってこと
・容量減らしたい場合はもっと小さくにする
・もっとスムーズなかんじにしたいときは大きくする

$ ffmpeg -i [変換したい動画] -s 320x640 [出力ファイル名].gif

・-sでリサイズできる
・地味に嬉しい

8
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
DisneyAladdin
Pythonが大好物です.

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
8
Help us understand the problem. What is going on with this article?