gkreidl
Posts: 6118
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Howto: Pepper Flash Player for RPI2 with Chromium & Rasp

Mon May 11, 2015 5:30 pm

In the URL entry line, like a website URL.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

Krassegrand
Posts: 105
Joined: Sat Apr 25, 2015 3:20 pm
Location: Halmstad Sweden

Re: Howto: Pepper Flash Player for RPI2 with Chromium & Rasp

Mon May 11, 2015 5:54 pm

gkreidl wrote:In the URL entry line, like a website URL.
I found it!
I edited my last reply!

Thank You
Jörgen

Krassegrand
Posts: 105
Joined: Sat Apr 25, 2015 3:20 pm
Location: Halmstad Sweden

Re: Howto: Pepper Flash Player for RPI2 with Chromium & Rasp

Tue May 12, 2015 2:39 pm

Hello again!
Just a question!
It seems to freeze quite a lot when watching streems, like if it was only like 5 frames/sek.
Would it help to overclock?

Jörgen

gkreidl
Posts: 6118
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Howto: Pepper Flash Player for RPI2 with Chromium & Rasp

Tue May 12, 2015 2:52 pm

Krassegrand wrote:Hello again!
Just a question!
It seems to freeze quite a lot when watching streems, like if it was only like 5 frames/sek.
Would it help to overclock?

Jörgen
A bit, maybe. This flash plugin doesn't use HW acceleration by the GPU and therefore cannot compare to HW accelerated HTML5 video in epiphany or kweb3.
Fortunately, flash is a dying technology. If only more website developers would know that!
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

Krassegrand
Posts: 105
Joined: Sat Apr 25, 2015 3:20 pm
Location: Halmstad Sweden

Re: Howto: Pepper Flash Player for RPI2 with Chromium & Rasp

Tue May 12, 2015 3:35 pm

gkreidl wrote:Fortunately, flash is a dying technology. If only more website developers would know that!
:lol:
Jörgen

Joe Schmoe
Posts: 4277
Joined: Sun Jan 15, 2012 1:11 pm

Re: Howto: Pepper Flash Player for RPI2 with Chromium & Rasp

Tue May 12, 2015 3:45 pm

Krassegrand wrote:
gkreidl wrote:Fortunately, flash is a dying technology. If only more website developers would know that!
:lol:
Jörgen
Unfortunately, out here in user-land, it is clinging tenaciously to life, and refuses to die.
And some folks need to stop being fanboys and see the forest behind the trees.

(One of the best lines I've seen on this board lately)

Albond87
Posts: 14
Joined: Sat May 02, 2015 3:20 pm

Re: Howto: Pepper Flash Player for RPI2 with Chromium & Rasp

Wed May 13, 2015 5:06 pm

I managed to install chromium, but any website I try to go on it just doesn't load it and always comes up with 'Page(s) unresponsive. Wait or Kill page(s).' If I wait it just comes up with the same thing. Is there an update I can get to make it faster/stop this from happening?

gkreidl
Posts: 6118
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Howto: Pepper Flash Player for RPI2 with Chromium & Rasp

Wed May 13, 2015 5:38 pm

Albond87 wrote:I managed to install chromium, but any website I try to go on it just doesn't load it and always comes up with 'Page(s) unresponsive. Wait or Kill page(s).' If I wait it just comes up with the same thing. Is there an update I can get to make it faster/stop this from happening?
Looks like a network problem to me.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

Krassegrand
Posts: 105
Joined: Sat Apr 25, 2015 3:20 pm
Location: Halmstad Sweden

Re: Howto: Pepper Flash Player for RPI2 with Chromium & Rasp

Thu May 14, 2015 4:08 am

I can't find out how to use bookmarks in my version of Chromium.
I was looking at the site below but that don't seem to be referring to my version.
https://www.google.se/#q=chromium+bookmark
What shall I do?

Jörgen

Albond87
Posts: 14
Joined: Sat May 02, 2015 3:20 pm

Re: Howto: Pepper Flash Player for RPI2 with Chromium & Rasp

Sun May 31, 2015 12:12 pm

gkreidl wrote:
Albond87 wrote:I managed to install chromium, but any website I try to go on it just doesn't load it and always comes up with 'Page(s) unresponsive. Wait or Kill page(s).' If I wait it just comes up with the same thing. Is there an update I can get to make it faster/stop this from happening?
Looks like a network problem to me.
But my Internet connection is fine in Midori :?

mob-i-l
Posts: 273
Joined: Sat Dec 29, 2012 2:45 am
Location: Lund, Skåne/Scania, Sweden
Contact: Website Facebook Google+ Twitter YouTube

Re: Howto: Pepper Flash Player for RPI2 with Chromium & Rasp

Mon Jun 08, 2015 7:42 pm

It might be possible to get the Flash-plugin to also work in Iceweasel: https://wiki.debian.org/Freshplayerplugin https://github.com/i-rinat/freshplayerplugin
I tried to install according to the instructions, but cmake failed due to missing packages in Raspbian Wheezy.

-- checking for modules 'libavcodec>=54.39.0;libavutil;libva;libva-x11'
-- package 'libavcodec>=54.39.0' not found
-- package 'libavutil' not found
-- package 'libva' not found
-- package 'libva-x11' not found

I tried to install, but they don't exist.
Have Pi0&1A&1B&1B+&2B&3B&4B w/ Raspbian. Started w/ BASIC on ABC80&ZX81 then Forth, Z80… https://scratch.mit.edu/users/mobluse/ https://github.com/mobluse/ https://twitter.com/mobluse/ https://YouTube.com/MOBiL4u/

fruitoftheloom
Posts: 20924
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Howto: Pepper Flash Player for RPI2 with Chromium & Rasp

Mon Jun 08, 2015 8:12 pm

mob-i-l wrote:It might be possible to get the Flash-plugin to also work in Iceweasel: https://wiki.debian.org/Freshplayerplugin https://github.com/i-rinat/freshplayerplugin
I tried to install according to the instructions, but cmake failed due to missing packages in Raspbian Wheezy.

-- checking for modules 'libavcodec>=54.39.0;libavutil;libva;libva-x11'
-- package 'libavcodec>=54.39.0' not found
-- package 'libavutil' not found
-- package 'libva' not found
-- package 'libva-x11' not found

I tried to install, but they don't exist.
""Some libraries needed are missing in Wheezy, this method will work only work for Jessie. ""
Retired disgracefully.....

mob-i-l
Posts: 273
Joined: Sat Dec 29, 2012 2:45 am
Location: Lund, Skåne/Scania, Sweden
Contact: Website Facebook Google+ Twitter YouTube

Re: Howto: Pepper Flash Player for RPI2 with Chromium & Rasp

Mon Jun 08, 2015 9:29 pm

I did succeed in compiling Freshplayerplugin in Raspbian Wheezy on a Raspberry Pi 2, but it only shows a black box where the Flash should be. I tried with an option I found here: https://github.com/i-rinat/freshplayerplugin/issues/194 . I tested with https://scratch.mit.edu/projects/13110194/ in Iceweasel (i.e. Firefox).

I compiled and installed like this:

Code: Select all

sudo apt-get install build-essential git cmake pkg-config libglib2.0-dev libasound2-dev libx11-dev libgl1-mesa-dev liburiparser-dev libcairo2-dev libpango1.0-dev libpangocairo-1.0-0 libpangoft2-1.0-0 libfreetype6-dev libgtk2.0-dev libxinerama-dev libconfig-dev libevent-dev libegl1-mesa-dev libgles2-mesa-dev ragel libssl-dev libv4l-dev

git clone https://github.com/i-rinat/freshplayerplugin.git

cd freshplayerplugin/

mkdir build

cd build/

cmake -DWITH_HWDEC=0 ..

make

sudo cp libfreshwrapper-pepperflash.so /usr/lib/mozilla/plugins/

cp data/freshwrapper.conf.example ~/.config/freshwrapper.conf

editor ~/.config/freshwrapper.conf
I changed in freshwrapper.conf to:
pepperflash_path = "/usr/lib/chromium/plugins/libpepflashplayer.so"
and to:
enable_3d = 0
before I tried with enable_3d = 1.

I also tried with cmake -DWITH_HWDEC=0 -DCMAKE_BUILD_TYPE=RelWithDebInfo .. , but the result was the same, i.e. black rectangle instead of Flash, but it seems to work a little because the scripts and sprites are counted in this example with Scratch, and they are not if you don't have Flash.
Last edited by mob-i-l on Mon Jun 08, 2015 11:50 pm, edited 2 times in total.
Have Pi0&1A&1B&1B+&2B&3B&4B w/ Raspbian. Started w/ BASIC on ABC80&ZX81 then Forth, Z80… https://scratch.mit.edu/users/mobluse/ https://github.com/mobluse/ https://twitter.com/mobluse/ https://YouTube.com/MOBiL4u/

ktb
Posts: 1380
Joined: Fri Dec 26, 2014 7:53 pm

Re: Howto: Pepper Flash Player for RPI2 with Chromium & Rasp

Mon Jun 08, 2015 10:29 pm

FWIW, this does work on Raspbian Jessie.

I should mention though that you still need to have the PepperFlash plugin installed through one of the existing methods. This just allows Iceweasel to use it.

mob-i-l
Posts: 273
Joined: Sat Dec 29, 2012 2:45 am
Location: Lund, Skåne/Scania, Sweden
Contact: Website Facebook Google+ Twitter YouTube

Re: Howto: Pepper Flash Player for RPI2 with Chromium & Rasp

Mon Jun 08, 2015 11:20 pm

ktb wrote:FWIW, this does work on Raspbian Jessie.
Great! because Iceweasel works better than the version of Chromium in Wheezy (I have Flash working in Chromium). Does it work with Scratch 2 Flash games? When I click the globe when I discuss in Scratch I get "My browser / operating system: Linux, Firefox 31.0, Flash 13.1 (release 2)" -- this Flash-version is wrong, but this could be fixed with some undocumented manifest.json file in the plugins-directory. In Chromium the same result is "My browser / operating system: Linux, Chrome 22.0.1229.94, Flash 12.0 (release 0)". Do you use any special settings? e.g. for 3d or version? Note, I changed the installation procedure above to use the configuration file.

I will probably wait for the official update of Raspbian to Jessie.
Have Pi0&1A&1B&1B+&2B&3B&4B w/ Raspbian. Started w/ BASIC on ABC80&ZX81 then Forth, Z80… https://scratch.mit.edu/users/mobluse/ https://github.com/mobluse/ https://twitter.com/mobluse/ https://YouTube.com/MOBiL4u/

ktb
Posts: 1380
Joined: Fri Dec 26, 2014 7:53 pm

Re: Howto: Pepper Flash Player for RPI2 with Chromium & Rasp

Tue Jun 09, 2015 1:08 am

mob-i-l wrote:
ktb wrote:FWIW, this does work on Raspbian Jessie.
Great! because Iceweasel works better than the version of Chromium in Wheezy (I have Flash working in Chromium). Does it work with Scratch 2 Flash games?
I don't know. The PocketCalc thing you linked seems to work fine.
mob-i-l wrote:When I click the globe when I discuss in Scratch I get "My browser / operating system: Linux, Firefox 31.0, Flash 13.1 (release 2)" -- this Flash-version is wrong, but this could be fixed with some undocumented manifest.json file in the plugins-directory. In Chromium the same result is "My browser / operating system: Linux, Chrome 22.0.1229.94, Flash 12.0 (release 0)". Do you use any special settings? e.g. for 3d or version? Note, I changed the installation procedure above to use the configuration file.

I will probably wait for the official update of Raspbian to Jessie.
Iceweasel reports that it is using Shockwave Flash 13.1 r2 (version 13.1.2.3), but it is actually the PepperFlash plugin being used which is Shockwave Flash 12.0 r0 (version 12.0.0.77). If I visit http://www.adobe.com/software/flash/about/, it says "You have version 12,0,0,77 installed."

I don't think the performance is anything to get excited about in Chromium or Iceweasel.

Iceweasel 31.7.0 - about:plugins

Code: Select all

Shockwave Flash
    File: libfreshwrapper-pepperflash.so
    Path: /usr/lib/mozilla/plugins/libfreshwrapper-pepperflash.so
    Version: 13.1.2.3
    State: Enabled
    Shockwave Flash 13.1 r2

MIME Type	Description	Suffixes
application/x-shockwave-flash	Shockwave Flash	swf
application/futuresplash	FutureSplash Player	spl
Chromium Version 37.0.2062.120 Built on Ubuntu 12.04, running on Raspbian 8.0 (281580) - chrome://plugins/

Code: Select all

Adobe Flash Player - Version: 12.0.0.77 (Disabled)
Shockwave Flash 12.0 r0
Name:	Shockwave Flash
Description:	Shockwave Flash 12.0 r0
Version:	12.0.0.77
Location:	/usr/lib/chromium/plugins/libpepflashplayer.so
Type:	PPAPI (out-of-process)
 	Enable
MIME types:	
MIME type	Description	File extensions
application/x-shockwave-flash	Shockwave Flash	.swf
application/futuresplash	FutureSplash Player	.spl

mob-i-l
Posts: 273
Joined: Sat Dec 29, 2012 2:45 am
Location: Lund, Skåne/Scania, Sweden
Contact: Website Facebook Google+ Twitter YouTube

Re: Howto: Pepper Flash Player for RPI2 with Chromium & Rasp

Tue Jun 09, 2015 7:59 am

I edited the version and description in a source file (editor ../src/config_pepperflash.c) and recompiled libfreshwrapper-pepperflash.so, but I still get a black rectangle where the Flash image should be (using Raspbian Wheezy). The version is correct now in Discuss on Scratch. I could not get manifest.json to work:

Code: Select all

cat /usr/lib/chromium/plugins/manifest.json 
{"version": "12.0.0.77"}
I also tried Flash in Iceape, but with the same result. BTW Iceape is faster than Iceweasel. Maybe one could also get Flash to work in Epiphany since Java applets work there.
Have Pi0&1A&1B&1B+&2B&3B&4B w/ Raspbian. Started w/ BASIC on ABC80&ZX81 then Forth, Z80… https://scratch.mit.edu/users/mobluse/ https://github.com/mobluse/ https://twitter.com/mobluse/ https://YouTube.com/MOBiL4u/

ktb
Posts: 1380
Joined: Fri Dec 26, 2014 7:53 pm

Re: Howto: Pepper Flash Player for RPI2 with Chromium & Rasp

Tue Jun 09, 2015 8:22 am

Iceape is no longer developed and doesn't receive security updates, so I'm not very interested. Epiphany didn't really work on Jessie the last time I tried it. Let us know what you find.

Ripper92
Posts: 4
Joined: Thu Aug 13, 2015 1:34 pm

Re: Howto: Pepper Flash Player for RPI2 with Chromium & Rasp

Fri Aug 21, 2015 10:09 pm

Hi, is there anyone that have an alternative link for pepperflash?
http://odroidxu.leeharris.me.uk/PepperF ... v7h.tar.gz doesn't work anymore.
Thank you.

gkreidl
Posts: 6118
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Howto: Pepper Flash Player for RPI2 with Chromium & Rasp

Sat Aug 22, 2015 4:50 am

Ripper92 wrote:Hi, is there anyone that have an alternative link for pepperflash?
http://odroidxu.leeharris.me.uk/PepperF ... v7h.tar.gz doesn't work anymore.
Thank you.
http://os.archlinuxarm.org/armv7h/alarm ... pkg.tar.xz
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

DavidKW
Posts: 1
Joined: Fri Sep 11, 2015 9:56 am

Re: Howto: Pepper Flash Player for RPI2 with Chromium & Rasp

Fri Sep 11, 2015 10:09 am

Hi all,

Installed rasbian wheezy on a RPi2 then upgraded it to jessie in order to fix the libc6 issue that prevented installation of recent chromium-browser builds.
Downloaded chromium-browser armhf binaries from Ubuntu vivid repositories:

Code: Select all

chromium-browser_44.0.2403.89-0ubuntu0.15.04.1.1177_armhf.deb
chromium-browser-l10n_44.0.2403.89-0ubuntu0.15.04.1.1177_all.deb
chromium-codecs-ffmpeg-extra_44.0.2403.89-0ubuntu0.15.04.1.1177_armhf.deb
Installed without problems with

Code: Select all

sudo dpkg -i *.deb
Got PepperFlash from Lee Harris' site (newer version I found):

Code: Select all

 wget http://odroidxu.leeharris.me.uk/PepperFlash-15.0.0.152.r2-armv7h.tar.gz
Browser runs OK, Youtube and raspberrypi.org videos play fine, though those are probably all HTML5, but when I go to some popular streaming sites such as
http://serie-streaming-vf.net
The sound plays fine, but no video regardless of player used (exashare, youwatch nowvideo)
Anybody else encountered this issue? Is there a more recent version of PepperFlash?

regards,
David

User avatar
kusti8
Posts: 3439
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Howto: Pepper Flash Player for RPI2 with Chromium & Rasp

Fri Sep 11, 2015 11:22 am

You will not be able to watch videos with Pepperflash. I could barely get Spotify working with it. Your only chance is to see if you can find someway to extract the video and play it with omxplayer.
There are 10 types of people: those who understand binary and those who don't.

bazzek
Posts: 1
Joined: Mon Sep 14, 2015 3:41 pm

Re: Howto: Flash Player for Chromium on Raspbian with RPi2

Mon Sep 14, 2015 3:56 pm

Rovaals wrote: The installation process is as follow:
Download chromium *.deb package from the link above (it was version 34 at the time this manual was written).
Download chromium-codecs-ffmpeg-extra package from the link above.
Install the packages by command (you may need to change the file names of the packages accroding to those you have downloaded in step 1 and 2): dpkg -i chromium-codecs-ffmpeg-extra_34.0.1847.116-0ubuntu~1.12.04.0~pkg884_armhf.deb chromium-browser_34.0.1847.116-0ubuntu~1.12.04.0~pkg884_armhf.deb
The installation is complete.

Problem - unmet dependencies
In my case I had unmet dependencies because of my Kali Linux 1.0.7 (is a fork of Debain Wheezy) had an old version of libc6 library. The newer version was available only at jessie (testing) branch. To install it I had to add the following lines to /etc/apt/sources.list:

deb http://ftp.us.debian.org/debian testing main contrib non-free
deb-src http://ftp.us.debian.org/debian testing main contrib non-free
deb http://ftp.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ jessie-updates main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free

Debian usually has preferences file that correctly handles testing & stable version of packages, so the above lines won't move our Linux completely to testing branch. My version of Kali Linux didn't have such preferences set, so I had to setup them manually. I created a file in /etc/apt/preferences.d/main.pref with the following content:
Package: *
Pin: release n=kali
Pin-Priority: 350

Package: *
Pin: release n=kali-bleeding-edge
Pin-Priority: 300

Package: *
Pin: release n=jessie
Pin-Priority: 10

The first 2 blocks describe internal packages of Kali Linux that have a higher priority than Debian Jessie package. Note: if you're using Debian Wheezy, you should have one block with n=wheezy instead of the 2 above. After the changes are saved, you should run command
apt-get update

Then you should explicitly install the new libc6 package by running the following command:
apt-get install libc6 -t testing

After that all dependencies should be met and you can try to install the Chromium browser again.
I keep running into various issues. I managed to fix the key issues (apt-get complaining) by doing:

Code: Select all

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys
Followed by

Code: Select all

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7638D0442B90D010 8B48AD6246925553 9D6D8F6BC857C906
This fixed that, but a apt-get update still gives me errors.
W: Failed to fetch http://ftp.us.debian.org/debian/dists/t ... slation-en Bad header line [IP: 128.61.240.89 80]
W: Failed to fetch http://ftp.us.debian.org/debian/dists/t ... slation-en Bad header line [IP: 128.61.240.89 80]
W: Failed to fetch http://ftp.us.debian.org/debian/dists/t ... slation-en Bad header line [IP: 128.61.240.89.80]

Should i use another repo? maybe something like ftp.eu.debian.org?

NO IDEA ABOUT PI
Posts: 1
Joined: Mon Oct 19, 2015 7:23 pm

Re: Howto: Pepper Flash Player for RPI2 with Chromium & Rasp

Mon Oct 19, 2015 7:29 pm

I have recently got a rpi2, and was trying to install the pepper flash player on it.
I paste in 'wget http://os.archlinuxarm.org/armv7h/alarm ... pkg.tar.xz
tar -xzf PepperFlash-12.0.0.77-armv7h.tar.gz
cd PepperFlash
chmod +x *
sudo cp * /usr/lib/chromium/plugins
sudo nano /etc/chromium/default' to the terminal, and it loads something, taking around 20 seconds.
After that, lots more code appears, and it is ready to put other stuff into the text.
I then paste in the other line of code 'CHROMIUM_FLAGS="--ppapi-flash-path=/usr/lib/chromium/plugins/libpepflashplayer.so --ppapi-flash-version=12.0.0.77 -password-store=detect -user-data-dir"' and then nothing really happens. I press enter, and then the terminal dissapears, and I have tried every combination, and I still can't get it to work. I have chromium installed.
As i said the first step seems to work, but i would appreciate it if somebody could write out the later instructions a bit more clearly, as I cannot seem to follow them.
Thanks very much.

gkreidl
Posts: 6118
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Howto: Pepper Flash Player for RPI2 with Chromium & Rasp

Tue Oct 20, 2015 5:36 am

Use another text editor
sudo leafpad ....
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

Return to “Raspbian”