LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-03-2017, 05:40 PM   #1
askfor
Member
 
Registered: Aug 2016
Posts: 84

Rep: Reputation: 46
Vivaldi + PepperFlash


I have problems with Vivaldi and Pepperflash. First of all, I can't get any diagnostics on Flash plugin, any status information. Extensions page says I have no extensions. However, I don't know if PepperFlash is even supposed to be listed there, strictly it is a plugin rather than extensions. Tried searching the web, no luck.

Flash does not play, and I am unable to see what is going on there.

I have installed latest Vivaldi from RPM (rpm2tgz). Took a brief look at the Slackbuild script, and it looks like mostly download related stuff, icon cache update, etc., so I thought RPM might do.

I have Chromium PepperFlash installed and it works with Chromium. Worked with Opera, too.

Also noticed that there is a 'lib' directory under /opt/vivaldi, and there is a ffmpeg shared library in it. ldd does not list libffmpeg.so as missing. Nevertheless, tried to add 'lib' directory to LD_LIBRARY_PATH, no effect. Tried to symlink Pepperflash .so to Vivaldi dir and lib dir, no effect.

Only thing I noticed is an error thrown into terminal, when started from it. It says:
MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"FFmpegDemuxer: open context failed"}

Tried download vivaldi-ffmpeg-codecs from Slackbuilds for 14.2, but the link is broken. Also I have NPAPI Flashplayer plugin installed, and I wonder if Vivaldi tries to load it for some stupid reason.

Youtube videos are playing fine, but, I guess it is pure HTML5 video.

If there is someone out there who has Vivaldi+Pepperflah working, please tell me how to find out if plugin is found, recognized and loaded in the first place.

======
UPDATE
======

I have solved the Flash playback issue. Playback is very smooth. A custom version of libffmpeg.so needs to be built. The script to build it can be found here:

https://gist.github.com/ruario/bec42d156d30affef655

However, still there I can't find any information on plugin status. Any other browser which I tried provides that information. At least is plugin loaded or not and file path from which it was loaded. It is more like Vivaldi, rather than Slackware issue. However, I am not going to mark this solved yet, hoping that someone might provide more information.

Last edited by askfor; 04-03-2017 at 07:18 PM.
 
Old 04-03-2017, 07:09 PM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
I know with FireFox and some sights that have video of one of FireFox default path search for pepperflash this is one and this is how I hack fixed it

get a hold of this
flash_player_ppapi_linux.x86_64.tar.gz
untar it and get the .so out of it.

Code:
mkdir -p /opt/google/chrome/PepperFlash
then move or copy pepperflash.so into it

userx@voider⚡/opt/google/chrome/PepperFlash $ls
libpepflashplayer.so

Last edited by BW-userx; 04-03-2017 at 07:17 PM.
 
Old 04-04-2017, 01:34 AM   #3
vonbiber
Member
 
Registered: Apr 2009
Distribution: slackware 14.1 64-bit, slackware 14.2 64-bit, SystemRescueCD
Posts: 533

Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by askfor View Post
However, still there I can't find any information on plugin status. Any other browser which I tried provides that information. At least is plugin loaded or not and file path from which it was loaded. It is more like Vivaldi, rather than Slackware issue. However, I am not going to mark this solved yet, hoping that someone might provide more information.
If you go to the Tools Menu and you click on Plugins, you should see an
entry for Adobe Flash Player that shows its version number
 
Old 04-04-2017, 02:26 AM   #4
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 629

Rep: Reputation: Disabled
The 'Plugins' page has disappeared in the newer version. If you click Menu > Help > About, you'll see the plugins there.

PS and by the way, you can download the latest ppapi version of flash from adobe.

Last edited by petelq; 04-04-2017 at 02:28 AM. Reason: add PS
 
1 members found this post helpful.
Old 04-04-2017, 06:46 AM   #5
askfor
Member
 
Registered: Aug 2016
Posts: 84

Original Poster
Rep: Reputation: 46
Thanks Petelq, I found it. I guess plugin page is gone because browser plugins are considered "evil". Flash was considered "evil", too, but recently all browsers extended support for Flash plugins. I guess it got "rehabilitated"...
 
Old 04-05-2017, 04:02 AM   #6
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
Hi, I am Ruarí. I am a slacker and have been for a number of years (I used to be quite active on this forum). I work for Vivaldi as a tester and have worked in the past for Opera in a similar role.

Quote:
Originally Posted by askfor View Post
I have problems with Vivaldi and Pepperflash.
On Slackware, the most commonly used used package to provide "libpepflashplayer.so" is chromium-pepperflash-plugin (from AlienBOB). Indeed the SlackDocs article on Flash mentions this very package for Chromium based browsers and it would also seem (from your very first statement) that you are aware that Vivaldi uses Pepper Flash.

AlienBob's chromium-pepperflash-plugin would place libpepflashplayer.so in /usr/lib/chromium/PepperFlash (for 32bit) or /usr/lib64/chromium/PepperFlash (for 64bit). These are two of the directories where Vivaldi will search for Pepper Flash.

Thus to have Flash working in Vivaldi on Slackware all you need do is install chromium-pepperflash-plugin (from AlienBOB).

If you would like to confirm that you have Flash installed and working and it is the version you expect, simply load http://www.adobe.com/software/flash/about/ as explained on the relevant Vivaldi help page https://help.vivaldi.com/article/ins...r-for-vivaldi/. Pressing "F1" in Vivaldi calls up the help database, which can searched just like in many other graphical programs. That same help page also states:

Quote:
Refer to your distro’s documentation and install the package that provides Pepper/PPAPI Flash.

You can also use this script if your distro does not provide a Pepper Flash package.
I should also mention that that script would automate fetching and installing PepperFlash into one of the other directories where Vivaldi can find it (/usr/lib/adobe-flashplugin).

Quote:
Originally Posted by askfor View Post
I have Chromium PepperFlash installed and it works with Chromium. Worked with Opera, too.
This seems odd to me. How did you install it (what package did you use)? What is the status of the Vivaldi setting "Webpages → Plugins → Flash Plugin" (is it enabled)? What does vivaldi://about/ state for "Flash"?

Quote:
Originally Posted by askfor View Post
Also noticed that there is a 'lib' directory under /opt/vivaldi, and there is a ffmpeg shared library in it. ldd does not list libffmpeg.so as missing. Nevertheless, tried to add 'lib' directory to LD_LIBRARY_PATH, no effect. Tried to symlink Pepperflash .so to Vivaldi dir and lib dir, no effect.
You have gone down a complete blind alley with this. Pepper Flash and libffmpeg have nothing whatsoever to do with each other.

Quote:
Originally Posted by askfor View Post
Youtube videos are playing fine, but, I guess it is pure HTML5 video.
That is what the libffmpeg.so does. It plays HTML5 video (not flash video)

Quote:
Originally Posted by askfor View Post
I have solved the Flash playback issue. Playback is very smooth. A custom version of libffmpeg.so needs to be built. The script to build it can be found here:

https://gist.github.com/ruario/bec42d156d30affef655
No you do not need a custom version of libffmpeg.so. That is completely an uttterly wrong. You need a custom version of libffmpeg.so if you wish to play back "proprietary" HTML5 MP4 (H.264/AAC) video and MP3 audio.

Indeed the very gist you linked to is written by me and states, quite clearly:

Quote:
If you don't have working Flash video and need that in addition, please refer to these instructions.
Those instructions being the very ones I linked to above and the ones linked to on the Vivaldi help page.

Having read your complete request my guess would be that you were never after Flash at all but instead working "proprietary" HTML5 video and audio, which is why the gist that helps you install a replacement libffmpeg.so worked for you.

P.S. For anyone reading this who does want to know more about Vivaldi and Flash the short summary is. Install chromium-pepperflash-plugin (from AlienBOB) and confirm things are working via http://www.adobe.com/software/flash/about/. If you later wish to disable flash in Vivaldi without removing chromium-pepperflash-plugin, we also have a setting here "Webpages → Plugins → Flash Plugin".

P.P.S. For the very curious, these are all the directories where Vivaldi will look for the Pepper Flash plugin (libpepflashplayer.so)

Code:
/opt/google/chrome/PepperFlash
/usr/lib/adobe-flashplugin
/usr/lib/pepperflashplugin-nonfree
/usr/lib/PepperFlash
/usr/lib/chromium/PepperFlash
/usr/lib64/chromium/PepperFlash
/usr/lib/pepflashplugin-installer
/usr/lib/chromium-browser/PepperFlash
/usr/lib64/chromium-browser/PepperFlash

Last edited by ruario; 04-05-2017 at 04:21 AM.
 
2 members found this post helpful.
Old 04-05-2017, 04:10 AM   #7
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
Quote:
Originally Posted by BW-userx View Post
I know with FireFox and some sights that have video of one of FireFox default path search for pepperflash this is one and this is how I hack fixed it

get a hold of this
flash_player_ppapi_linux.x86_64.tar.gz
untar it and get the .so out of it.

Code:
mkdir -p /opt/google/chrome/PepperFlash
then move or copy pepperflash.so into it

userx@voider⚡/opt/google/chrome/PepperFlash $ls
libpepflashplayer.so
I can confirm that this would have worked perfectly, given that /opt/google/chrome/PepperFlash is one of the directories we look.

Last edited by ruario; 04-05-2017 at 05:25 AM.
 
Old 04-05-2017, 04:15 AM   #8
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
Quote:
Originally Posted by petelq View Post
The 'Plugins' page has disappeared in the newer version.
Indeed because third party plugins are on their way out (not to be confused with extensions, which are still very much supported)

Quote:
Originally Posted by petelq View Post
If you click Menu > Help > About, you'll see the plugins there.
Good point! Something I forgot to mention myself! (I have edited it into my posting now)

Quote:
Originally Posted by petelq View Post
PS and by the way, you can download the latest ppapi version of flash from adobe.
which would have also worked for the op

Last edited by ruario; 04-05-2017 at 05:14 AM.
 
Old 04-05-2017, 08:01 AM   #9
askfor
Member
 
Registered: Aug 2016
Posts: 84

Original Poster
Rep: Reputation: 46
Quote:
Originally Posted by ruario View Post
Hi, I am Ruarí. I am a slacker and have been for a number of years (I used to be quite active on this forum). I work for Vivaldi as a tester and have worked in the past for Opera in a similar role.
Of course I know who you are :-) Pleased to meet you. Thanks for the clarifications, but you need to understand that those who put media on their pages rarely provide technical details about it. If it works, fine, if not, you are in trouble.

I am not expert on Flash, however, it does more than one thing. There is a media playback capability and there is scripting language, "Actionscript" or something. One is often confronted with what they call a player, a component which provide volume control, play and pause controls, skip forward and backward controls, sometimes even subtitles upload form. It seems that those players often need Flash to run, although content itself could be played without it. Few years ago we were told that Javascript was supposed to handle everything, including playback controls, but those player components still won't run without Flash. Perhaps they are coded in Actionscript, I don't know. Or perhaps it is something about security restrictions, when player is hosted at one domain and content at the other.

I agree with your statements, but, in general case, you need both, Flash and proprietary codecs, in order to watch something on the web. That is why I tried to establish if Flash plugin was found, recognized and loaded before moving to next step. Next step was to make sure that I have all the necessary codecs. Good people on this forum pointed me to "Help/About" menu entry. Your own script helped me with codecs, and now I am good.
 
Old 04-05-2017, 10:07 AM   #10
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by askfor View Post
I agree with your statements, but, in general case, you need both, Flash and proprietary codecs, in order to watch something on the web.
This depends on the site. Most of the sites I used worked fine without flash. I haven't installed flash on my systems for a few years and I haven't ran into playback issues on Firefox because of a lack of flash for most of the sites I frequent. (Chrome almost always "just works". It is my normal browser, but on a system I may not use a browser frequently, like my htpc, I just stick with the official Slackware Firefox package.)

Last edited by bassmadrigal; 04-05-2017 at 10:10 AM.
 
1 members found this post helpful.
Old 04-05-2017, 02:27 PM   #11
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by bassmadrigal View Post
This depends on the site. Most of the sites I used worked fine without flash. I haven't installed flash on my systems for a few years and I haven't ran into playback issues on Firefox because of a lack of flash for most of the sites I frequent. (Chrome almost always "just works". It is my normal browser, but on a system I may not use a browser frequently, like my htpc, I just stick with the official Slackware Firefox package.)
doesn't chrome always includes their flash plugin so even though you were not aware of it yes you were using flash plugins. Because Chrome adds theirs in their install.
 
1 members found this post helpful.
Old 04-05-2017, 03:41 PM   #12
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by BW-userx View Post
doesn't chrome always includes their flash plugin so even though you were not aware of it yes you were using flash plugins. Because Chrome adds theirs in their install.
Yes, that's why I mentioned that Chrome always works. But on machines I don't install Chrome (usually ones I'll only do limited web browsing on), I just use the Firefox supplied by Slackware. On those machines, I don't install flash. There's still plenty of sites that would play content without requiring flash.

So many sites now are using the <video></video> tags from the html5 spec, which does not require flash to work.

Last edited by bassmadrigal; 04-05-2017 at 04:11 PM. Reason: fix spelling error
 
Old 04-05-2017, 03:47 PM   #13
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by bassmadrigal View Post
Yes, that's why I mentioned that Chrome always works. But on machines I don't install Chrome (usually ones I'll only do limited web browsing on), I just use the Firefox supplied by Slackware. On those machines, I don't install flash. There's still plenty of sites that would play content without requiring flash.

So many sites now are using the <video></video> tags from the html5 spec, which dowa not require flash to work.
thank you for making that perfectly clear.
 
Old 04-05-2017, 04:57 PM   #14
askfor
Member
 
Registered: Aug 2016
Posts: 84

Original Poster
Rep: Reputation: 46
I find curious how everyone has written the Flash off, announced the end of it and (verbally) pooped on it. Then, suddenly, Flash is back. Adobe resumed development of NPAPI Flashplayer and released several new versions. Everyone keeps quiet on it, nobody comments it.

I'd say there is something important which can't be done with HTML5 + CSS + Javascript. I am familiar with web programing and I'd say it isn't about page design or scripting. More likely there is something about video streaming. Unfortunately, I don't know much about it.

Considering Frefox, I had performance issues while playing videos. Until recently, when I updated ffmpeg. Most of the videos I watch are MP4. I am using Firefox ESR, rather than latest release. I thought, finally, Firefox works wright, and then I heard that they are dropping ALSA support. I suppose it is time to pick another browser. Vivaldi is a pleasant surprise.
 
Old 04-05-2017, 06:40 PM   #15
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by askfor View Post
I find curious how everyone has written the Flash off, announced the end of it and (verbally) pooped on it. Then, suddenly, Flash is back. Adobe resumed development of NPAPI Flashplayer and released several new versions. Everyone keeps quiet on it, nobody comments it.
In my case, I realized that flash wasn't a requirement for me anymore. Plus, it's kinda unfortunate that Adobe basically dropped support for Linux (except for including it within Chrome) for quite some time and only recently backpedaled.
 
  


Reply

Tags
browsers, flash player



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Vivaldi Technologies Vivaldi Web Browser LXer Syndicated Linux News 0 10-28-2016 07:26 PM
[SOLVED] Plug-in for PepperFlash? cwizardone Slackware 7 05-24-2016 02:23 PM
chrome 49 and pepperflash updates dolphin_oracle Linux - Software 3 03-14-2016 03:17 PM
[SOLVED] pepperflash after april 21 upgrade sya54M Slackware 4 04-28-2015 02:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration