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?

More than 1 year has passed since last update.

ffmpegのパス設定(Bash/windows)

Last updated at Posted at 2023-06-14

本記事の背景

本記事はffmpegを使う時にPathを通さないと上手くプログラムが動かないため、
パスを通す手順メモを残す

install

インストール手順については省略する
インストール後に以下のパスにファイルが置かれているとする

$ ls
ffmpeg.exe*  ffplay.exe*  ffprobe.exe*
$ pwd
/d/python_pgm/bin

パスを通す(Bash)

export export PATH=$PATH:/d/python_pgm/bin

パスを通す(Windows)

環境変数を設定する
image.png

Pythonの仮想環境でpipインストール

pip install ffmpeg-python

余談

上記の設定で何をするかについてわかる人はわかるので、あえて説明しません。

参考文献

https://qiita.com/iam1at/items/91cb8478160c9fbee134
https://qiita.com/studio_haneya/items/a2a6664c155cfa90ddcf

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?