Solved Why is there no sound in the qwebview?
-
Thank you,
I checked, writes like : Qt 5.11.3 in PATH (qt5) /usr/lib/qt5/bin/qmake
-
@Mucahit Playing video with some other application (like VCL) does work properly on your RPi?
-
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 -
@Mucahit Could be that you're missing some GStreamer plug-ins. Do you see any warnings/errors in terminal when running your app?
-
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 ?
-
@Mucahit Does sound work if you play file with
gst-play-1.0
? If not, try installing gst-omx plugins. -
@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.
-
AFAIK right command is
apt-cache search
, notapt-get search
-
@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.
-
Sorry for the late return. I will write here if it works or not, when I try.
-
Thanks for your help it really worked !!!! Solved.
-
So what did actually help? Have you installed gst-omx or?
-
Frankly I don't know this because I made a lot of changes to my card and it started working when I last restarted.
-
@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).
-
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.
-
@Mucahit said in Why is there no sound in the qwebview?:
Frankly I don't know this because I made a lot of changes to my card and it started working when I last restarted.
Frankly I don't know this because I made a lot of changes to my card and it started working when I last restarted.
-
@Mucahit said in Why is there no sound in the qwebview?:
Frankly I don't know this because I made a lot of changes to my card and it started working when I last restarted.
Frankly I don't know this because I made a lot of changes to my card and it started working when I last restarted.