Untitled

Anonymous
plain_text
10/11/2024 9:38 AM
444 B
17
Indexable
import av

print("Available codecs for encoding:")
for codec_name in av.codecs_available:
    try:
        codec = av.CodecContext.create(codec_name, 'w')
        if codec.is_encoder:
            print(codec_name)
    except (av.AVError, av.codec.UnknownCodecError, KeyError, ValueError, AttributeError):
        continue
Editor is loading...
Leave a Comment