Easy-to-use ffmpeg python utils with simpler arguments
Project description
clean_ffmpeg_python_utils
Easy-to-use ffmpeg python utils with simpler arguments
Installing
Install:
pip install clean_ffmpeg_python_utils
Usage
clean_ffmpeg_python_utils --help
usage: clean_ffmpeg_python_utils --input_filepath INPUT_FILEPATH [--output_extension OUTPUT_EXTENSION] [--output_filepath OUTPUT_FILEPATH] [--fps FPS]
[--start_time START_TIME] [--duration DURATION] [--width WIDTH] [--height HEIGHT] [-h]
optional arguments:
--input_filepath INPUT_FILEPATH
(Path, required)
--output_extension OUTPUT_EXTENSION
(Union[str, NoneType], default=None)
--output_filepath OUTPUT_FILEPATH
(Union[pathlib.Path, NoneType], default=None)
--fps FPS (Union[int, NoneType], default=None)
--start_time START_TIME
(Union[int, NoneType], default=None)
--duration DURATION (Union[int, NoneType], default=None)
--width WIDTH (Union[int, NoneType], default=None)
--height HEIGHT (Union[int, NoneType], default=None)
-h, --help show this help message and exit
Example 1: Convert mp4 to gif
clean_ffmpeg_python_utils --input_filepath openai_rubiks_cube.mp4 --output_extension gif
Example 2: Trim video length
clean_ffmpeg_python_utils --input_filepath openai_rubiks_cube.mp4 --start_time 25 --duration 10
Example 3: Modify FPS
clean_ffmpeg_python_utils --input_filepath openai_rubiks_cube.mp4 --fps 10
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file clean_ffmpeg_python_utils-0.0.2.tar.gz.
File metadata
- Download URL: clean_ffmpeg_python_utils-0.0.2.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1cbde2bc5be3b09ca83e9598fa349a6d188a8b29503f3fd9bf65242de4594dfa
|
|
| MD5 |
1117498e2faa31d140b9d408c1a0a25c
|
|
| BLAKE2b-256 |
631726a1f658819314806a36315cf2c7118ebedcff534cb723bd71effd060bb8
|
File details
Details for the file clean_ffmpeg_python_utils-0.0.2-py3-none-any.whl.
File metadata
- Download URL: clean_ffmpeg_python_utils-0.0.2-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4244be2d26b84242e5a9fa1a22584b51bb591fb166309da944df5a823926090a
|
|
| MD5 |
48a79ae6f36f886938deeed6d576cd7d
|
|
| BLAKE2b-256 |
c2d3c6b51987e7f599bae041e7f339acbb7f1907fc8147cdaab16b8472efaf05
|