File that won't play on some Macs
I've run into an issue where a particular set of HLS streams won't play on some Macs.
It comes down to the Mac video system seems to think it can play the Transport Stream (TS) segments, but can't decode the video. It doesn't generate an error. The TS audio, and any captions, show up fine, but instead of the video, the content is black.
I'm seeing this on an array of older Macs, including the current Mac Pro, with the same behavior. Recent MBP and iMacs don't have the issue, and play the video just fine.
I'm guessing either the GPU or CPU can't hack the codec. Is there some way to let the video player (I'm using JWPlayer) know not to try to play on those systems? I'm doing an adaptive stream, and all but the highest quality version play fine. If there were a way to let the systems know they can't play the video, then the adaptive stream would work for all the users.
The codec isn't all that demanding, and I tried including the codec details in the m3u8 listing.
1280*720 (16:9) at 59.94 fps, AVC (Main@L4.1) (CABAC / 2 Ref Frames)
If anyone would like to take a look at the problem file, I can send an m3u9 with three TS segments. Playing a TS in QuickTime on an affected system will show the problem, or you can drop the files on a web server and see the issue in Safari.
Here is the m3u8 for the stream I'm having problems with.
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:11
#EXT-X-MEDIA-SEQUENCE:167
#EXTINF:10.01,
media_w1027918969_185.ts
#EXTINF:10.01,
media_w1027918969_186.ts
#EXTINF:10.01,
media_w1027918969_187.ts
And here is one with the codec description included for the adaptive stream:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=8003000,CODECS="avc1.77.41,mp4a.40.2",RESOLUTION=128 0x720
chunklist_w1296117351_b8003000_slen.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=2003000,RESOLUTION=1280x720
chunklist_w1296117351_b2003000_slen.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=853000,RESOLUTION=640x360
chunklist_w1296117351_b853000_slen.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=203000,RESOLUTION=284x160
chunklist_w1296117351_b203000_slen.m3u8
Mac Pro, OS X El Capitan (10.11.6)