Operating System Version: Ubuntu 18.04
Popcorn Time Version: development branch
Download date: 20.01.2019
Play video (film, trailer, etc)
Exited
Console output: Popcorn-Time exited with code 0
Sometimes I also get error in console: [ERROR:adm_helpers.cc(73)] Failed to query stereo recording.
I can confirm that this exact thing is happening to me. I'm using the "development" branch.
Spent some time debugging the source, found a workaround.
console.log(url) to this line in streamer.js to get the HTTP URL of the torrent mediawaitForBuffer do nothing by having it immediately return nullyarn run startconsole.log() outputconsole.log()http://127.0.0.1:50928/1) into your browser and begin watchingNo idea why when the NW.js instance tries to hit that URL endpoint, the entire app crashes.
Build 361 - 0.3.10-0 (17b2f398) is playing videos and trakt.tv is syncing. I am haven't success with new builds or official download for linux (track.tv sync).
https://ci.popcorntime.sh/view/All/job/Popcorn-Time-Desktop/361/
Also seeing this in Fedora 29.
Following on from @alecmerdler, I've narrowed it down further to the video player playing.
If you remove the autoplay tag from templates/player.tpl, then the video loads but will still crash if you click to play.
The issue is with the version of ffmpeg causes the crash - this ticket is what's happening: https://github.com/iteufel/nwjs-ffmpeg-prebuilt/issues/70
I changed gulpfile.js, line 145 to download a more recent working version:
const ffmpegVersion = '0.35.3';
const ffmpegurl = 'https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/' + ffmpegVersion + '/' + ffmpegVersion + '-' + osvar;
Remove the cache/ffmpeg folder to cause it to re-download the updated version next run.
The issue is with the version of ffmpeg causes the crash - this ticket is what's happening: iteufel/nwjs-ffmpeg-prebuilt#70
I changed
gulpfile.js, line 145 to download a more recent working version:const ffmpegVersion = '0.35.3'; const ffmpegurl = 'https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases/download/' + ffmpegVersion + '/' + ffmpegVersion + '-' + osvar;Remove the
cache/ffmpegfolder to cause it to re-download the updated version next run.
This fixed the crash, but now it's soundless when playing mkv videos. Not sure if it's related but it started after doing this fix.
Sound works with other formats though.
I get the error when using the butter player, or MPV, but I am able to use VLC.
I should note that this was only after implementing @AndrewNelis fix and with const ffmpegVersion = '0.44.1'; which is the latest version as of the date of my comment.
I'm using OSX catalina, and I also had to get node-gyp up and running properly (again) in order to rebuild.
Fixed with last build
Most helpful comment
The issue is with the version of ffmpeg causes the crash - this ticket is what's happening: https://github.com/iteufel/nwjs-ffmpeg-prebuilt/issues/70
I changed
gulpfile.js, line 145 to download a more recent working version:Remove the
cache/ffmpegfolder to cause it to re-download the updated version next run.