Skip to content

Can't pass value-less options? #218

@ceptonit

Description

@ceptonit

Some ffmpeg options don't take any values.
In this example '-an' (it's the disable audio option).
So how can we pass them on?

with: input_stream = ffmpeg.input('input.mp4')

I tried:
output_stream = ffmpeg.output(input_stream, 'output.mp4', 'an')
output_stream = ffmpeg.output(input_stream, 'output.mp4', an='')
output_stream = ffmpeg.output(input_stream, 'output.mp4', **{'an': ''})

None of the 3 worked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    answeredAnswered one or more questions that may be relevant to other usersenhancementquestion

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions