1
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?

More than 3 years have passed since last update.

【インストール不要】Dockerでffmpegコマンドを使う!

Posted at

はじめに

ffmpegは動画の編集や変換などをおこなえるフリーソフトです。
ただ、一般的にffmpegを利用するにはffmpegをインストールする必要があるのですが、
ffmpegをインストールするのは面倒!という人のためにdockerを使用したffmpegコマンドの使用方法を紹介します。

dockerでffmpeg

docker run -it --rm jrottenberg/ffmpeg:3.2-alpine [ffmpegのオプションなど]

便利コマンド

##カラーバー映像作成

docker run -v $(pwd):$(pwd) -w $(pwd) -it --rm jrottenberg/ffmpeg:3.2-alpine -f lavfi -i smptehdbars=1920x1080:d=10 -f lavfi -i sine=frequency=1000:d=10 output.mp4
1
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
1
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?