1

Currently I am using Pyqt5, QWebEngine. When I try to open my HTML5 <video> it does not work.

I know that problem is that I have not activated Proprietary codecs.

Look at this solution: Make mp4/h264 video work in QtWebEngine on Windows

I tried -proprietary-codecs as QApplication argument but it did not work.

Brandon Minnick
  • 13,342
  • 15
  • 65
  • 123
Pixsa
  • 571
  • 6
  • 16
  • 1
    Please add all errors you are getting. – rollstuhlfahrer Feb 24 '18 at 00:15
  • There is no evidence in that answer that `-proprietary-codecs` is a QApplication argument. Obviously you need to read it again and try to understand it properly. – ekhumoro Feb 24 '18 at 00:45
  • My question is about activation that codecs. Thank you. I cant run Facebook videos because it says: This cant be run on this browser/platform. Also, i get some more errors but they are different, e.g: PIP_MEDIA_ERROR – Pixsa Feb 24 '18 at 00:47
  • Was this problem ever solved? I am using PyQt 5.14.2 and having the same issues. Thanks – SamG101 Apr 30 '20 at 15:13
  • This issue died with my project, i do not think its fixed. You have to use c++ to compile qt with proprietary codecs as i know. – Pixsa May 01 '20 at 18:31

1 Answers1

0

you need enable it as chromium flag --enable-features=-webengine-proprietary-codecs...