def make_movie():
    inputs = [
        ffmpeg.input(pattern, pattern_type='glob',
                     framerate=24).filter_('deflicker', mode='pm', size=5)
        for pattern in PATTERNS
    ]
    input = ffmpeg.concat(*inputs)

    output.create_outputs(input, NAME, verbose=True)
Ejemplo n.º 2
0
def make_movie():
    input1 = (ffmpeg.input(PATTERN1, pattern_type='glob',
                           framerate=24).filter_('deflicker',
                                                 mode='pm',
                                                 size=10))
    input2 = (ffmpeg.input(PATTERN2, pattern_type='glob',
                           framerate=48).filter_('deflicker',
                                                 mode='pm',
                                                 size=10))
    input = ffmpeg.concat(input1, input2)

    output.create_outputs(input, NAME, verbose=True, r=48)
Ejemplo n.º 3
0
def make_movie():
    input1 = (
        ffmpeg
        .input(PATTERN1, pattern_type='glob', framerate=48)
        .filter_('deflicker', mode='pm', size=10)
        .filter_('scale', size='hd1080', force_original_aspect_ratio='increase')
    )
    input2 = (
        ffmpeg
        .input(PATTERN2, pattern_type='glob', framerate=48)
        .filter_('deflicker', mode='pm', size=10)
    )
    input = ffmpeg.concat(input1, input2)

    output.create_outputs(input, NAME, verbose=True)
Ejemplo n.º 4
0
import os

from time_lapse import output, source

NAME = os.path.basename(__file__).replace('.py', '')
PATTERN = '/Volumes/Jedi/Cache/220323_1_APL/*.tif',  # APL_103712 - APL_103931
# poster: APL_103782


if __name__ == '__main__':
    source_input = (
        source
        .get_input(PATTERN, 24, 0)
        .filter_('tblend', all_mode='lighten', all_opacity=0.33)
        .filter_('tblend', all_mode='lighten', all_opacity=0.33)
    )

    output.create_outputs(source_input, NAME, watermark=True, verbose=False, dryrun=False)