Skip to content
forked from Ch00k/ffmpy

Pythonic interface for FFmpeg/FFprobe command line

License

Notifications You must be signed in to change notification settings

githubtrip/ffmpy

 
 

Repository files navigation

Tests Documentation Latest version

ffmpy

ffmpy is a simplystic FFmpeg command line wrapper. It implements a Pythonic interface for FFmpeg command line compilation and uses Python subprocess module to execute compiled command line.

Installation

You guessed it:

pip install ffmpy

Quick example

>>> 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 section for usage examples.

License

ffmpy is licensed under the terms of MIT license

About

Pythonic interface for FFmpeg/FFprobe command line

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 93.9%
  • Go 6.1%