.. 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 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.8 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
-------------
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": null,
"docs_url": null,
"requires_python": "<4.0.0,>=3.8.1",
"maintainer_email": null,
"keywords": "ffmpeg, ffprobe, ffplay, ffserver, wrapper, media, audio, video, transcoding",
"author": "Andrii Yurchuk",
"author_email": "ay@mntw.re",
"download_url": "https://files.pythonhosted.org/packages/a7/9f/90bee9798d544626075604f3f6d448f5245a00526ad68e30b3a4364c6edd/ffmpy-0.4.0.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=====\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.8 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-------------\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.4.0",
"project_urls": {
"Documentation": "https://ffmpy.readthedocs.io",
"Homepage": "https://github.com/Ch00k/ffmpy",
"Repository": "https://github.com/Ch00k/ffmpy"
},
"split_keywords": [
"ffmpeg",
" ffprobe",
" ffplay",
" ffserver",
" wrapper",
" media",
" audio",
" video",
" transcoding"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ff1edb99aa669eee301966bc6c997d60a0240f9cecae63f044b2e5a5310e4bf7",
"md5": "a9626ac9d2da9443f75d93c457c16684",
"sha256": "39c0f20c5b465e7f8d29a5191f3a7d7675a8c546d9d985de8921151cd9b59e14"
},
"downloads": -1,
"filename": "ffmpy-0.4.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a9626ac9d2da9443f75d93c457c16684",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0.0,>=3.8.1",
"size": 5762,
"upload_time": "2024-07-30T19:24:43",
"upload_time_iso_8601": "2024-07-30T19:24:43.480973Z",
"url": "https://files.pythonhosted.org/packages/ff/1e/db99aa669eee301966bc6c997d60a0240f9cecae63f044b2e5a5310e4bf7/ffmpy-0.4.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a79f90bee9798d544626075604f3f6d448f5245a00526ad68e30b3a4364c6edd",
"md5": "b4f8e10b2a8ffd1c0d2b8c7f81c5f169",
"sha256": "131b57794e802ad555f579007497f7a3d0cab0583d37496c685b8acae4837b1d"
},
"downloads": -1,
"filename": "ffmpy-0.4.0.tar.gz",
"has_sig": false,
"md5_digest": "b4f8e10b2a8ffd1c0d2b8c7f81c5f169",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0.0,>=3.8.1",
"size": 5552,
"upload_time": "2024-07-30T19:24:44",
"upload_time_iso_8601": "2024-07-30T19:24:44.877102Z",
"url": "https://files.pythonhosted.org/packages/a7/9f/90bee9798d544626075604f3f6d448f5245a00526ad68e30b3a4364c6edd/ffmpy-0.4.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-30 19:24:44",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Ch00k",
"github_project": "ffmpy",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "ffmpy"
}