# 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
```
Raw data
{
"_id": null,
"home_page": "https://github.com/tylerlum/clean_ffmpeg_python_utils",
"name": "clean-ffmpeg-python-utils",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python,ffmpeg,video,audio",
"author": "Tyler Lum",
"author_email": "tylergwlum@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/63/17/26a1f658819314806a36315cf2c7118ebedcff534cb723bd71effd060bb8/clean_ffmpeg_python_utils-0.0.2.tar.gz",
"platform": null,
"description": "# clean_ffmpeg_python_utils\n\nEasy-to-use ffmpeg python utils with simpler arguments\n\n# Installing\n\nInstall:\n\n```\npip install clean_ffmpeg_python_utils\n```\n\n# Usage\n\n```\nclean_ffmpeg_python_utils --help\n\nusage: clean_ffmpeg_python_utils --input_filepath INPUT_FILEPATH [--output_extension OUTPUT_EXTENSION] [--output_filepath OUTPUT_FILEPATH] [--fps FPS]\n [--start_time START_TIME] [--duration DURATION] [--width WIDTH] [--height HEIGHT] [-h]\n\noptional arguments:\n --input_filepath INPUT_FILEPATH\n (Path, required)\n --output_extension OUTPUT_EXTENSION\n (Union[str, NoneType], default=None)\n --output_filepath OUTPUT_FILEPATH\n (Union[pathlib.Path, NoneType], default=None)\n --fps FPS (Union[int, NoneType], default=None)\n --start_time START_TIME\n (Union[int, NoneType], default=None)\n --duration DURATION (Union[int, NoneType], default=None)\n --width WIDTH (Union[int, NoneType], default=None)\n --height HEIGHT (Union[int, NoneType], default=None)\n -h, --help show this help message and exit\n```\n\n# Example 1: Convert mp4 to gif\n\n```\nclean_ffmpeg_python_utils --input_filepath openai_rubiks_cube.mp4 --output_extension gif\n```\n\n# Example 2: Trim video length\n\n```\nclean_ffmpeg_python_utils --input_filepath openai_rubiks_cube.mp4 --start_time 25 --duration 10\n```\n\n# Example 3: Modify FPS\n\n```\nclean_ffmpeg_python_utils --input_filepath openai_rubiks_cube.mp4 --fps 10\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "Easy-to-use ffmpeg python utils with simpler arguments",
"version": "0.0.2",
"project_urls": {
"Homepage": "https://github.com/tylerlum/clean_ffmpeg_python_utils"
},
"split_keywords": [
"python",
"ffmpeg",
"video",
"audio"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c2d3c6b51987e7f599bae041e7f339acbb7f1907fc8147cdaab16b8472efaf05",
"md5": "48a79ae6f36f886938deeed6d576cd7d",
"sha256": "4244be2d26b84242e5a9fa1a22584b51bb591fb166309da944df5a823926090a"
},
"downloads": -1,
"filename": "clean_ffmpeg_python_utils-0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "48a79ae6f36f886938deeed6d576cd7d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4245,
"upload_time": "2023-10-08T04:03:38",
"upload_time_iso_8601": "2023-10-08T04:03:38.484152Z",
"url": "https://files.pythonhosted.org/packages/c2/d3/c6b51987e7f599bae041e7f339acbb7f1907fc8147cdaab16b8472efaf05/clean_ffmpeg_python_utils-0.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "631726a1f658819314806a36315cf2c7118ebedcff534cb723bd71effd060bb8",
"md5": "1117498e2faa31d140b9d408c1a0a25c",
"sha256": "1cbde2bc5be3b09ca83e9598fa349a6d188a8b29503f3fd9bf65242de4594dfa"
},
"downloads": -1,
"filename": "clean_ffmpeg_python_utils-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "1117498e2faa31d140b9d408c1a0a25c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3468,
"upload_time": "2023-10-08T04:03:40",
"upload_time_iso_8601": "2023-10-08T04:03:40.284961Z",
"url": "https://files.pythonhosted.org/packages/63/17/26a1f658819314806a36315cf2c7118ebedcff534cb723bd71effd060bb8/clean_ffmpeg_python_utils-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-08 04:03:40",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "tylerlum",
"github_project": "clean_ffmpeg_python_utils",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "clean-ffmpeg-python-utils"
}