ffmpy


Nameffmpy JSON
Version 0.5.0 PyPI version JSON
download
home_pagehttps://github.com/Ch00k/ffmpy
SummaryA simple Python wrapper for FFmpeg
upload_time2024-12-19 15:52:24
maintainerNone
docs_urlNone
authorAndrii Yurchuk
requires_python<4.0,>=3.8
licenseMIT
keywords ffmpeg ffprobe ffplay ffserver wrapper media audio video transcoding
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. 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,>=3.8",
    "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/4d/66/5697a7421c418ccbfae87b7e6503b480070f7cb16c25c77201afc6246348/ffmpy-0.5.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.5.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": "535d65f40bd333463b3230b3a72d93873caaf49b0cbb5228598fafb75fcc5357",
                "md5": "63db936010f9a0abb6f0030ef6ef9f65",
                "sha256": "df3799cf5816daa56d4959a023630ee53c6768b66009dae6d131519ba4b80233"
            },
            "downloads": -1,
            "filename": "ffmpy-0.5.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "63db936010f9a0abb6f0030ef6ef9f65",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.8",
            "size": 6008,
            "upload_time": "2024-12-19T15:52:22",
            "upload_time_iso_8601": "2024-12-19T15:52:22.416536Z",
            "url": "https://files.pythonhosted.org/packages/53/5d/65f40bd333463b3230b3a72d93873caaf49b0cbb5228598fafb75fcc5357/ffmpy-0.5.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4d665697a7421c418ccbfae87b7e6503b480070f7cb16c25c77201afc6246348",
                "md5": "119da089f6c90e30e27add1012a99829",
                "sha256": "277e131f246d18e9dcfee9bb514c50749031c43582ce5ef82c57b51e3d3955c3"
            },
            "downloads": -1,
            "filename": "ffmpy-0.5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "119da089f6c90e30e27add1012a99829",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.8",
            "size": 5523,
            "upload_time": "2024-12-19T15:52:24",
            "upload_time_iso_8601": "2024-12-19T15:52:24.690225Z",
            "url": "https://files.pythonhosted.org/packages/4d/66/5697a7421c418ccbfae87b7e6503b480070f7cb16c25c77201afc6246348/ffmpy-0.5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-19 15:52:24",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Ch00k",
    "github_project": "ffmpy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "ffmpy"
}
        
Elapsed time: 0.41369s