Summary: | No sound when playing html5 video | ||
---|---|---|---|
Product: | [Unmaintained] kdelibs | Reporter: | LuRan <hephooey_dev> |
Component: | kdewebkit | Assignee: | webkit-devel |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | adawit |
Priority: | NOR | ||
Version: | Git | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
LuRan
2013-02-09 19:59:06 UTC
QtWebKit no longer uses phonon as it multimedia backend. Instead it directly relies on webkit's builtin support for gstreamer. It has been that way for a while [1]. The only time I encounter the issue you describe here, no sound when playing HTML5 video, is when I switch KDE's Phonon backend to something other than Gstreamer, e.g. VLC. Otherwise, I see and hear vide very well from HTML 5 videos such as this one on HTML 5 in QtWebKit [2]. So the question is what is your KDE Multimedia backend set to ? [1] https://lists.macosforge.org/pipermail/webkit-qt/2011-June/001633.html [2] http://qt-project.org/videos/watch/html5-in-qtwebkit I actually tried both gstreamer and vlc backend (and logout/login to make sure the change actually applied). Still no sound, I recently upgraded to gstreamer 1.0.5 and pulseaudio 2.1, maybe that is somehow related to this problem. Still it is strange that QtTestBrowser works fine while kwebkitpart does not. Is there anyway to get more output related to video play from webkit? Now all I can see in the output of rekonq is KIO infomation. When I wrote the previous reply I have not try to watch Alexis Menard's video, this one is interesting, the video plays fine in rekonq (with sound!), but in konqueror with kwebkitpart I cannot play it at all. Also there seems to be no tmp file downloaded by rekonq to playing this video. But anyway the youtube videos have no sound at all. (In reply to comment #3) > When I wrote the previous reply I have not try to watch Alexis Menard's > video, this one is interesting, the video plays fine in rekonq (with > sound!), but in konqueror with kwebkitpart I cannot play it at all. Also > there seems to be no tmp file downloaded by rekonq to playing this video. > But anyway the youtube videos have no sound at all. The video is going to be streamed and and stream is supposed to be played directly so there should not be any temporary file download. However, it still does not make sense how it works for some videos and not others in reKonq, does not work at all in Konqueror and works fine in QtTestBrowser. Are you running git versions of kwebkitpart too ? I personally can hear the sound in both videos just fine using kwebkitpart (master git) + Konqueror. I was using the 1.3 branch when I reported the bug, but the master branch does not improve it, it seems the webkit code in kde do not have any suspicious changes in the last few month. I actually doubt this is a kwebkitpart bug from the beginning. Since in your system everything is fine I guess I should check other library and maybe some config files next. Let me leave this bug open for the moment, when I find a solution I will close the bug. After downgrade gst-plugins-* to 0.10 the problem disappeared, appearently I am too stupid to notice QtTestBrowser is using flash when playing the youtube video, sorry about the noise. |