mendevi.decode.optimal_decode

mendevi.decode.optimal_decode(codec: str, pix_fmt: str) list[str][source]

Return the ffmpeg arguments to decode the video from an accelerated device.