You are not logged in.

#1 2015-02-02 10:15:43

musv
Member
Registered: 2014-06-16
Posts: 13

[solved] Get the browser playing videos without flash

Hi there,

on my favourite news site in the web (n-tv.de) there are also some videos available. Now I 'm trying to get rid of flash.

Those videos are playable with vp8, which should be available in gstreamer0.10-good-plugins. I've tried it with both Firefox and Seamonkey. But I fail to play any video there.

First I've tried it with gstreamer-1.4.5:

  • gst-plugins-good

  • gst-plugins-bad

  • gst-plugins-ugly

libvpx is also installed:

extra/libvpx 1.3.0-1 [installed]
    The VP8 Codec SDK

la /usr/lib/libvpx.so
lrwxrwxrwx 1 root root 15  7. Dez 2013  /usr/lib/libvpx.so -> libvpx.so.1.3.0

Then I've tried gstreamer-0.10:

  • gstreamer0.10-good-plugins

  • gstreamer0.10-bad-plugins

But nothing. Firefox (and Seamonkey, Konquerer, …) still refuse to play any video.

When I click on a video on n-tv.de, the site presents me a file dialogue to save a m3u8 file.

Inside this file there are no urls:

#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1210000
w0930DeutscheBankBilanz_1501290932-1100k.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=345000
w0930DeutscheBankBilanz_1501290932-314k.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=800000
w0930DeutscheBankBilanz_1501290932-728k.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=52000
w0930DeutscheBankBilanz_1501290932-48k.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=146000
w0930DeutscheBankBilanz_1501290932-133k.m3u8

Btw. Youtube works without problems. dailymotion.com refuses and wants to have flash installed. Firefox is version 35.0.1

How do I get that stuff played?

Last edited by musv (2015-02-09 06:34:28)

Offline

#2 2015-02-02 10:24:49

parazyd
Member
From: Amsterdam
Registered: 2012-10-14
Posts: 259
Website

Re: [solved] Get the browser playing videos without flash

Unless they are streaming video with HTML5, you will need flash.

Offline

#3 2015-02-02 10:43:49

progandy
Member
Registered: 2012-05-17
Posts: 5,193

Re: [solved] Get the browser playing videos without flash

There are some userscripts that can convert the flash code to html5. dailymotion is supported by e.g. ViewTube_GM https://greasyfork.org/en/scripts/1203-viewtube-gm


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#4 2015-02-02 11:32:36

musv
Member
Registered: 2014-06-16
Posts: 13

Re: [solved] Get the browser playing videos without flash

Asked in the Gentoo Forums. There it works without problems using gstreamer with vpx and x264 use-flag.

So I assume, it should work in a similar way in Arch too.

Offline

#5 2015-02-09 06:33:46

musv
Member
Registered: 2014-06-16
Posts: 13

Re: [solved] Get the browser playing videos without flash

Got it.

Found a hint in the Arch-Wiki.

Firefox uses webkit2gtk.

pacman -Qi webkit2gtk

Optionale Abhängigkeiten: gtk2: Netscape plugin support [Installiert]
                          gst-plugins-base: free media decoding [Installiert]
                          gst-plugins-good: media decoding [Installiert]
                          gst-libav: nonfree media decoding [Installiert]

The last one gst-libav wasn't installed. With gst-libav it's working as wanted.

Offline

#6 2015-02-09 09:08:00

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,736

Re: [solved] Get the browser playing videos without flash

It doesn't use webkit, but yeah gst-libav is needed and is an optional dependency of firefox itself as well

Offline

Board footer

Powered by FluxBB