0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Mac】コマンドで動画から音声を抽出する方法

Last updated at Posted at 2024-10-20

動画から音声を抽出するには ffmpeg コマンドを使用します。

インストール

以下のコマンドを実行してインストールします。

brew install ffmpeg

音声の形式を調べる

以下のようにコマンドを実行し、Audio:の値を確認します。

ffmpeg -i input.mp4

抽出する

以下のコマンドを実行し、上記で調べた形式で音声を抽出します。

ffmpeg -i input.mp4 -vn -y -acodec copy output.aac
0
2
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
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?