Skip to content

Pass-throughs should not use -map #23

@kkroening

Description

@kkroening

This currently produces the wrong ffmpeg args:

>>> ' '.join(ffmpeg
...     .merge_outputs(
...         (ffmpeg
...             .input('in1.mp4')
...             .output('out1.mp4')
...         ),
...         (ffmpeg
...             .input('in2.mp4')
...             .output('out2.mp4')
...         )
...     )
...     .get_args()
... )
u'-i in1.mp4 -i in2.mp4 out1.mp4 -map [1] out2.mp4'

The -map should not be there, since no -filter_complex param is needed.

Should be fairly easy to fix by omitting -map for passthroughs and generating output params in the correct order.

See test_multi_passthrough in feature/17 (or master once #17 is merged).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions