My Schematic

download schematic

Support

Sabtu, 13 April 2013

Flash videos on Linux ARM chips


Until now I had been using Gnash, the extremely poor open substitute of Flash, which is actually unusable for any real purposes.


A couple weeks ago I read that it could be possible to have Flash on ARM by using the Flash Player that Adobe develops for the Chrome OS (used on the Samsung Chromebook ARM laptops).

So I found a page (see Reference below) that described what to do and, most importantly, provided the ARM compiled library that contains the official Flash Player.

Hence, the steps to have Flash up and running on the Chromium web browser in Linux (tested on Xubuntu 12.10) are:

1) Download compressed library
2) Copy the .so file to /usr/lib/
3) Change the Chromium shortcut from just:
chromium-browser
to the following single line:
chromium-browser --ppapi-flash-path=/usr/lib/libpepflashplayer.so --ppapi-flash-version=11.5.31.105 --ppapi-flash-args=enable_hw_video_decode=0,enable_stagevideo_auto=0,enable_trace_to_console=0 
4) Open Chromium and enjoy the real Flash, only limited by the maximum speed of your stick!


UPDATE: Popping noises
When I had a site with Flash open while listening to a local music file, or watching flash videos, I heard a 'pop' every few seconds, which stopped upon closing chromium. Running chromium from the commandline yielded this error along with every pop:
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream

Solved it by going into the PulseAudio Volume Control and making sure, on the last tab, that the profile was Analogic Stereo Duplex and KEEPING OPEN (!!!!) the PulseAudio Volume Control app, which for some reason makes the noises stop and a new line appears below the one above:
ALSA lib pcm_dsnoop.c:612:(snd_pcm_dsnoop_open) unable to open slave



Reference
http://forum.xda-developers.com/showthread.php?t=2010440

Tidak ada komentar:

Posting Komentar