.. image:: https://github.com/Ch00k/ffmpy/workflows/test/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 simplistic `FFmpeg <http://ffmpeg.org/>`_ command line wrapper. It implements a Pythonic interface for FFmpeg command line compilation and uses Python `subprocess <https://docs.python.org/2/library/subprocess.html>`_ module to execute compiled command line.
Installation
------------
You guessed it::
pip install ffmpy
Quick example
-------------
.. code:: python
>>> import ffmpy
>>> ff = ffmpy.FFmpeg(
... inputs={'input.mp4': None},
... outputs={'output.avi': None}
... )
>>> ff.run()
This will take ``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
-------------
http://ffmpy.rtfd.io
See `Examples <http://ffmpy.readthedocs.io/en/latest/examples.html>`_ section for usage examples.
License
-------
ffmpy is licensed under the terms of MIT license
Raw data
{
"_id": null,
"home_page": "https://github.com/Ch00k/ffmpy",
"name": "ffmpy",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "ffmpeg ffprobe wrapper audio video transcoding",
"author": "Andrii Yurchuk",
"author_email": "ay@mntw.re",
"download_url": "https://files.pythonhosted.org/packages/1d/70/07914754979f5dd80bda947a0ffd181c08bfcb137b01c3c0cef45254d271/ffmpy-0.3.2.tar.gz",
"platform": null,
"description": ".. image:: https://github.com/Ch00k/ffmpy/workflows/test/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=====\nffmpy is a simplistic `FFmpeg <http://ffmpeg.org/>`_ command line wrapper. It implements a Pythonic interface for FFmpeg command line compilation and uses Python `subprocess <https://docs.python.org/2/library/subprocess.html>`_ module to execute compiled command line.\n\nInstallation\n------------\nYou guessed it::\n\n pip install ffmpy\n\nQuick example\n-------------\n.. code:: python\n\n >>> import ffmpy\n >>> ff = ffmpy.FFmpeg(\n ... inputs={'input.mp4': None},\n ... outputs={'output.avi': None}\n ... )\n >>> ff.run()\n\nThis will take ``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-------------\nhttp://ffmpy.rtfd.io\n\nSee `Examples <http://ffmpy.readthedocs.io/en/latest/examples.html>`_ section for usage examples.\n\nLicense\n-------\nffmpy is licensed under the terms of MIT license\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A simple Python wrapper for ffmpeg",
"version": "0.3.2",
"project_urls": {
"Homepage": "https://github.com/Ch00k/ffmpy"
},
"split_keywords": [
"ffmpeg",
"ffprobe",
"wrapper",
"audio",
"video",
"transcoding"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1d7007914754979f5dd80bda947a0ffd181c08bfcb137b01c3c0cef45254d271",
"md5": "7d9dfc2627ee118859f336d72e2c0123",
"sha256": "475ebfff1044661b8d969349dbcd2db9bf56d3ee78c0627e324769b49a27a78f"
},
"downloads": -1,
"filename": "ffmpy-0.3.2.tar.gz",
"has_sig": false,
"md5_digest": "7d9dfc2627ee118859f336d72e2c0123",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5515,
"upload_time": "2024-02-12T10:01:59",
"upload_time_iso_8601": "2024-02-12T10:01:59.530779Z",
"url": "https://files.pythonhosted.org/packages/1d/70/07914754979f5dd80bda947a0ffd181c08bfcb137b01c3c0cef45254d271/ffmpy-0.3.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-12 10:01:59",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Ch00k",
"github_project": "ffmpy",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "ffmpy"
}