Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html5 video not working #69

Closed
lingnand opened this issue Mar 20, 2014 · 14 comments
Closed

html5 video not working #69

lingnand opened this issue Mar 20, 2014 · 14 comments

Comments

@lingnand
Copy link

I'm using gtk3 vimb in the high-dpi branch and the html5 videos are not working (on Arch Linux). I tried compiling with gtk2 and it still doesn't work.

@fanglingsu
Copy link
Owner

Hi,
I don't know if all these packages are required, but I've installed and html5 videos are displayed.

# pacman -Q | grep gstreamer
gstreamer 1.2.3-1
gstreamer0.10 0.10.36-3
gstreamer0.10-bad 0.10.23-8
gstreamer0.10-bad-plugins 0.10.23-8
gstreamer0.10-base 0.10.36-2
gstreamer0.10-base-plugins 0.10.36-2
gstreamer0.10-ffmpeg 0.10.13-2
gstreamer0.10-good 0.10.31-5
gstreamer0.10-good-plugins 0.10.31-5

@lingnand
Copy link
Author

Unfortunately even with all these packages installed I still cannot view
html5 videos...

On 20/03, Daniel Carl wrote:

Hi,
I don't know if all these packages are required, but I've installed and html5 videos are displayed.

# pacman -Q | grep gstreamer
gstreamer 1.2.3-1
gstreamer0.10 0.10.36-3
gstreamer0.10-bad 0.10.23-8
gstreamer0.10-bad-plugins 0.10.23-8
gstreamer0.10-base 0.10.36-2
gstreamer0.10-base-plugins 0.10.36-2
gstreamer0.10-ffmpeg 0.10.13-2
gstreamer0.10-good 0.10.31-5
gstreamer0.10-good-plugins 0.10.31-5

Reply to this email directly or view it on GitHub:
#69 (comment)

Lingnan Dai

@fanglingsu
Copy link
Owner

You are rigth, html5 videos do not work at the time, independent if vimb is compiled with GTK2 or GTK3, event an older version of vimb does not play the html5 videos. On a first view I think this issue is not a fault in vimb, because the orlder versions do also not work.

@fanglingsu
Copy link
Owner

@fanglingsu
Copy link
Owner

But the video does not play.

@fanglingsu
Copy link
Owner

Sorry, I was so tired. This page I used for testing if html5 videos work as I setup my new laptop http://camendesign.com/code/video_for_everybody/test.html. This worked for me some month ago. Now, this does not work anymore, even surf (another light webkit browser) does not play the video. So I guess that the issue is more related to general system configuration or gtk or webkit.
I found following im my logs

[2014-03-04 00:22] [PACMAN] upgraded webkitgtk (2.2.5-1 -> 2.2.5-2)
[2014-03-04 00:22] [PACMAN] upgraded webkitgtk2 (1.10.2-8 -> 2.2.5-2)

The second line looks strange for me, the version changed from 1.10.2 to 2.2.5. After I downgraded to webkitgtk2 1.10.2-8 the html5 videos work well. Seems that there is an issue with the webkit version. But a downgrade to webkitgtk-2.2.5-1 for the built for GTK3 does not work, so the issue was introduced in an earlier version of webkit.

@fanglingsu
Copy link
Owner

I don't understand the differences between the gstreamer packages and the gst-* packages, but after installation of gst-plugins-base and gst-plugins-good the video runs fine with GTK2 and GTK3.

@lingnand
Copy link
Author

Brilliant! Finally can watch the videos now. Wondering what's wrong with the webkit development though..

@jeaye
Copy link

jeaye commented Aug 12, 2015

I spent a long time trying to get this working on my Slackware machine and ended up with a weird solution. In short, even though I'm using ffmpeg, as opposed to libav, I need the gst-libav plugin (the gst-ffmpeg plugin doesn't cut it) in order for video to work.

For the Slackware users out there, this is my gst* related package listing (though all of these may not be needed, the libav plugin certainly is and was not obvious):

┌─(✓)[jeaye@darkstar]─[~]
└──╼ ls -1 /var/log/packages/gst*
/var/log/packages/gst1-libav-1.4.5-x86_64-1_SBo
/var/log/packages/gst1-plugins-bad-1.4.5-x86_64-1_SBo
/var/log/packages/gst1-plugins-base-1.4.5-x86_64-1_SBo
/var/log/packages/gst1-plugins-good-1.4.5-x86_64-1_SBo
/var/log/packages/gst1-plugins-ugly-1.4.5-x86_64-1_SBo
/var/log/packages/gst-ffmpeg-0.10.13-x86_64-2_SBo
/var/log/packages/gst-plugins-bad-0.10.23-x86_64-3_SBo
/var/log/packages/gst-plugins-base-0.10.36-x86_64-2
/var/log/packages/gst-plugins-good-0.10.31-x86_64-5
/var/log/packages/gst-plugins-ugly-0.10.19-x86_64-2_SBo
/var/log/packages/gstreamer-0.10.36-x86_64-2
/var/log/packages/gstreamer1-1.4.5-x86_64-1_SBo

@shioyama
Copy link
Contributor

thanks @jeaye that fixed this issue for me!

@MagnusMWW
Copy link

Installing gstreamer1-plugins-libav on openbsd solved this issue for me as well. Thanks @jeaye !

@samhh
Copy link

samhh commented Apr 21, 2020

I can't seem to get HTML5 video to work on my installation of vimb on Arch. Here's the --bug-info:

Version:         3.6.0
WebKit compile:  2.26.2
WebKit run:      2.28.1
GTK compile:     3.24.13
GTK run:         3.24.17
libsoup compile: 2.68.3
libsoup run:     2.70.0
Extension dir:   /usr/lib/vimb

My repro is vimb 'https://www.youtube.com/watch?v=_S7B18GqdY0', though I've experienced the same on other sites, for example on Gfycat embeds on Reddit.

With these installed:

$ pacman -Q | rg gst
gst-plugins-base 1.16.2-1
gst-plugins-base-libs 1.16.2-1
gstreamer 1.16.2-1

The YouTube page says that my browser doesn't recognise any of the formats available. If I additionally install gst-libav then the page starts to load as if video is available, and then I get Webview Crashed. There is nothing output to the terminal in which the process was started.

Let me know what else I can do to help debug this, cheers.

Edit: Similar behaviour on some other pages that don't appear to have any HTML5 video content, such as Twitter.

@fanglingsu
Copy link
Owner

@samhh I can view the linked video also on arch. That is what I have on my system. but I'm not sure if all packages are required or not.

$ pacman -Q | grep gst
gst-libav 1.16.2-1
gst-plugins-bad 1.16.2-7
gst-plugins-bad-libs 1.16.2-7
gst-plugins-base 1.16.2-1
gst-plugins-base-libs 1.16.2-1
gst-plugins-good 1.16.2-3
gst-plugins-ugly 1.16.2-3
gstreamer 1.16.2-1
gstreamer-vaapi 1.16.2-1

@samhh
Copy link

samhh commented Apr 25, 2020

Aha! gstreamer-vaapi did the trick, many thanks. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants