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

Uploaded Source

File details

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

File metadata

  • Download URL: ffAlive-1.0.8.tar.gz
  • Upload date:
  • Size: 2.9 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.8.tar.gz
Algorithm Hash digest
SHA256 e1fad346bf3744eaa824d2ad3d478e789e355b5c00042a74a1faad336ef98e14
MD5 bb091289bce910c8a21c59d377ec1561
BLAKE2b-256 8f9c17d0129544e3d8112de1148547f213a4089a05be72645f75cd41378502ae

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