8000 Support for `filter_script:v` · Issue #833 · kkroening/ffmpeg-python · GitHub
[go: up one dir, main page]

Skip to content
Support for filter_script:v #833
@pomterre

Description

@pomterre

I am trying to integrate filter_script:v from the ffmpeg cli tool, useful for long, complex filter graphs where it gets limited when using in command line directly, and throws an too many args error. This is fixed by running from the file script instead.

Here is the ffmpeg command I am trying to replicate using ffmpeg-python:

ffmpeg -i video.mp4 -filter_script:v ../crop_filter.txt -c:v h264_nvenc -preset slow -crf 18 output.mp4

I could not find a way to use filter_script:v directly in ffmpeg-python. The current API allows for direct filter strings via .filter(), but not for external filter scripts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0