QMediaPlayer player; auto mimeTypes = player.supportedMimeTypes(); foreach (const QMimeType &mime, mimeTypes) qDebug() << mime.name();
Here’s a clean, informative post suitable for a forum, blog, or social media (e.g., LinkedIn, dev community): Understanding QMediaPlayer Supported Formats in Qt 6 / PyQt6
for mime in supported: print(mime.name())
Or in C++/Qt:
Benefits include:
Plus... it's free!