久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    <small id='uJskS'></small><noframes id='uJskS'>

  1. <legend id='uJskS'><style id='uJskS'><dir id='uJskS'><q id='uJskS'></q></dir></style></legend>

      • <bdo id='uJskS'></bdo><ul id='uJskS'></ul>
    1. <i id='uJskS'><tr id='uJskS'><dt id='uJskS'><q id='uJskS'><span id='uJskS'><b id='uJskS'><form id='uJskS'><ins id='uJskS'></ins><ul id='uJskS'></ul><sub id='uJskS'></sub></form><legend id='uJskS'></legend><bdo id='uJskS'><pre id='uJskS'><center id='uJskS'></center></pre></bdo></b><th id='uJskS'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='uJskS'><tfoot id='uJskS'></tfoot><dl id='uJskS'><fieldset id='uJskS'></fieldset></dl></div>
      <tfoot id='uJskS'></tfoot>

    2. 使用 webengine 視頻和音頻編解碼器

      Use webengine video and audio codecs(使用 webengine 視頻和音頻編解碼器)

      1. <i id='XKKNC'><tr id='XKKNC'><dt id='XKKNC'><q id='XKKNC'><span id='XKKNC'><b id='XKKNC'><form id='XKKNC'><ins id='XKKNC'></ins><ul id='XKKNC'></ul><sub id='XKKNC'></sub></form><legend id='XKKNC'></legend><bdo id='XKKNC'><pre id='XKKNC'><center id='XKKNC'></center></pre></bdo></b><th id='XKKNC'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='XKKNC'><tfoot id='XKKNC'></tfoot><dl id='XKKNC'><fieldset id='XKKNC'></fieldset></dl></div>
          <tbody id='XKKNC'></tbody>

        <small id='XKKNC'></small><noframes id='XKKNC'>

        • <tfoot id='XKKNC'></tfoot>

            <legend id='XKKNC'><style id='XKKNC'><dir id='XKKNC'><q id='XKKNC'></q></dir></style></legend>
              • <bdo id='XKKNC'></bdo><ul id='XKKNC'></ul>
                本文介紹了使用 webengine 視頻和音頻編解碼器的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                對于我的 PyQt5 項目,我使用的是 QWebEngineView,但某些視頻,例如 .mp4 視頻無法播放.我可以使用 pip 安裝編解碼器,或者通過 QApplication() 或類似的方式傳遞某個參數來解決此問題嗎?

                For my PyQt5 project, I am using the QWebEngineView, but certain videos, such as .mp4 videos won't play. Can I install the codecs with pip, or pass a certain argument through QApplication() or something similar in order to fix this problem?

                我是通過pip安裝PyQt5的,所以我沒有C:Qt...文件,只有PyQt5, pyqt5_tools 文件夾在 AppdataLocalProgramsPythonPython37Libsite-packages.

                I installed PyQt5 through pip, so I don't have the C:Qt... files, only the PyQt5, pyqt5_tools folders in AppdataLocalProgramsPythonPython37Libsite-packages.

                我正在使用 Python 3.7.2PyQt5.11

                推薦答案

                pypi提供的pyqtwebengine沒有開啟use_proprietary_codecs標志,所以無法播放.mp4.

                The pyqtwebengine provided by pypi does not enable the use_proprietary_codecs flag so you cannot play the .mp4.

                如果你想獲得一個播放 mp4 的 pyqtwebengine,你必須按照以下步驟操作:

                If you want to get a pyqtwebengine that plays mp4 you must follow these steps:

                1. 您必須使用 WEBENGINE_CONFIG += use_proprietary_codecs 標志編譯 Qt 以啟用播放 mp4 所需的編解碼器(Qt WebEngine功能:音視頻編解碼器)

                1. You must compile Qt with the WEBENGINE_CONFIG += use_proprietary_codecs flag to enable the codecs needed to play mp4(Qt WebEngine Features: Audio and Video Codecs)

                然后使用那個Qt你必須編譯pyqtwebengine.

                Then using that Qt you must compile pyqtwebengine.

                這篇關于使用 webengine 視頻和音頻編解碼器的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                相關文檔推薦

                How to bind a function to an Action from Qt menubar?(如何將函數綁定到 Qt 菜單欄中的操作?)
                PyQt progress jumps to 100% after it starts(PyQt 啟動后進度躍升至 100%)
                How to set yaxis tick label in a fixed position so that when i scroll left or right the yaxis tick label should be visible?(如何將 yaxis 刻度標簽設置在固定位置,以便當我向左或向右滾動時,yaxis 刻度標簽應該可見
                `QImage` constructor has unknown keyword `data`(`QImage` 構造函數有未知關鍵字 `data`)
                Change x-axis ticks to custom strings(將 x 軸刻度更改為自定義字符串)
                How to show progress bar while saving file to excel in python?(如何在python中將文件保存為excel時顯示進度條?)

                      <bdo id='wmqHQ'></bdo><ul id='wmqHQ'></ul>
                      <tfoot id='wmqHQ'></tfoot>
                    • <i id='wmqHQ'><tr id='wmqHQ'><dt id='wmqHQ'><q id='wmqHQ'><span id='wmqHQ'><b id='wmqHQ'><form id='wmqHQ'><ins id='wmqHQ'></ins><ul id='wmqHQ'></ul><sub id='wmqHQ'></sub></form><legend id='wmqHQ'></legend><bdo id='wmqHQ'><pre id='wmqHQ'><center id='wmqHQ'></center></pre></bdo></b><th id='wmqHQ'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='wmqHQ'><tfoot id='wmqHQ'></tfoot><dl id='wmqHQ'><fieldset id='wmqHQ'></fieldset></dl></div>

                        <small id='wmqHQ'></small><noframes id='wmqHQ'>

                          <tbody id='wmqHQ'></tbody>
                      • <legend id='wmqHQ'><style id='wmqHQ'><dir id='wmqHQ'><q id='wmqHQ'></q></dir></style></legend>
                        • 主站蜘蛛池模板: 欧美亚洲一区二区三区 | 日韩三级中文字幕 | 天海翼在线视频 | 午夜aaa | 色av导航 | 久久久久久久免费视频 | 日本在线免费 | 谁有毛片网址 | 国产午夜免费 | 狠狠躁日日躁夜夜躁2022麻豆 | 一级毛片免费 | 四虎在线观看视频 | 免费看黄色小视频 | 久久精选视频 | 日韩图色| 国产一级片在线播放 | 蜜桃一区二区 | 青青草一区二区 | 91狠狠综合| 亚洲欧美成人 | 一区二区三区四区精品 | 久草福利在线观看 | 国产精品毛片va一区二区三区 | 欧美综合网 | 性欧美8khd高清极品 | 久久久久一区二区 | 欧美精产国品一二三区 | 亚洲一区二区在线播放 | 亚洲91精品 | 久久久福利视频 | 欧美精品日韩 | 性久久 | 五月天激情国产综合婷婷婷 | 精品视频一区二区三区四区 | 日韩av毛片 | 国产一区免费视频 | 日韩成人在线播放 | 亚洲天堂中文字幕 | 在线黄色av | 色婷婷狠狠 | 亚洲精品免费视频 |