Skip to content

Supported audio formats are not listed in code or docs #2147

@Anthonyntilelli

Description

@Anthonyntilelli

I'm working on converting a sounddevice frame into an av.audio frame, and as part of this process, I need to specify the audio format string. However, the documentation AudioFormat docs does not list the supported format strings, nor does there appear to be a way to programmatically enumerate them.

It would be very helpful to have a documented list of supported audio formats, and ideally, a method such as av.audio.format.AudioFormat.all_formats() to retrieve them programmatically.

This limitation also seems to apply to video formats—there is no clear way to list supported pixel formats either.

Request:

Please document all supported audio and video format strings.
Consider adding a public API to enumerate supported formats programmatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions