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.1.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ffAlive-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 56ca57ddb6d7238e597a42f100086d48492d44ba025304bc10ce33aa54668b23
MD5 a5df8760ac0c9128f41d525d8c982dcf
BLAKE2b-256 44b65e8c3a36c58dbfcabe3253439f64bb2b1db39fbd277f3f7625bf2042bc33

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ffAlive-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bc1518d0c03bc0e04e9286b0ac9055380e679095644ba5db71b144c3dc6cde13
MD5 dd3528dcae4b2dea62e67a368db99f27
BLAKE2b-256 d649f8fc998bcc8a7b559c943da0478f241cc278a330761a9c3d2bc5917a1fcb

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