ffmpeg_setpath
ffmpeg_setpathis 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.
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ffmpeg_setpath-1.0.0.tar.gz | 8.6 kB | Without provenance | Details for ffmpeg_setpath-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ffmpeg_setpath-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for ffmpeg_setpath-1.0.0-py3-none-any.whl |
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
|
Security for ffmpeg-setpath 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.