Keynote intermittently fails to play media files on some HDMI connections

I have a MacBook Pro Touchbar running the latest version of OSX and Keynote.

One of my many jobs is to be a public speaker: regularly speaking to hundreds of people in one room. My slide decks, using Keynote, are complex and have a variety of video and audio files in them.

When connected to a display via HDMI only, these media files fail to play about 40% of the time. In this instance, the click-to-play does nothing; the next click advances to the next slide or element.

If I go back a few clicks and try again, the media files sometimes play - or sometimes don't.

If I press 'escape', exit the presentation, then go straight back in again, the video ALWAYS plays. (The media files are not at fault).

When connected via VGA or when playing on the laptop itself, the media files consistently play as expected. (The media files are not at fault).

I am aware of at least one other user who is aware of suffering this issue. I suspect it affects more - the issue is quite rare to trigger (requiring HDMI and a large amount of video files), and the occasional "misfire" might not have been spotted by the average presenter who possibly only uses one or two video clips.

My 2010 MacBook Air, and 2009 MacBook Pro, both dealt with media files quite happily in the same situation.

Clearly, this is a bit devastating. There is rarely any opportunity to do a proper tech runthrough, so I never quite know whether the presentation is going to work properly. Every time I present in these circumstances and clips fail to fire, I get put off my stride and lose a bit of self-belief. I know I look a bit ****. It's got to the point where I no longer use any media files, and even export my entire deck as flat images to avoid Keynote entirely. It's made me feel my investment in a beefy MacBook Pro TouchBar has been not just a wasted purchase, but one that has negatively affected my confidence and ability, and therefore my earning power. I've just caught myself say no to a speaking engagement purely because I'm concerned that the slide decks won't work smoothly.

What would anyone suggest here? I'm open to a hardware fix or a software one, given the machine is flawless on VGA connections.

I'd also be heartened to hear from others who have experienced the same thing; and I'm grateful for any replies that might help.

Things that may help you to know:

  • I've used the official Apple USB-C to HDMI adaptor - it's got a USB-C passthru, a USB-A and an HDMI adaptor on it. I've also used an Anker-branded HDMI (only) adaptor. Both of these exhibit the issue. I'd therefore go so far as to say that the HDMI adaptor makes no difference.
  • Media files play either automatically-on-slide-load or as animation event.
  • Different audio sample-rate (44.1 or 48 kHz) makes no difference
  • Different video codecs make no difference
  • Different video bitrates make no difference
  • Mono/stereo makes no difference
  • Files playing fullscreen or a little window makes no difference
  • Bluetooth clicker or keyboard makes no difference
  • This has happened a number of times using a number of different displays: sometimes televisions, sometimes projectors, sometimes more complex switchers and presentation gear. It only ever affects HDMI connections. VGA connections are never affected.
  • Things I don't know:
    • I don't know for certain whether it always affects HDMI displays, or just some
    • I don't know whether there's a common refresh rate or resolution - it's normally not my kit and I normally have no way of testing that.

MacBook Pro TouchBar and Touch ID, macOS High Sierra (10.13.4)

Posted on Apr 23, 2018 7:53 PM

Reply

Similar questions

16 replies

Jun 21, 2018 4:16 AM in response to James Cridland1

And I join you again, dear reader, after having entirely reinstalled OSX on my MacBook Pro, assuming that it would fix the issue. It took about four hours.


It doesn't fix the issue.


So, here's where we are:


  • HDMI with sound fed through HDMI: video/audio occasionally fails to fire
  • HDMI without sound (ie sound fed through internal speakers): all works well
  • VGA: all works well


I have also bought a $15 VGA-to-HDMI adaptor. It's plastic, it's rubbish, it makes the picture look a bit gray, but it stops the issues.


So, here's the plan. After this exhaustive testing, I now intend to make a new thread with a bit more of a focused report.

May 20, 2018 12:03 AM in response to James Cridland1

...later...


Under "System Preferences > Energy Saver > Power Adapter", I've unselected "enable power nap", and shoved it up from 5 minutes to 1 hour. I've also removed the screen saver ("System Preferences > Desktop and screensaver > Screen Saver") which was set to go off after five or ten minutes. The screen wasn't going off, but it *could* have been the case that some energy saving was occurring.


In Keynote>Preferences, I've turned off TouchID; and disabled remotes.


I've attempted to recreate the error on my HDMI monitor, without success. This is either good news or bad; good news that I've fixed the error, or bad news that I've just failed to recreate the issue.

May 22, 2018 9:15 PM in response to James Cridland1

...later...


I was able to visit a venue where it hasn't worked before, and attempted, with the same slide deck, to reproduce the issue. One of the university's techs was also present.


I couldn't reproduce the issue.


The only difference, as far as I could work out afterwards, was that the AUDIO was not routed through the HDMI connection, and instead was playing from my machine's speakers. And perhaps this is something to do with the issue - the Mac's audio times out after a while after there's no audio (you can hear a very soft click if you listen to the output of the headphone socket); and perhaps Keynote is spotting that there's no longer any valid audio connection and hanging when it sees the audio. Hitting 'escape', to come out of a presentation, does I think make a 'doink' noise, and that might assist the audio circuitry to wake up again.


This might also explain why my HDMI monitor doesn't exhibit this issue (it doesn't have any audio); and why it seems to not always be an issue with some systems - perhaps those are the ones I'm not feeding audio via the HDMI cable.


I intend to carry on testing this - but the audio output might be part of the issue here.

Jun 15, 2018 8:42 PM in response to James Cridland1

As an addendum to the above: the above tests appear to point to an issue with the audio. If you don't feed audio through HDMI, things appear to work just fine.


Since I installed Soundflower a while ago, and someone else who's commented here has also installed Soundflower, I'm wishing to test whether Soundflower has any issues. While I uninstalled it a long while ago, it's still appearing in my sound preferences as a valid input/output. I also have Audio Hijack installed by Rogue Amoeba, and it strikes me that this is also something to do with the sound output, and thus I am quite keen to remove this from the audio chain as well.


Accordingly, I'm currently rebuilding the computer entirely from scratch, reinstalling OSX and the few actual programs I use. This should enable me to see if there's an incompatibility.


The good news: I've managed to replicate the issue on my own television, so I think I may be able to know categorically whether it's an issue with these pieces of software. This might also explain why this bug is seemingly quite rarely reported on the internet, since I can't imagine Soundflower, or AudioHijack, being used by many OSX users.

May 31, 2018 4:36 PM in response to Mark Mieras

I was reading some of the information on Thunderbolt to HDMI plugin. And guess what I found?? Yes, using the Thunderbolt to HDMI connections can work better. The combination seems to cancel out some of the "protections" used on some sound and video files.


There are quite a few T-H connectors out there. You need to choose one that best fits the way you plan on using the Keynote and also the type of files you intend including in your presentations.

Apr 29, 2018 9:23 AM in response to James Cridland1

We have a similar situation but have not done the comprehensive troubleshooting you have. These very humble offerings with disclaimer: Our problems have been usually non-reproduceable and totally arbitrary. And you have probably tried everything here anyway!


The University techs here will take troublesome connectors (usually HDMI), replace them, and then take the problem cables back where I suspect they recycle them back into the system.

Switching our personal adaptors around to different ports and switching actual adaptors on our own computers has helped. Now these have worked perfectly well at home.

The U's wireless system can be wonky if you are using a wireless component.

May 30, 2018 4:45 PM in response to Nicholas Ragusano1

Thank you, Nicholas, for at least making me feel I'm not talking to myself! 🙂


Today, I removed any vestiges of Soundflower from my system (I'd uninstalled it a long time ago, but it still appeared as a valid audio output for some reason). I was considering a complete reinstall of the system, too.


Might I ask you what type of Mac you have? (Touchbar?)

May 31, 2018 5:15 PM in response to Nicholas Ragusano1

Hi, Nicholas,


I use a Macbook Pro with USB-C connections. I've used the official Apple HDMI connector and an Anker one. Both exhibit the same issue.


The audio I play is not protected by any form of DRM, and I have ruled out copy protection as an issue; it is DEFINITELY an issue with HDMI connections, as you have highlighted.


I do not have this issue with VGA; perhaps the right thing for me to do is to source a VGA -> HDMI adaptor, slightly unintuitively.

May 6, 2018 12:18 AM in response to Nicholas Ragusano1

Hi, Nicholas, and thanks for your suggestion.


Permissions aren't required to play - for example - WAV audio files; and they intermittently don't play either. Even videos that don't play WILL play quite happily if you hit 'escape' then 'play' again. I can fairly conclusively state therefore it isn't an issue with the HDMI cable.


I'd love to suggest to venues that they only use VGA and separate audio. Perhaps it's as simple as not bringing an HDMI cable! Sadly, that's not always an option available to me.


I notice that Keynote has had another update; so we'll see if that might have fixed the issue. I doubt it, though.


This has left me with a very sour taste in my mouth about investing a fair amount in a top-of-the-range model. It is simply useless for the one requirement that I have of it. If I understood what the issue was, I'd be happier.

May 30, 2018 4:42 PM in response to James Cridland1

I wish someone would solve this nasty issue! I had a presentation go bad on me just yesterday because of the sound issue. When I first checked it, it didn't work. A second try, the opening music I had for the first few slides worked as well as the sound effects for another slide. However, at a point where the music should have come in to make a dramatic affect,------------------. Right, nothing. And again at the end, where music was to have made another dramatic ending, nothing. It fell flat! Now, this is a presentation in Keynote that I have made many times without a single problem using VGA and separate sound system. But, going through the HDMI cable is the issue.

Apr 23, 2018 8:06 PM in response to James Cridland1

Additionally...


When testing it on my HDMI television, it appears to work fine. But one theory I now have is that the video only doesn't work if you leave the presentation alone - there seems to be a timeout after which media files fail to play (unless you exit out of presentation mode and go back in). (It also works just fine on my HDMI monitor - but, again, it might be a timeout, since when I test it I'm running through the slides one after another).

May 5, 2018 6:48 PM in response to James Cridland1

I read somewhere (not sure where) that the fault is with the HDMI cable. Built into the cable is a way to determine that permission to play certain media is needed. If the cable does not detect the permission (computer talking to the monitor or projector), the media may stall, not play at all, or everything just stops.


I've actually had that issue using Apple Play. My HDMI cable didn't recognize the permission and the video didn't play. Using another HDMI cable, the media just stopped.


I'm afraid the best that can be done is use the VGA cable and separate sound cable.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Keynote intermittently fails to play media files on some HDMI connections

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.