Comments (36)
@Electrocat,
You download linux_recovery.sh from Chromebook support site. This script has a link to recovery.conf inside, which in turn have links to particular images. Last one I downloaded, was chromeos_5978.98.1_zako_recovery_stable-channel_mp-v2.bin. Its architecture is x86_64, amongst other images you can found x86 (32 bit) and ARM.
Downloaded image have multiple partitions, you need partition 3, with root fs. Mount it with "ro" flag. Flash player is in /opt/google/chrome/pepper/
.
from freshplayerplugin.
I need a way to test DRM content.
Page drmtest2.adobe.com:8080/SVP/SampleVideoPlayer_FP.html provided by Adobe doesn't work for me.
from freshplayerplugin.
I have been looking at this, I have no idea how all of this works, but if I am right it has to do with the GrantUniversalAccess in ppb_url_loader_trusted, right?
from freshplayerplugin.
it has to do with the GrantUniversalAccess
I think not. This is a security feature which turns off cross-domain load rules. Something like "plugins from one domain should not have access to urls on other domains".
I don't have any of these rules implemented, so there is nothing to turn off. Plugin is now granted universal access to everything. (Flash is asking for full access every time anyway.)
from freshplayerplugin.
@blackwolf12333, try to disable Widevine Content Decryption Module in Chrome (chrome://plugins/). Does copyrighted content work in Chome after disabling Widevine?
from freshplayerplugin.
@i-rinat Still works.
from freshplayerplugin.
Try use http://drmtest2.adobe.com:8080/SVP/SampleVideoPlayer_FP.html with http://drmtest2.adobe.com:8080/Content/anonymous.f4v
It works with NPAPI flash, but does not work with freshplayerplugin. It does not seems to download Adobe Access DRM library at all.
firefox crashed when i tried to copy error text from plugin (i cannot get stack trace because somethink strange happend with terminal and gdb tried to continue process)
last fresh message is [fresh 14053] not implemented: PPB_VarArrayBuffer;1.0
After i launched firefox with that page second time, id crashed:
[fresh 16113] [PPB] {zilch} ppb_flash_set_instance_always_on_top instance=10, on_top=1
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::substr
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x6d3ff430 (LWP 16113)]
0x401e6d88 in raise () from /lib/libc.so.6
(gdb) bt
#0 0x401e6d88 in raise () from /lib/libc.so.6
#1 0x401e821c in abort () from /lib/libc.so.6
#2 0x400b9cd0 in __gnu_cxx::__verbose_terminate_handler() ()
from /usr/lib/gcc/armv7a-hardfloat-linux-gnueabi/4.7.3/libstdc++.so.6
#3 0x400b7c80 in ?? ()
from /usr/lib/gcc/armv7a-hardfloat-linux-gnueabi/4.7.3/libstdc++.so.6
#4 0x400b7c80 in ?? ()
from /usr/lib/gcc/armv7a-hardfloat-linux-gnueabi/4.7.3/libstdc++.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
from freshplayerplugin.
Try use http://drmtest2.adobe.com ...
Actually, this is not something that @blackwolf12333 talked about, since that thing was working in Chrome. However drmtest2 from Adobe doesn't work on Chrome.
from freshplayerplugin.
Implemented in 8dc4401
Although it may be not the same @blackwolf12333 talked about originally, this particular makes drmtest2 from Adobe work. Hence closing the issue. If anybody have another test case, open another issue or reopen this one.
Note, you need PepperFlash from ChromeOS image, as desktop version from Chrome apparently have no DRM support enabled on GNU/Linux.
from freshplayerplugin.
If I may ask, how does one get hold of the PepperFlash from ChromeOS image?
from freshplayerplugin.
You can mount images like that with kpartx as explained at https://tinyapps.org/docs/mount_partitions_from_disk_images.html
from freshplayerplugin.
I extracted flash from the same chromebook image but only got blackscreen (for any flash video, not just drmed ones) Fedora 21 64 bit
from freshplayerplugin.
@beew, one must enable 3d by adding enable_3d = 1
line to ~/.config/freshwrapper.conf
to make ChromeOS' PepperFlash render video.
OpenGL|ES (that 3d) is disabled by default, as it causes rendering issues on some machines and/or Mesa versions. Regular PepperFlash seems to work well when only 2d enabled, but one from ChromeOS doesn't.
(related issue: #122)
from freshplayerplugin.
I just need to copy libpepflahsplayer.so from the image to /opt/google/chrome/PepperFlash? If I do that, browser just says that I don't have libpepflahplayer.so. Can somebody explain it to a noob?
from freshplayerplugin.
I just need to copy libpepflashplayer.so from the image to /opt/google/chrome/PepperFlash?
Yes, that should be enough. You can also put it anywhere you like and specify path as pepperflash_path
parameter in ~/.config/freshwrapper.conf
file. Also make sure you are using right architecture. 32-bit plugin on 64-bit OS or 64-bit plugin on 32-bit OS won't work. (ARM versions also won't work on x86 machines.)
from freshplayerplugin.
I downloaded chromeos_6457.107.0_zako_recovery_stable-channel_mp-v2.bin , placed the libpepflashplayer.so in /opt/google/chrome/PepperFlash, edited freshwrapper.conf to specify the right path, but when I open the browser (Chrome in this case) I get following error:
[67:67:0305/230932:ERROR:ppapi_thread.cc(280)] Failed to load Pepper module from /opt/google/chrome/PepperFlash/libpepflashplayer.so (error: /opt/google/chrome/PepperFlash/libpepflashplayer.so: cannot open shared object file: Operation not permitted)
Linux Mint 17.1 x64
from freshplayerplugin.
cannot open shared object file: Operation not permitted
Check if file actually readable. Make chmod 755 libpepflashplayer.so
if required.
but when I open the browser (Chrome in this case) I get following error
You don't need freshplayerplugin if you use Chrome. Moreover, you can't use the former, since it's an NPAPI plugin, and Chrome have no NPAPI support anymore.
If you are trying to make Flash DRM work in Chrome, it most probably won't work either.
from freshplayerplugin.
Yes, I did that.
I understand that, but I couldn't see any specific errors when starting Firefox. This is what I get in Mozilla: http://i.imgur.com/cyCXv4k.png
Is it somehow possible for you to provide the one that works for you?
from freshplayerplugin.
This is what I get in Mozilla
As you can see from the screenshot, freshwrapper tries to load file /usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so
, however you said before that you've put plugin to /opt/google/chrome/PepperFlash
.
It could be you have two freshwrapper.conf
files, both in /etc
and in ~/.config
, but changed only /etc/freshwrapper.conf
, while ~/.config/freshwrapper.conf
(which is preferred if exists) still have old version. Try to check both locations.
from freshplayerplugin.
Currently it's there, but wherever I put it and change it in freshwrapper.conf, the outcome is the same. It always says it can't find it. There is only one freshwrapper.conf and it's located in ~/.config.
from freshplayerplugin.
I think I get it. One need to use double quotes when specifying path:
pepperflash_path = "/opt/google/chrome/PepperFlash/libpepflashplayer.so"
Also if you remove pepperflash_path
option completely, freshwrapper will try multiple paths, including Chrome stable, beta and unstable installations. So you really need to specify path only if it's non-common. Here is the list of default locations: [link].
from freshplayerplugin.
Double quotes are present. Also, when I comment out the path line (tried that a lot of times already), I still get the same error. It's as if something's wrong with the flash from Chrome OS. I wish I could try with a different one, but I don't know where to get it.
from freshplayerplugin.
I tried it in Mint 17.1 and here is the reason: libpepflashplayer.so
from ChromeOS requires libstdc++.so.6
from gcc 4.9, while Mint 17.1 have only 4.8.
It was sufficient for me to install these packages:
- http://mirrors.kernel.org/ubuntu/pool/main/g/gcc-4.9/gcc-4.9-base_4.9.1-16ubuntu6_i386.deb
- http://mirrors.kernel.org/ubuntu/pool/main/g/gcc-4.9/gcc-4.9-base_4.9.1-16ubuntu6_amd64.deb
- http://mirrors.kernel.org/ubuntu/pool/main/g/gcc-4.9/libstdc++6_4.9.1-16ubuntu6_i386.deb
- http://mirrors.kernel.org/ubuntu/pool/main/g/gcc-4.9/libstdc++6_4.9.1-16ubuntu6_amd64.deb
from freshplayerplugin.
Thank you for the help! I installed g++ 4.9 and now it's working.
from freshplayerplugin.
Hello I have same issue on arch linux.. was working before for a long time and after not using it for 3 weeks and not touching any configuration i get a blak video with sound only.
1 core/gcc 4.9.2-3 (base-devel) [installed]
from freshplayerplugin.
@chrisfernandez, is libpepflashplayer.so
from desktop Chrome working? Which version of freshwrapper do you use? Do you have enable_3d=1
set in ~/.config/freshwrapper.conf
?
from freshplayerplugin.
yes it was working... i have not updated that piece.. the freshwrapper I do git pulls and recompile to update.. I did that today to see if this will fix it and still the same.. the freshwrapper config does have the enable_3d=1 I have double check, also what puzzles me is that it was working before..
from freshplayerplugin.
@chrisfernandez, two weeks ago, in 28fe9e7 there were a transition to XRender. Try a snapshot before that change (link)
from freshplayerplugin.
thanks.. one question. I follow the link and the github link to clone is the same as main page..how do i get a snapshot of that particular version? thanks
from freshplayerplugin.
There is a button named Download ZIP.
Also, if you have local copy of git repository, you can select that snapshot by calling git checkout 543fce72
. To move to master branch again, call git checkout master
.
from freshplayerplugin.
Hello. sorry did not had time to look into this because of work until now.
i did the git pull on an existing repository that i have and still I get sound but no image.. is just black..
from freshplayerplugin.
PepperFlash from ChromeOS doesn't show anything unless 3d is enabled and supported. Current versions of freshwrapper have enable_3d=1 by default, but version I gave you link to before (pre-XRender) have enable_3d=0 by default. So you need to ensure you have ~/.config/freshwrapper.conf
and it has line enable_3d = 1
.
Also check if there any warnings or errors in stderr/stdout. Easiest way is to launch browser from terminal emulator and look at text output.
from freshplayerplugin.
@i-rinat I'm wondering if there's any way (which is not extremely illegal) to include the ChromeOS version of PepperFlash with freshplayerplugin? Or have an easy way (such as a shell script) to quickly download and extract the ChromeOS-PepperFlash and configure the freshplayerplugin to use it?
Just a thought.
from freshplayerplugin.
(which is not extremely illegal)
I don't think redistribution is allowed explicitly, so it's gray zone. It's unlikely to get DMCA notice, but if I get one, whole repo will be shut down. I therefore will avoid putting files here.
Or have an easy way
That's questionable too. Once easy tool becomes available, download traffic will increase significantly. Remember, recovery images have sizes about 1-2 GB. Looks like distributing a DDoS tool. :-/
from freshplayerplugin.
@i-rinat Those packages you recommended: they will break local package configuration unless you also install libgcc1_4.9.1-16ubuntu6_{i386,amd64}.deb
!
from freshplayerplugin.
Probably yes, I don't remember. I think I only searched for packages with libraries that was strongly required by ChromeOS's PepperFlash build, but didn't check further package dependencies.
from freshplayerplugin.
Related Issues (20)
- drm test works with intel but not Nvidia HOT 4
- 32 bit build error HOT 2
- [firefox] "[fresh] [error] n2p_call_ptac, NPN_Invoke failed (or there were no npp)" HOT 6
- Some webcams return green screen HOT 1
- Build failure HOT 5
- Missing include for sys/ioctl.h in src/ppb_video_capture.c HOT 1
- (question): use with other browsers still limited to the NPAPI? HOT 9
- using Chromebook flash for desktop Chrome HOT 2
- Fullscreen showing very small window HOT 5
- Chromebook's flash used by firefox works on test but fails in real life HOT 9
- freshwrapper crashing with Firefox 61 and ChromeOS's Flash HOT 2
- Is v0.3.10 production-ready? HOT 1
- asoundlib.h: No such file or directory HOT 4
- Wayland support? HOT 1
- Trouble on XWayland
- FreshPlugin as browser extension HOT 1
- libfreshplayer does not show up in Firefox 69.0.1 64bit HOT 9
- advice on fixing https://gitlab.com/Mis012/flashplayer-standalone to make it work with freshplayer HOT 9
- Does freshplayerplugin can be used a plugin on chromium[version:69] HOT 19
- Error when using make HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freshplayerplugin.