I keep getting DirectShowPlayerService::doRender: Unknown error 0x80040266. in PyQt5

Question:

Is there a way to be able to play my mp3 (which contains Meta Data) file using QMediaPlayer?
I tried using 2 files (one with id3 tags and one without) the one without tags worked while the one with id3 tags didn’t and gave me DirectShowPlayerService::doRender: Unknown error 0x80040266. So, is there a way to load files with id3 tags?

This is my code until now

content = QMediaContent(QUrl.fromLocalFile(mp3_file))
self.media = QMediaPlayer()
self.media.setMedia(content)
self.media.play()
Asked By: Mantrix

||

Answers:

just install K-Lite Codec Pack

Answered By: Mantrix
Categories: questions Tags: , , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.