Open rsantellan opened 8 years ago
Go to your popcorntime directory desktop
and paste libffmpegsumo.so in it.
why doesn't the compiled version work and users have to download a file to replace the one from the build??
The new libffmpegsumo.so
version always shows this warning The video could not be loaded, either because the server or network failed or because the format is not supported, so only the old version works. Someone needs to add a pull request to fix it.
The NwBuilder
has a defaultUrl
option that may be used to set up a custom hosting of the nw.js
files with the working libffmpegsumo.so
. This may be an issue with video.js
(See: https://github.com/videojs/video.js/issues/2672, https://github.com/videojs/video.js/issues/1918, https://github.com/videojs/video.js/issues/1888). I'm looking further into it to find solutions.
do you know where the defaultUrl
option for NwBuilder
can be found?? Maybe this https://github.com/PopcornTime-CE/desktop/blob/master/package.json#L73
Oops, my bad, it's downloadUrl
:sweat_smile:. You can pass it as an option to the NwBuilder
constructor. By default it is set to http://dl.nwjs.io/
. See https://github.com/nwjs/nw-builder/blob/master/lib/index.js#L34.
I have no clue how to fix it. Would really appreciate some help.
I'm busy until saturday. I can try to help out that day, is that ok?
Absolutely okay men. We appreciate any help to the community. I wish you a nice weekend.
The owner of popcorntime.ag
should:
http://dl.nwjs.io
(nwjs-v0.12.3-linux-ia32.tar.gz
, nwjs-v0.12.3-linux-x64.tar.gz
, nwjs-v0.12.3-osx-ia32.zip
, nwjs-v0.12.3-osx-x64.zip
, nwjs-v0.12.3-win-ia32.zip
, nwjs-v0.12.3-win-x64.zip
) and replace the libffmpegsumo.so
file in it with the working one.apache2
server which will host these files. The apache2
server will take these zips from /var/www/html/v0.12.3/
, so create this folder and place the zips in it.service apache2 start
.downloadUrl
to the apache2
server's address. It should preferably be hosted under a subdomain of popcorntime.ag
.That is the general idea. This is only a quick fix for developer ease. I will look into the issue in videojs
and see if I can come up with anything.
I didn't expect it being fixed so fast. Thank you for the hard work my men.
Still having this same error. It is quite odd, because I did a complete install on another system the other day and used same distro, and same package it worked, now it doesn't, talk about confusing lol
Any updates to this? I wish I had the brains to fix this.
As far as I can remember this is an issue with the libffmpegsumo.so library that is distributed with nwjs. Replacing the library with a working version is all it takes to fix this. That's as much as I can do for you :/ @cjmccormick
I do confirm the error using popcorntime-ce 0.4.1-5
I know this is not a bug per se. But I can't find a way to debug it, if the problem is the network or the unsupported format.
I download and compile it with npm (version 1.4.21) on a ubuntu 14.04 : npm install npm start
Is there a way to show the debug on the console?
Regards