Obtaining the list of all audio mimetypes supported by gstreamer

Where can I get the complete list of audio mimetypes and their aliases supported by gstreamer.

This is wrt https://gitlab.gnome.org/GNOME/rhythmbox/-/issues/1884

Thanks!

GStreamer does not use mimetypes anywhere. You’ll have to maintain a mimetype/caps database yourself if this is needed.

To query at runtime which caps are supported by a specific GStreamer installation (i.e. based on the available plugins on that system), you can use the GstRegistry API.

There’s code for both inside the WebKit GStreamer backend that could be taken as inspiration here.

1 Like

Any links would be helpful here .

Thanks!

See https://github.com/WebKit/WebKit/blob/main/Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp