Skip to content

How to do 2-pass VP9 encoding in PyAV? #2019

Description

@chaserhkj

I wanted to do 2-pass VP9 encoding, as described by ffmpeg doc in PyAV.

However I discovered that we did have pass1, pass2 flags to enable the mode, but I couldn't find a way to assign the twopass_stat buffer for the underlying libavencode call

Is this something we don't support yet? If yes I'd love to work on a PR to support it, but I don't see an obvious existing way for PyAV to access the fields of codec-specific contexts like VPxEncoderContext so I am not sure if this is even doable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions