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. How can you get a list of file extensions for video formats that a given system can read?
Forum Updated to NodeBB v4.3 + New Features

How can you get a list of file extensions for video formats that a given system can read?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.8k 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.
  • T Offline
    T Offline
    TwoGunBerg
    wrote on last edited by
    #1

    Hi All;
    I have a media player that i have written which uses phonon. Right now i have a hard coded list of formats that i allow for video and audio playback. I just noticed the "BackendCapabilities::availableMimeTypes()" method which gives me back a list of mime types available on the given system. Is there a way supplied by Qt of converting this list to a list of file extensions? For the momen we are still using Qt 4.7.1 on VS2008 for the windows platform

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

      Why would you think there is a 1:1 mapping between file extensions and video formats? Most of the file extensions in use are just container formats, that can contain many different types of video formats that you may or may not have the right codec for.

      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