View previous topic :: View next topic |
Author |
Message |
hariskar Apprentice

Joined: 29 Jan 2017 Posts: 170
|
Posted: Sun Feb 12, 2017 4:58 pm Post subject: [SOLVED] surf browser can't play youtube videos |
|
|
Surf browser can't open youtube videos: surf-0.6 branch (installed with make install) with webkit-gtk-2.14 crashes, surf browser 0.6 or 0.7 with webkit-gtk-2.4 can't play them..
With Chromium everything plays fine.
Here are my USE flags, do I miss anything?
Code: | X a52 aac acl acpi alsa amd64 berkdb bindist branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv icu jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds readline sdl seccomp session spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib |
Thank you!
Last edited by hariskar on Tue Feb 14, 2017 2:03 pm; edited 2 times in total |
|
Back to top |
|
 |
Roman_Gruber Advocate

Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Sun Feb 12, 2017 6:26 pm Post subject: |
|
|
are you sure that a basic browser has such features?
Basic browser is most probably only html viewer!
afaik o.7 is the latest release according to a popular encyclopedia.
This may be related
http://surf.suckless.org/files/not_flash
I found also ohter hacks for htat browser which does similar things |
|
Back to top |
|
 |
hariskar Apprentice

Joined: 29 Jan 2017 Posts: 170
|
Posted: Sun Feb 12, 2017 6:29 pm Post subject: |
|
|
In Arch linux I could see youtube videos... |
|
Back to top |
|
 |
Roman_Gruber Advocate

Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Sun Feb 12, 2017 6:39 pm Post subject: |
|
|
please check those browser related config files in arch-linux |
|
Back to top |
|
 |
hariskar Apprentice

Joined: 29 Jan 2017 Posts: 170
|
Posted: Mon Feb 13, 2017 5:54 pm Post subject: |
|
|
What is the cause for that? A wrong USE flag? Missing codec? Webkit-gtk?
What about others? Does surf play youtube videos for others? |
|
Back to top |
|
 |
fcl Tux's lil' helper


Joined: 31 Dec 2016 Posts: 77
|
Posted: Mon Feb 13, 2017 6:22 pm Post subject: |
|
|
Webkit-gtk seems to use Gstreamer. I'd check your gst-plugins etc.
I'm currently compiling webkit-gtk to test how Surf works for me. |
|
Back to top |
|
 |
hariskar Apprentice

Joined: 29 Jan 2017 Posts: 170
|
Posted: Mon Feb 13, 2017 6:47 pm Post subject: |
|
|
Thanks a lot fcl!
I use surf 0.7.
Here are my installed plugins:
Code: |
hk # equery list gst-plugins\*
* Searching for gst-plugins* ...
[IP-] [ ] media-libs/gst-plugins-bad-1.8.3-r1:1.0
[IP-] [ ] media-libs/gst-plugins-base-1.8.3-r1:1.0
[IP-] [ ] media-libs/gst-plugins-good-1.8.3:1.0
[IP-] [ ] media-libs/gst-plugins-ugly-1.8.3:1.0
[IP-] [ ] media-plugins/gst-plugins-x264-1.8.3:1.0
|
Edit: Now I see surf plays vimeo,com videos but without sound. |
|
Back to top |
|
 |
fcl Tux's lil' helper


Joined: 31 Dec 2016 Posts: 77
|
Posted: Mon Feb 13, 2017 7:27 pm Post subject: |
|
|
Webkit-gtk/surf finally finished compiling and I confirmed that Youtube videos DO work.
fyi, here's my plugins
Code: | $ equery list gst-plugins\*
* Searching for gst-plugins* ...
[IP-] [ ] media-libs/gst-plugins-base-1.10.3:1.0
[IP-] [ ] media-libs/gst-plugins-good-1.10.3:1.0
[IP-] [ ] media-libs/gst-plugins-ugly-1.10.3:1.0
[IP-] [ ] media-plugins/gst-plugins-flac-1.10.3:1.0
[IP-] [ ] media-plugins/gst-plugins-libav-1.10.3:1.0
[IP-] [ ] media-plugins/gst-plugins-mad-1.10.3:1.0
[IP-] [ ] media-plugins/gst-plugins-meta-1.8.3:1.0
[IP-] [ ] media-plugins/gst-plugins-mpeg2dec-1.10.3:1.0
[IP-] [ ] media-plugins/gst-plugins-opus-1.10.3:1.0
[IP-] [ ] media-plugins/gst-plugins-pulse-1.10.3:1.0
[IP-] [ ] media-plugins/gst-plugins-x264-1.10.3:1.0 |
I then removed the ffmpeg USE flag from gst-plugins-meta which in turn let me unmerge gst-plugins-libav. After that Youtube videos didn't play anymore. So try with gst-plugins-libav.
edit: btw, I'm on ~amd64 system-wide so all versions are the latest. |
|
Back to top |
|
 |
hariskar Apprentice

Joined: 29 Jan 2017 Posts: 170
|
Posted: Tue Feb 14, 2017 2:02 pm Post subject: |
|
|
fcl, thank you so much for your time and help!
As you mention, gst-plugins-libav was the missing codec. Now everything is fine! |
|
Back to top |
|
 |
|