New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apple TV Issues #387

Closed
AlJohri opened this Issue Dec 6, 2016 · 12 comments

Comments

Projects
None yet
5 participants
@AlJohri
Copy link

AlJohri commented Dec 6, 2016

Operating System Version:
OS X 10.11.4

Popcorn Time Version:
0.3.10

Download date:
12/6/2016

Expected Behaviour

I expected the video to play on my Apple TV.

Actual Behaviour

It keeps downloading on my computer and does not stream to the Apple TV.

Steps to reproduce the behaviour

  1. Select and Video.
  2. Click the arrow next to watch now.
  3. Select Apple TV.

screen shot 2016-12-06 at 3 16 10 pm

Apple TV Version: tvOS 10.0.1

Steps taken to Try to Fix the problem

  • Restart Popcorn Time
  • Use Airplay normally to ensure its working
  • Restart Apple TV
@AlJohri

This comment has been minimized.

Copy link

AlJohri commented Dec 6, 2016

I was able to successfully use Apple TV with this project as well: https://github.com/feross/webtorrent-desktop

Should this be reported upstream to butter desktop?

@team-pct

This comment has been minimized.

Copy link

team-pct commented Dec 7, 2016

Have you tried the last build on CI?

@AlJohri

This comment has been minimized.

Copy link

AlJohri commented Dec 7, 2016

How do I get the latest version from CI?

The latest job from CI at time of writing is: https://travis-ci.org/popcorn-official/popcorn-desktop/jobs/180370964. I don't see any option to download the built binary.

Instead, I ran this:

rm -rf /Applications/Popcorn-Time.app
wget https://raw.githubusercontent.com/popcorn-official/popcorn-desktop/development/make_popcorn.sh
chmod +x make_popcorn.sh
./make_popcorn.sh
cp -r popcorn/build/Popcorn-Time/osx64/Popcorn-Time.app /Applications/Popcorn-Time.app
open /Applications/Popcorn-Time.app/

Apple TV worked successfully!

@AlJohri

This comment has been minimized.

Copy link

AlJohri commented Dec 7, 2016

Okay it worked for a few minutes and then crashed twice in a row. Let me try other videos.

@AlJohri

This comment has been minimized.

Copy link

AlJohri commented Dec 8, 2016

Crashed third time in a row, but I think its the same exact place in a single video (Jason Bourne 2016). The speed of immediately went down from 11 Mbps to 100 kbps and lower at time of crash.

Playing another video (Snowden 2016), to see if it happens again.

@AlJohri

This comment has been minimized.

Copy link

AlJohri commented Dec 8, 2016

Crashed twice in a row with the same behavior of download speed crashing from a high speed of 1 or 2 Mbps to 6 kbps. Unsure what's going on.

@AlJohri

This comment has been minimized.

Copy link

AlJohri commented Dec 8, 2016

Could it be my ISP? I doubt it because I copied the magnet link and used a different program, WebTorrent, and both the download and AppleTV streaming worked successfully.

@AlJohri

This comment has been minimized.

Copy link

AlJohri commented Dec 8, 2016

I tried it once more on a different movie (Harry Potter and the Philosopher's Stone 2001). It similarly stopped just a few minutes in.

This time I ran it from source using gulp run. I did not see any logs appear when the Apple TV stopped rendering. This is the full log:

[22:34:04] Using gulpfile ~/popcorn/gulpfile.js
(node:25054) DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
[22:34:04] Starting 'run'...
Running osx64 from cache
2016-12-07 22:34:04.524 nwjs[25055:135757] NSWindow warning: adding an unknown subview: <WebContentsViewCocoa: 0x7fda1bd7b9e0>. Break on NSLog to debug.

2016-12-07 22:34:04.525 nwjs[25055:135757] Call stack:
(
	0   AppKit                              0x00007fff952b08bb -[NSThemeFrame addSubview:] + 107
	1   nwjs Framework                      0x000000010ebc0739 _ZN2v88UnlockerD1Ev + 42308009
	2   nwjs Framework                      0x000000010ebc00ad _ZN2v88UnlockerD1Ev + 42306333
	3   nwjs Framework                      0x000000010ebbf28a _ZN2v88UnlockerD1Ev + 42302714
	4   nwjs Framework                      0x000000010c7a5986 _ZN2v88UnlockerD1Ev + 4449270
	5   nwjs Framework                      0x000000010c6ed241 _ZN2v88UnlockerD1Ev + 3693745
	6   nwjs Framework                      0x000000010c7c3a61 _ZN2v88UnlockerD1Ev + 4572369
	7   nwjs Framework                      0x000000010c7c290f _ZN2v88UnlockerD1Ev + 4567935
	8   nwjs Framework                      0x000000010c7c5310 _ZN2v88UnlockerD1Ev + 4578688
	9   nwjs Framework                      0x000000010c7c57cb _ZN2v88UnlockerD1Ev + 4579899
	10  nwjs Framework                      0x000000010c7e1279 _ZN2v88UnlockerD1Ev + 4693225
	11  nwjs Framework                      0x000000010c7e114e _ZN2v88UnlockerD1Ev + 4692926
	12  nwjs Framework                      0x000000010e4dca6f _ZN2v88UnlockerD1Ev + 35083487
	13  nwjs Framework                      0x000000010ba814b1 ChromeMain + 5470625
	14  nwjs Framework                      0x000000010b83e161 ChromeMain + 3098193
	15  nwjs Framework                      0x000000010b9a0789 ChromeMain + 4549753
	16  nwjs Framework                      0x000000010dde74ab _ZN2v88UnlockerD1Ev + 27787035
	17  nwjs Framework                      0x000000010cd466db _ZN2v88UnlockerD1Ev + 10350923
	18  nwjs Framework                      0x000000010cd67f4c _ZN2v88UnlockerD1Ev + 10488252
	19  nwjs Framework                      0x000000010cd6828c _ZN2v88UnlockerD1Ev + 10489084
	20  nwjs Framework                      0x000000010cd68633 _ZN2v88UnlockerD1Ev + 10490019
	21  nwjs Framework                      0x000000010cd6a7bd _ZN2v88UnlockerD1Ev + 10498605
	22  nwjs Framework                      0x000000010cd5e42a _ZN2v88UnlockerD1Ev + 10448538
	23  nwjs Framework                      0x000000010cd6a1c4 _ZN2v88UnlockerD1Ev + 10497076
	24  CoreFoundation                      0x00007fff931e2881 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
	25  CoreFoundation                      0x00007fff931c1fbc __CFRunLoopDoSources0 + 556
	26  CoreFoundation                      0x00007fff931c14df __CFRunLoopRun + 927
	27  CoreFoundation                      0x00007fff931c0ed8 CFRunLoopRunSpecific + 296
	28  HIToolbox                           0x00007fff8b58e935 RunCurrentEventLoopInMode + 235
	29  HIToolbox                           0x00007fff8b58e76f ReceiveNextEventCommon + 432
	30  HIToolbox                           0x00007fff8b58e5af _BlockUntilNextEventMatchingListInModeWithFilter + 71
	31  AppKit                              0x00007fff95295efa _DPSNextEvent + 1067
	32  AppKit                              0x00007fff9529532a -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
	33  AppKit                              0x00007fff95289e84 -[NSApplication run] + 682
	34  nwjs Framework                      0x000000010cd6af3e _ZN2v88UnlockerD1Ev + 10500526
	35  nwjs Framework                      0x000000010cd6a614 _ZN2v88UnlockerD1Ev + 10498180
	36  nwjs Framework                      0x000000010cd85161 _ZN2v88UnlockerD1Ev + 10607569
	37  nwjs Framework                      0x000000010c9c2475 _ZN2v88UnlockerD1Ev + 6663909
	38  nwjs Framework                      0x000000010b76fd94 ChromeMain + 2253444
	39  nwjs Framework                      0x000000010b772642 ChromeMain + 2263858
	40  nwjs Framework                      0x000000010b76bc5c ChromeMain + 2236748
	41  nwjs Framework                      0x000000010c984d87 _ZN2v88UnlockerD1Ev + 6412279
	42  nwjs Framework                      0x000000010c983ef6 _ZN2v88UnlockerD1Ev + 6408550
	43  nwjs Framework                      0x000000010b549b4a ChromeMain + 58
	44  nwjs                                0x000000010b2e2d6a main + 522
	45  nwjs                                0x000000010b2e2b54 start + 52
)

[25059:1295:1207/223434:ERROR:gpu_video_decode_accelerator.cc(365)] HW video decode not available for profile 3

[25059:1295:1207/223721:ERROR:gpu_video_decode_accelerator.cc(365)] HW video decode not available for profile 3
@AlJohri

This comment has been minimized.

Copy link

AlJohri commented Dec 15, 2016

@team-pct happy to provide any information I can for debugging purposes

@SimonJ

This comment has been minimized.

Copy link

SimonJ commented Dec 18, 2016

i got the same issue, but for me popcorn time cant find my apple TV

@dustindauncey

This comment has been minimized.

Copy link

dustindauncey commented Dec 22, 2016

Same issue here (well the part about it stopping streaming after 2-3 minutes in to any video). Apple TV gen 4 running latest tvOS version, AirPlaying from MBP running macOS Sierra 10.12.2. Tried with the latest CI build too.

@ChrisAlderson

This comment has been minimized.

Copy link
Member

ChrisAlderson commented Jan 12, 2017

Disscussion should move to: butter-desktop#528.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment