.. image:: https://github.com/Ch00k/ffmpy/workflows/ci/badge.svg
:target: https://github.com/Ch00k/ffmpy/actions
:alt: Tests
.. image:: https://codecov.io/gh/Ch00k/ffmpy/branch/master/graphs/badge.svg
:target: https://codecov.io/github/Ch00k/ffmpy
:alt: Coverage
.. image:: https://readthedocs.org/projects/ffmpy/badge/?version=latest
:target: http://ffmpy.readthedocs.io/en/latest/?badge=latest
:alt: Documentation
.. image:: https://img.shields.io/pypi/v/ffmpy.svg
:target: https://pypi.python.org/pypi/ffmpy
:alt: Latest version
ffmpy
=====
*ffmpy* is a simple `FFmpeg <http://ffmpeg.org/>`_ command line wrapper. It implements a Pythonic interface for FFmpeg command line compilation and uses Python's `subprocess <https://docs.python.org/2/library/subprocess.html>`_ to execute the compiled command line.
*ffmpy* requires Python 3.9 or greater.
Installation
------------
::
pip install ffmpy
Quick example
-------------
.. code:: python
from ffmpy import FFmpeg
ff = FFmpeg(
inputs={'input.mp4': None},
outputs={'output.avi': None}
)
ff.run()
This will take the ``input.mp4`` file in the current directory as the input, change the video container from MP4 to AVI without changing any other video parameters, and create a new output file ``output.avi`` in the current directory.
Documentation
-------------
https://ffmpy.readthedocs.io/
See `Examples <https://ffmpy.readthedocs.io/latest/examples.html>`_ section for usage examples.
License
-------
ffmpy is licensed under the terms of MIT license
Raw data
{
"_id": null,
"home_page": null,
"name": "ffmpy",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "ffmpeg, ffprobe, ffplay, ffserver, wrapper, media, audio, video, transcoding",
"author": "Andrii Yurchuk",
"author_email": "Andrii Yurchuk < <ay@mntw.re>>",
"download_url": "https://files.pythonhosted.org/packages/85/dd/80760526c2742074c004e5a434665b577ddaefaedad51c5b8fa4526c77e0/ffmpy-0.6.3.tar.gz",
"platform": null,
"description": ".. image:: https://github.com/Ch00k/ffmpy/workflows/ci/badge.svg\n :target: https://github.com/Ch00k/ffmpy/actions\n :alt: Tests\n\n.. image:: https://codecov.io/gh/Ch00k/ffmpy/branch/master/graphs/badge.svg\n :target: https://codecov.io/github/Ch00k/ffmpy\n :alt: Coverage\n\n.. image:: https://readthedocs.org/projects/ffmpy/badge/?version=latest\n :target: http://ffmpy.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation\n\n.. image:: https://img.shields.io/pypi/v/ffmpy.svg\n :target: https://pypi.python.org/pypi/ffmpy\n :alt: Latest version\n\n\nffmpy\n=====\n*ffmpy* is a simple `FFmpeg <http://ffmpeg.org/>`_ command line wrapper. It implements a Pythonic interface for FFmpeg command line compilation and uses Python's `subprocess <https://docs.python.org/2/library/subprocess.html>`_ to execute the compiled command line.\n\n*ffmpy* requires Python 3.9 or greater.\n\nInstallation\n------------\n::\n\n pip install ffmpy\n\nQuick example\n-------------\n.. code:: python\n\n from ffmpy import FFmpeg\n ff = FFmpeg(\n inputs={'input.mp4': None},\n outputs={'output.avi': None}\n )\n ff.run()\n\nThis will take the ``input.mp4`` file in the current directory as the input, change the video container from MP4 to AVI without changing any other video parameters, and create a new output file ``output.avi`` in the current directory.\n\nDocumentation\n-------------\nhttps://ffmpy.readthedocs.io/\n\nSee `Examples <https://ffmpy.readthedocs.io/latest/examples.html>`_ section for usage examples.\n\nLicense\n-------\nffmpy is licensed under the terms of MIT license\n",
"bugtrack_url": null,
"license": null,
"summary": "A simple Python wrapper for FFmpeg",
"version": "0.6.3",
"project_urls": null,
"split_keywords": [
"ffmpeg",
" ffprobe",
" ffplay",
" ffserver",
" wrapper",
" media",
" audio",
" video",
" transcoding"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "e950e9409c94a0e9a9d1ec52c6f60e086c52aa0178a0f6f00d7f5e809a201179",
"md5": "304099bef248bf71d6fb4e279902dd1a",
"sha256": "f7b25c85a4075bf5e68f8b4eb0e332cb8f1584dfc2e444ff590851eaef09b286"
},
"downloads": -1,
"filename": "ffmpy-0.6.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "304099bef248bf71d6fb4e279902dd1a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 5495,
"upload_time": "2025-10-11T07:34:55",
"upload_time_iso_8601": "2025-10-11T07:34:55.124512Z",
"url": "https://files.pythonhosted.org/packages/e9/50/e9409c94a0e9a9d1ec52c6f60e086c52aa0178a0f6f00d7f5e809a201179/ffmpy-0.6.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "85dd80760526c2742074c004e5a434665b577ddaefaedad51c5b8fa4526c77e0",
"md5": "af418071a0221e7352022f2b9bc098ef",
"sha256": "306f3e9070e11a3da1aee3241d3a6bd19316ff7284716e15a1bc98d7a1939eaf"
},
"downloads": -1,
"filename": "ffmpy-0.6.3.tar.gz",
"has_sig": false,
"md5_digest": "af418071a0221e7352022f2b9bc098ef",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 4975,
"upload_time": "2025-10-11T07:34:56",
"upload_time_iso_8601": "2025-10-11T07:34:56.609580Z",
"url": "https://files.pythonhosted.org/packages/85/dd/80760526c2742074c004e5a434665b577ddaefaedad51c5b8fa4526c77e0/ffmpy-0.6.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-11 07:34:56",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "ffmpy"
}