Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I've run into the same problem recently. It seems to be that Phonon has a bit of a hissy fit about ID3 tags, particularly compressed ones. I've taken to creating a temporary copy of every mp3 that I open and using <a href="http://code.google.com/p/mutagen/" rel="nofollow" title="mutagen">mutagen</a> to delete the tags from that copy. I then open the de-tagged temporary file using PyQt/Phonon, and everything works as I expect. BTW, mutagen is awesome.</p> <p>Phonon does have a bit of a habit of failing reasonably silently. This is what I do: check if your <code>MediaObject</code> is in a <code>Phonon.ErrorState</code>; if so check its <code>errorString()</code>, usually some incomprehensible message. Google this message and try to work from there.</p> <p><strong>Edit:</strong> Hmm, interesting. It's not Phonon having the problem, it's the DirectShow backend not being able to play the file with the compressed ID3 headers. While the "fix" I outline above does work, I found I was still having problems playing other types of files, e.g. .m4a, despite having the right codecs installed.</p> <p>The solution was to install the <a href="http://www.free-codecs.com/download/K_lite_codec_pack.htm" rel="nofollow" title="K-Lite Codec Pack">K-Lite Codec Pack</a>, and use the <code>Win7DSFilterTweaker</code> tool that comes with it to change the default decoder for the various codec types from "Microsoft" to "ffdshow". You might also need to run the <em>ffdshow audio decoder configuration</em> tool and tick the box marked <em>Show dialog when an unknown application tries to load ffshow</em> in the <em>DirectShow control</em> tab.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload