0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Ubuntu画録形式webmをgifへ変換する方法

Last updated at Posted at 2025-11-08

Ubuntu標準機能で画録するとwebm形式で保存されますが、そのままではQIITAへ投稿ができない為、gif形式へ変換します。

ffmpegをインストール

sudo apt  install ffmpeg 

変換する
fps=15 : フレームレート
scale=640:-1 : 横は640ピクセル、縦は自動計算
flags=lanczos : 画質の設定

ffmpeg -i input.webm -vf "fps=15,scale=640:-1:flags=lanczos" output.gif

图片.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?