3

QMediaPlayer does not play a few mp3 files.

e.g "..\Black Star Elephant\02 Am I Wrong.mp3" does not play but
..Birdy_-_Fire_Within\03 - Light Me Up.mp3" plays.

For the file that does not play, I get the following;

TagLib: MPEG::Header::parse() -- Invalid sample rate. , DirectShowPlayerService::doRender: Unresolved error code 80040266 and finally crashes with error exited with code -1073741819

I cant figure out any particular differences between the 2 files and why Directoshow fails for others.

Roman R.
  • 68,205
  • 6
  • 94
  • 158
Acha Bill
  • 1,255
  • 1
  • 7
  • 20

1 Answers1

3

0x80040266 is VFW_E_NO_TRANSPORT "Pins cannot connect due to not supporting the same transport." The problem with "non-playable" files is that they have an ID3 tag section, which is overly long for stock decoder to skip it an reach the data.

See also:

Community
  • 1
  • 1
Roman R.
  • 68,205
  • 6
  • 94
  • 158
  • Thanks. From the link, "These files will still play fine if you open them starting with WM ASF Reader Filter. This assumes you build, or at least start building, the graph manually to override default building behavior.".. how do I do this? – Acha Bill Jul 25 '15 at 15:56
  • Yes, it assumes that you alter default graph building sequence. Since you are using a library - as it seems - you need to look up how it is doing this exactly and where you can interfere. – Roman R. Jul 25 '15 at 16:00