Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Using h264 and mp3 content in QWebEngine?
QtWS25 Last Chance

Using h264 and mp3 content in QWebEngine?

Scheduled Pinned Locked Moved Unsolved QtWebEngine
6 Posts 2 Posters 3.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hakan AFAT
    wrote on 27 Aug 2017, 20:00 last edited by
    #1

    Hi Dear good people and reliable qt champions,
    I'm trying to show H264 and mp3 content in QtWebEngine. But i didn't find the problem about it. Lastly i found this command;

    qmake WEBENGINE_CONFIG+=use_proprietary_codecs
    

    If i want to play a h264 video webpage in qt application, i will need compile webengine for myself. I compiled qt a lot of times for embedded boards. But this reason, why we re-compile qtwebengine with using this command? There are as least 18980 header and source file, i saw. I will fuck the required licences for play fucking video. Why openH264 is not used though it was mentioned by qt? If i successful, i will share compiled libs. (Linux Mint Serena).

    0_1503863959426_h264.png

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 27 Aug 2017, 21:03 last edited by
      #2

      Hi,

      First and foremost, please stay polite.

      H.264 if a proprietary codec. If you want to use it in your application you must either get a license or use openH264. This decision is your responsibility and outside of Qt's scope.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • H Offline
        H Offline
        Hakan AFAT
        wrote on 29 Aug 2017, 13:26 last edited by
        #3

        Qt Opensource could comes with openH264 support.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 30 Aug 2017, 07:29 last edited by
          #4

          Like I already wrote in another thread, adding a 3rd party is not just throwing some code in. You have to validate that it's working, you have to keep up with their development, in the case of such a format you'll have to provide a way to replace it with one of the commercial offering, then you also become responsible to fix it if there's a vulnerability found in the codec that may affect all the user base you have etc.

          Without forgetting the build requirements that you must also ensure the people building Qt can easily install and use.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • H Offline
            H Offline
            Hakan AFAT
            wrote on 1 Sept 2017, 05:21 last edited by
            #5

            Qt Multimedia uses gstreamer backend for audio. Someone who compile Qt Opensource for linux, need to install libgstreamer packages on own system. It didnt work.
            Why we cant choose libgstreamer or libvlc?

            Is it not a 3rd party code? What do you think about that?

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 1 Sept 2017, 07:34 last edited by
              #6

              We might have a misunderstanding about the meaning of 3rdparty.

              3rdparty in this case refers to libraries like SQLite that are provided as part of Qt itself even though if you build Qt yourself, you can use your distribution provided development package.

              Gstreamer is a system dependency like MySQL.

              If you would like to use LibVLC then you have the VLC-Qt project. If you would like to have libVLC as a backend for Qt Multimedia then you are welcome to contribute a plugin using it.

              People tend to forget something: the Qt project does not have an infinite amount of people working day and night on it. Adding new backends with new dependencies requires both people and time to write and test the code as well as maintain it. A dependency also adds overhead in maintenance, security checks etc.

              As for QtWebEngine, it's using chromium as backend so if you'd like to something specific for it, you should check with the upstream project.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0

              3/6

              29 Aug 2017, 13:26

              • Login

              • Login or register to search.
              3 out of 6
              • First post
                3/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved