Skip to main content

FFMPEG with Progress Bars

Project description

ffAlive

Run FFMPEG commands with progress bars.

Usage

from ffAlive import ffAlive
ffAlive( 'input.mp4', 'output.mov' )

It's that simple! If you want to add additional options, add them as a list in the third paramater:

from ffAlive import ffAlive
ffAlive( 'input.mp4', 'output.mov', [ '-c:v', 'prores_ks' ] )

And if you have something more complex, you can use False for the first two parameters, and put everything in the list.

from ffAlive import ffAlive
ffAlive( False, False, [ 
    '-i', 'left.wav',
    '-i', 'right.wav',
    '-i', 'centre.wav',
    '-i', 'lfe.wav',
    '-i', 'ls.wav',
    '-i', 'rs.wav',
    '-filter_complex', '[0][1][2][3][4]amerge=inputs=5,channelmap=map=0|1|2|3|4|5:5.1',
    '5-1.wav',
    '-ac', '2',
    'stereo.wav'
] )

It also has a useful ffprobe tool, that outputs as a dictionary.

from ffAlive import ffprobe
print( ffprobe( 'input.mp4' ) )

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ffAlive-1.0.3.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

ffAlive-1.0.3-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file ffAlive-1.0.3.tar.gz.

File metadata

  • Download URL: ffAlive-1.0.3.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.0

File hashes

Hashes for ffAlive-1.0.3.tar.gz
Algorithm Hash digest
SHA256 f0ec77952d977442eccaa76e8113002e143db316961762fb99ffed3b1594c245
MD5 b97ed9e4b19456ccd122233647455671
BLAKE2b-256 a883b86ef0a926dbdba0a52cd26104948eb065721a830b4525fe0a9fdfe5d141

See more details on using hashes here.

File details

Details for the file ffAlive-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: ffAlive-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.0

File hashes

Hashes for ffAlive-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d6b2252781543df990cd95f977528d1802ff9a5d1ae68b2a1a57cde39f35c7a0
MD5 3afb957ebb3944a9bba339da81d0aab2
BLAKE2b-256 66ae1432edf5f981832e14425f54630e822d4e733419a4ec677258122ae5d176

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page