Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Why is there no sound in the qwebview?

Why is there no sound in the qwebview?

Scheduled Pinned Locked Moved Solved Qt WebKit
23 Posts 9 Posters 4.0k 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.
  • M Offline
    M Offline
    Mucahit
    wrote on last edited by
    #1

    Hello all,

    I've a qt project. I use qwebview in that project. Although i could play video on qwebview, i couldn't get sound. Is there anyone to help me ? Thank you .

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      What version of Qt ?
      What OS ?
      How did you install it ?
      On what device ?

      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
      • M Offline
        M Offline
        Mucahit
        wrote on last edited by
        #3

        Hi,

        My version is Qt Creator 4.8.2 based on Qt 5.11.3(GCC 8.3.0,32 Bit)
        My operating system is Raspbian
        My device is Raspberry Pi Compute Module CM3
        I got my voice with low pass and high pass circuits that I installed in the pwm outputs of the card. I get sound when I play it with Omxplayer.

        jsulmJ 1 Reply Last reply
        0
        • M Mucahit

          Hi,

          My version is Qt Creator 4.8.2 based on Qt 5.11.3(GCC 8.3.0,32 Bit)
          My operating system is Raspbian
          My device is Raspberry Pi Compute Module CM3
          I got my voice with low pass and high pass circuits that I installed in the pwm outputs of the card. I get sound when I play it with Omxplayer.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Mucahit You forgot to mention Qt version you're using (you will not find it in "About Qt Creator..." dialog).

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • M Offline
            M Offline
            Mucahit
            wrote on last edited by
            #5

            Hi,

            How can I learn Qt version ? I thought I would find About Qt Creator.

            jsulmJ 1 Reply Last reply
            0
            • M Mucahit

              Hi,

              How can I learn Qt version ? I thought I would find About Qt Creator.

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @Mucahit said in Why is there no sound in the qwebview?:

              About Qt Creator

              This only shows Qt version which was used to build QtCreator.
              What Qt version did you install?
              If you do not know then go to "Tools/Options.../Kits" and check the Kit you're using.

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • M Offline
                M Offline
                Mucahit
                wrote on last edited by
                #7

                Thank you,

                I checked, writes like : Qt 5.11.3 in PATH (qt5) /usr/lib/qt5/bin/qmake

                jsulmJ 1 Reply Last reply
                0
                • M Mucahit

                  Thank you,

                  I checked, writes like : Qt 5.11.3 in PATH (qt5) /usr/lib/qt5/bin/qmake

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @Mucahit Playing video with some other application (like VCL) does work properly on your RPi?

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    Mucahit
                    wrote on last edited by Mucahit
                    #9

                    Yes,

                    For example when i execute this code in terminal 'omxplayer sound.mp4' , i am getting sound.But when i play the url of the same song on qwebview i can't get sound.
                    url :https://www.youtube.com/watch?v=yipFQVjan4A

                    jsulmJ 1 Reply Last reply
                    0
                    • M Mucahit

                      Yes,

                      For example when i execute this code in terminal 'omxplayer sound.mp4' , i am getting sound.But when i play the url of the same song on qwebview i can't get sound.
                      url :https://www.youtube.com/watch?v=yipFQVjan4A

                      jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      @Mucahit Could be that you're missing some GStreamer plug-ins. Do you see any warnings/errors in terminal when running your app?

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • M Offline
                        M Offline
                        Mucahit
                        wrote on last edited by
                        #11

                        I am getting only libEGl warning. But for the first time I heard about the gstreamer plugin you mentioned. How can i install it on my Compute Module ?

                        K jsulmJ 2 Replies Last reply
                        0
                        • M Mucahit

                          I am getting only libEGl warning. But for the first time I heard about the gstreamer plugin you mentioned. How can i install it on my Compute Module ?

                          K Offline
                          K Offline
                          Konstantin Tokarev
                          wrote on last edited by
                          #12

                          @Mucahit Does sound work if you play file with gst-play-1.0? If not, try installing gst-omx plugins.

                          1 Reply Last reply
                          1
                          • M Mucahit

                            I am getting only libEGl warning. But for the first time I heard about the gstreamer plugin you mentioned. How can i install it on my Compute Module ?

                            jsulmJ Offline
                            jsulmJ Offline
                            jsulm
                            Lifetime Qt Champion
                            wrote on last edited by
                            #13

                            @Mucahit said in Why is there no sound in the qwebview?:

                            How can i install it on my Compute Module ?

                            Since it's Debian use "apt-get install". You can use "apt-get search gstreamer" to search for GStreamer packages.

                            https://forum.qt.io/topic/113070/qt-code-of-conduct

                            1 Reply Last reply
                            0
                            • K Offline
                              K Offline
                              Konstantin Tokarev
                              wrote on last edited by
                              #14

                              AFAIK right command is apt-cache search, not apt-get search

                              jsulmJ 1 Reply Last reply
                              0
                              • K Konstantin Tokarev

                                AFAIK right command is apt-cache search, not apt-get search

                                jsulmJ Offline
                                jsulmJ Offline
                                jsulm
                                Lifetime Qt Champion
                                wrote on last edited by
                                #15

                                @Konstantin-Tokarev According to the apt manpage on my Ubuntu 18.04 "apt search" can be used to search for available packages. "apt-cache search" is also valid.

                                https://forum.qt.io/topic/113070/qt-code-of-conduct

                                1 Reply Last reply
                                0
                                • M Offline
                                  M Offline
                                  Mucahit
                                  wrote on last edited by
                                  #16

                                  Sorry for the late return. I will write here if it works or not, when I try.

                                  1 Reply Last reply
                                  0
                                  • M Offline
                                    M Offline
                                    Mucahit
                                    wrote on last edited by Mucahit
                                    #17

                                    Thanks for your help it really worked !!!! Solved.

                                    1 Reply Last reply
                                    0
                                    • K Offline
                                      K Offline
                                      Konstantin Tokarev
                                      wrote on last edited by
                                      #18

                                      So what did actually help? Have you installed gst-omx or?

                                      1 Reply Last reply
                                      0
                                      • M Offline
                                        M Offline
                                        Mucahit
                                        wrote on last edited by
                                        #19

                                        Frankly I don't know this because I made a lot of changes to my card and it started working when I last restarted.

                                        1 Reply Last reply
                                        0
                                        • L Offline
                                          L Offline
                                          lopoloki
                                          wrote on last edited by lopoloki
                                          #20

                                          @jsulm said in Why is there no sound in the qwebview?:

                                          @Mucahit You forgot to mentio https://kodi.software/ https://nox.tips/n Qt version you're using (you will not find it in "About Qt Creator..." dialog).

                                          @Mucahit You forgot to mention Qt version you're using (you will not find it in "About Qt Creator..." dialog).

                                          1 Reply Last reply
                                          0

                                          • Login

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