Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] surf browser can't play youtube videos
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
hariskar
Apprentice
Apprentice


Joined: 29 Jan 2017
Posts: 168

PostPosted: Sun Feb 12, 2017 4:58 pm    Post subject: [SOLVED] surf browser can't play youtube videos Reply with quote

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
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Sun Feb 12, 2017 6:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
hariskar
Apprentice
Apprentice


Joined: 29 Jan 2017
Posts: 168

PostPosted: Sun Feb 12, 2017 6:29 pm    Post subject: Reply with quote

In Arch linux I could see youtube videos...
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Sun Feb 12, 2017 6:39 pm    Post subject: Reply with quote

please check those browser related config files in arch-linux
Back to top
View user's profile Send private message
hariskar
Apprentice
Apprentice


Joined: 29 Jan 2017
Posts: 168

PostPosted: Mon Feb 13, 2017 5:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
fcl
Tux's lil' helper
Tux's lil' helper


Joined: 31 Dec 2016
Posts: 77

PostPosted: Mon Feb 13, 2017 6:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
hariskar
Apprentice
Apprentice


Joined: 29 Jan 2017
Posts: 168

PostPosted: Mon Feb 13, 2017 6:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
fcl
Tux's lil' helper
Tux's lil' helper


Joined: 31 Dec 2016
Posts: 77

PostPosted: Mon Feb 13, 2017 7:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
hariskar
Apprentice
Apprentice


Joined: 29 Jan 2017
Posts: 168

PostPosted: Tue Feb 14, 2017 2:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum