From ab02f23195a090250e64635916adab8d288e2d4e Mon Sep 17 00:00:00 2001 From: WyattBlue Date: Tue, 27 Oct 2026 20:26:19 -0400 Subject: [PATCH] Update encoder name stubs to FFmpeg 9.0 --- av/audio/__init__.pyi | 4 +--- av/subtitles/__init__.pyi | 2 +- av/video/__init__.pyi | 8 ++------ 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/av/audio/__init__.pyi b/av/audio/__init__.pyi index e50d58532..71a653189 100644 --- a/av/audio/__init__.pyi +++ b/av/audio/__init__.pyi @@ -3,7 +3,7 @@ from typing import Literal from .frame import AudioFrame as AudioFrame from .stream import AudioStream as AudioStream -# FFmpeg 8.1 encoders and the codec descriptor aliases that resolve to them. +# FFmpeg 9.0 encoders and the codec descriptor aliases that resolve to them. _AudioCodecName = Literal[ "aac", "aac_at", @@ -108,8 +108,6 @@ _AudioCodecName = Literal[ "roq_dpcm", "s302m", "sbc", - "sonic", - "sonicls", "speex", "truehd", "tta", diff --git a/av/subtitles/__init__.pyi b/av/subtitles/__init__.pyi index c02a53551..9d10afe0a 100644 --- a/av/subtitles/__init__.pyi +++ b/av/subtitles/__init__.pyi @@ -1,6 +1,6 @@ from typing import Literal -# FFmpeg 8.1 encoders and the codec descriptor aliases that resolve to them. +# FFmpeg 9.0 encoders and the codec descriptor aliases that resolve to them. _SubtitleCodecName = Literal[ "ass", "dvb_subtitle", diff --git a/av/video/__init__.pyi b/av/video/__init__.pyi index 540b181a6..3763244b1 100644 --- a/av/video/__init__.pyi +++ b/av/video/__init__.pyi @@ -3,7 +3,7 @@ from typing import Literal from .frame import VideoFrame as VideoFrame from .stream import VideoStream as VideoStream -# FFmpeg 8.1 encoders and the codec descriptor aliases that resolve to them. +# FFmpeg 9.0 encoders and the codec descriptor aliases that resolve to them. _VideoCodecName = Literal[ "a64_multi", "a64_multi5", @@ -60,7 +60,6 @@ _VideoCodecName = Literal[ "h264_mf", "h264_nvenc", "h264_oh", - "h264_omx", "h264_qsv", "h264_rkmpp", "h264_v4l2m2m", @@ -123,7 +122,6 @@ _VideoCodecName = Literal[ "mpeg2video", "mpeg4", "mpeg4_mediacodec", - "mpeg4_omx", "mpeg4_v4l2m2m", "msmpeg4", "msmpeg4v2", @@ -133,6 +131,7 @@ _VideoCodecName = Literal[ "pam", "pbm", "pcx", + "pdv", "pfm", "pgm", "pgmyuv", @@ -165,9 +164,6 @@ _VideoCodecName = Literal[ "tiff", "utvideo", "v210", - "v308", - "v408", - "v410", "vbn", "vc2", "vnull",