title: Why media player (pyqt5) is not working on windows 10 - Python
body: <p>I want to create a videoplayer using mediaplayer in pyqt5 to display mp4 videos ,but it doesn't work for me (I have python 3.6.5 ,pyqt5.14.1 on windows os 10 ). I think that the problem is in windows because I tried the same code with the same version of python and pyqt on windows8 and it's working well.</p>
  
  <p>I used this code <a href="https://stackoverflow.com/questions/57842104/how-to-play-videos-in-pyqt">How to play videos in pyqt</a></p>
  
  <p>I got this  with any error (when i run it in IDLE)</p>
  
  <p><img src="https://i.stack.imgur.com/MLR3N.png" alt="enter image description here"></p>
  
  <p>but when I run it in cmd i get this error :</p>
  
  <p><img src="https://i.stack.imgur.com/CroJp.png" alt="enter image description here"></p>
  
  <p>DirectShowPlayerService :: doRender : Unresolved error code 0x80040266 (IDispatch error #102)</p>