Git Product home page Git Product logo

Comments (36)

i-rinat avatar i-rinat commented on August 13, 2024 1

@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-rinat avatar i-rinat commented on August 13, 2024

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.

blackwolf12333 avatar blackwolf12333 commented on August 13, 2024

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.

i-rinat avatar i-rinat commented on August 13, 2024

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.

i-rinat avatar i-rinat commented on August 13, 2024

@blackwolf12333, try to disable Widevine Content Decryption Module in Chrome (chrome://plugins/). Does copyrighted content work in Chome after disabling Widevine?

from freshplayerplugin.

blackwolf12333 avatar blackwolf12333 commented on August 13, 2024

@i-rinat Still works.

from freshplayerplugin.

mittorn avatar mittorn commented on August 13, 2024

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.

i-rinat avatar i-rinat commented on August 13, 2024

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.

i-rinat avatar i-rinat commented on August 13, 2024

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.

Electrocat avatar Electrocat commented on August 13, 2024

If I may ask, how does one get hold of the PepperFlash from ChromeOS image?

from freshplayerplugin.

neuhaus avatar neuhaus commented on August 13, 2024

You can mount images like that with kpartx as explained at https://tinyapps.org/docs/mount_partitions_from_disk_images.html

from freshplayerplugin.

beew avatar beew commented on August 13, 2024

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.

i-rinat avatar i-rinat commented on August 13, 2024

@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.

 avatar commented on August 13, 2024

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-rinat avatar i-rinat commented on August 13, 2024

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.

 avatar commented on August 13, 2024

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.

i-rinat avatar i-rinat commented on August 13, 2024

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.

 avatar commented on August 13, 2024

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.

i-rinat avatar i-rinat commented on August 13, 2024

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.

 avatar commented on August 13, 2024

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-rinat avatar i-rinat commented on August 13, 2024

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.

 avatar commented on August 13, 2024

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-rinat avatar i-rinat commented on August 13, 2024

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:

from freshplayerplugin.

 avatar commented on August 13, 2024

Thank you for the help! I installed g++ 4.9 and now it's working.

from freshplayerplugin.

r3k2 avatar r3k2 commented on August 13, 2024

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.

i-rinat avatar i-rinat commented on August 13, 2024

@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.

r3k2 avatar r3k2 commented on August 13, 2024

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.

i-rinat avatar i-rinat commented on August 13, 2024

@chrisfernandez, two weeks ago, in 28fe9e7 there were a transition to XRender. Try a snapshot before that change (link)

from freshplayerplugin.

r3k2 avatar r3k2 commented on August 13, 2024

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.

i-rinat avatar i-rinat commented on August 13, 2024

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.

r3k2 avatar r3k2 commented on August 13, 2024

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.

i-rinat avatar i-rinat commented on August 13, 2024

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.

JamesTheAwesomeDude avatar JamesTheAwesomeDude commented on August 13, 2024

@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.

i-rinat avatar i-rinat commented on August 13, 2024

(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.

JamesTheAwesomeDude avatar JamesTheAwesomeDude commented on August 13, 2024

@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.

i-rinat avatar i-rinat commented on August 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.