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

Uploaded Source

Built Distribution

ffAlive-1.0.5-py3-none-any.whl (2.4 kB view hashes)

Uploaded Python 3

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