Skip to main content

ffmpeg_setpath

Python Pypi Docs LOC Downloads Downloads License Forks Issues Project Status GitHub Repo stars GitHub repo size Donate

  • ffmpeg_setpath is Python package

Star this repo if you like it! ⭐️

ffmpeg_setpath is to set the path for ffmpeg for Windows environments. It will download ffmpeg and include the paths into the system environment. There are multiple steps that are taken to set the ffmpeg path in the system environment.

The following steps are automated:

  • Step 1. Download the ffmpeg file.
  • Step 2. Store the files in the temp-directory or the provided dirpath.
  • Step 3. Add the /bin directory to system environment.

Installation

pip install ffmpeg_setpath            # normal install
pip install --upgrade ffmpeg_setpath # or update if needed

Set ffmpeg to your system environment:

from ffmpeg_setpath import ffmpeg_setpath
ffmpeg_setpath()

Specify your ffmpeg directory:

from ffmpeg_setpath import ffmpeg_setpath
ffmpeg_setpath(dirpath=r'c:/ffmpeg/')

Start all over and force download all files, unzip, and set to system environment:

from ffmpeg_setpath import ffmpeg_setpath
ffmpeg_setpath(force=True)

Set specified path in environment

import ffmpeg_setpath
ffmpeg_setpath.set_path(dirpath=r'c:/temp/ffmpeg/')

Remove specified path from environment

import ffmpeg_setpath
ffmpeg_setpath.remove(r'c:\ffmpeg1\bin')

Show all paths in environment

import ffmpeg_setpath
ffmpeg_setpath.printe()

References

Contribute

  • All kinds of contributions are welcome!
  • If you wish to buy me a Coffee for this work, it is very appreciated :)

Licence

See LICENSE for details.

Release files for ffmpeg-setpath 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ffmpeg-setpath 1.0.0
File Size Uploaded
ffmpeg_setpath-1.0.0.tar.gz 8.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ffmpeg-setpath 1.0.0
File Interpreter ABI Platform
ffmpeg_setpath-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.6 kB

Release files / ffmpeg_setpath-1.0.0.tar.gz

Download URL ffmpeg_setpath-1.0.0.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1a099bfea0c14c107988109ee57ff73a6acfb41db3841d951543fe3384a26466
BLAKE2b-256 checksum
How to use checksums
932f3048b9392c6e7cf41fd6b09508c66bc9aba5718a1456fdc90727455f5199
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release files / ffmpeg_setpath-1.0.0-py3-none-any.whl

Download URL ffmpeg_setpath-1.0.0-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0314f864c9a4de91c431961f91b07ff12ad88b9d44c40ec3eb213e9fb81229c8
BLAKE2b-256 checksum
How to use checksums
7ac3fbce70f0f0c5fd5cacae1d6f78399626a21502d8213fd14a022de90021ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.8

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page