0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Python】動画・音声ファイルをAIで文字起こしする方法(無料、MacBook)

0
Last updated at Posted at 2026-03-08

はじめに

Web会議や研究発表などで録画・録音した動画・音声ファイルを、MacBook、Pythonを使って文字起こしする方法を説明します。簡単なので試してみて下さい。ffmpeg、Pythonのopenai-whisperライブラリを使用します。

※Open AIのアカウントは不要です。

また、GeminiやChatGPTを使用すれば簡単では?と思うかもしれませんが、無料版では以下のような制限があります。
・ファイルのサイズの制限:例えば、100MB以上のファイルを入力できない等
・ファイルの長さの制限:動画や音声ファイルの時間が長すぎると入力できない等

上記の理由から、簡単に実施できる手順を整理しました。

環境構築

1. openai-whisper ライブラリのインストール

次に、Pythonでopenai-whisperライブラリをインストールします。
※Pythonのインストールや、仮想環境の作成は適宜実施して下さい。

pip install openai-whisper

動画ファイルから文字起こし

whisper video.mp4 --language Japanese

音声ファイルから文字起こし

whisper audio.mp3 --language Japanese

終わりに

Web会議や研究発表などで録画・録音した動画・音声ファイルを、MacBook、Pythonを使って文字起こしする方法を説明しました。もし、上記のような状況に遭遇した際は、試していただければ幸いです。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?