<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Which file formats (or codecs) does QMediaPlayer support?]]></title><description><![CDATA[<p dir="auto">I am looking through the documentation of QMediaPlayer and all the classes used within. However, the best answers I could get are:<br />
(<a href="http://doc.qt.io/qt-5/multimediaoverview.html#limitations" target="_blank" rel="noopener noreferrer nofollow ugc">http://doc.qt.io/qt-5/multimediaoverview.html#limitations</a>)</p>
<pre><code>Qt Multimedia features for Windows are implemented in two plugins; one using the Microsoft DirectShow API, and another using WMF (Windows Media Foundation) framework.
</code></pre>
<p dir="auto">And also:<br />
(<a href="http://doc.qt.io/qt-5/qtmultimedia-windows.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://doc.qt.io/qt-5/qtmultimedia-windows.html</a>)</p>
<pre><code>The Qt Multimedia APIs build upon the multimedia framework of the underlying platform. This can mean that support for various codecs or containers can vary between machines, depending on what the end user has installed.
</code></pre>
<p dir="auto">Nowhere else in the documentation is specified how this actually works. How do I determine what can be played and what not? More specific, which file formats are supported (mp3, aac, flac, ogg, wav, ect...)?<br />
I am also aiming at a crossplatform project (even though I will target Windows at first), which also brings the question of which file formats are supported on Linux and Mac OS X?<br />
And if some file formats are not supported, what can I do to support them? Would it work by installing some external codecs - like on Windows, the K-Lite codecs pack? Or should I write my own code (or use a library) to decode the files and then play some raw (already decoded) audio samples?</p>
]]></description><link>https://forum.qt.io/topic/57675/which-file-formats-or-codecs-does-qmediaplayer-support</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 11:12:06 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/57675.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 12 Aug 2015 01:38:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Which file formats (or codecs) does QMediaPlayer support? on Wed, 12 Aug 2015 13:37:08 GMT]]></title><description><![CDATA[<p dir="auto">Awesome info, really thank you very much!<br />
Now that I read those links, looks like it would be enough for someone to have the proper codecs installed without requiring further assistence from my side. For windows in particular, some codecs pack like the aforementioned K-Lite should be just enough.</p>
<p dir="auto">Again, thank you ;)</p>
]]></description><link>https://forum.qt.io/post/286212</link><guid isPermaLink="true">https://forum.qt.io/post/286212</guid><dc:creator><![CDATA[T3STY]]></dc:creator><pubDate>Wed, 12 Aug 2015 13:37:08 GMT</pubDate></item><item><title><![CDATA[Reply to Which file formats (or codecs) does QMediaPlayer support? on Wed, 12 Aug 2015 08:30:11 GMT]]></title><description><![CDATA[<p dir="auto">For Windows check: <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/dd407173%28v=vs.85%29.aspx" target="_blank" rel="noopener noreferrer nofollow ugc">Supported Formats In DirectsShow</a><br />
For OSX: <a href="https://support.apple.com/en-us/HT201290" target="_blank" rel="noopener noreferrer nofollow ugc">Media formats supported by QuickTime Player</a></p>
<p dir="auto">For Linux it really depends on the installed Gstreamer plugins,<br />
this can boil down to nothing or pretty much any media codec<br />
out there.</p>
<p dir="auto">For Linux you need to just simply specify that the application depends<br />
on the specific gstreamer-plugins-{bad,base,ugly,good} plugin package<br />
that contains support for the codec you need.</p>
<p dir="auto">For windows installing a codec pack is one solution, ffdshow might be<br />
a good solution.</p>
<p dir="auto">Also simply using Gstreamer directly would be one option if more<br />
advanced media capability is needed, this also guarantees that same set of<br />
functionality is available on all platforms.</p>
]]></description><link>https://forum.qt.io/post/286175</link><guid isPermaLink="true">https://forum.qt.io/post/286175</guid><dc:creator><![CDATA[Huulivoide]]></dc:creator><pubDate>Wed, 12 Aug 2015 08:30:11 GMT</pubDate></item></channel></rss>