Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QMediaPlayer supported mime types
Qt 6.11 is out! See what's new in the release blog

QMediaPlayer supported mime types

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mcallegari79
    wrote on last edited by
    #1

    Hello all,
    I've started to use the QMediaPlayer class on Qt 5.2.1 and I believe there are a few things missing.
    If I call
    @QMediaPlayer::supportedMimeTypes()@
    I get an empty QStringList. (tried on Linux and Windows)
    The documentation says it's a deprecated API but it doesn't say which one to use.
    My guess is that the only way right now is using "hasSupport", but I don't understand the convenience of it.

    Should an application guess all the audio/video mime types in the world and tries all the combinations with all the existing audio/video codecs ?
    Sounds like a very uncomfortable way to retrieve information that the default audio/video provider can clearly provide (gstreamer, directshow, etc..) in a better way.

    Any suggestion ?

    Thanks

    1 Reply Last reply
    1
    • A Offline
      A Offline
      ankursaxena
      wrote on last edited by
      #2

      In windows, Most probably it supports only .wmv files.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved