Safari 13.0.5 doesn't play certain videos

bogdanw

macrumors 6502a
Original poster
Mar 10, 2009
691
371
I don't usually use Twitter, but I just noticed that Safari gives the error message "The media could not be played." when trying to play a video. Here's an example
Code:
https://imgur.com/a/WRagiKV
It works with the user agent set to Firefox - macOS.
Another error message is "Error loading this resource", shown on this page https://arstechnica.com/gadgets/2020/02/linux-distro-review-intels-own-clear-linux-os/ when trying to play this video https://cdn.arstechnica.net/wp-content/uploads/2020/02/clear-linux-gimp-2.10-race.mp4
Back in the day, we used to install Perian or VLC's plugin. Is there something similar now?
 

Ritsuka

macrumors 65816
Sep 3, 2006
1,019
469
The arstechnica one is encoded in H.264 High 4:4:4 Predictive profile. Intel's hardware h.264 decoder can't decode that, neither QuickTime. They clearly encoded it in the wrong format.

Most browsers on Linux can't use the hardware decoder, so they probably didn't even know.

The twitter one is probably something wrong on Twitter backend.
 
Last edited:

Ritsuka

macrumors 65816
Sep 3, 2006
1,019
469
The Twitter one works in Safari on my Mac.

Chrome has got its own H.264 software decoder to use if the hardware one fails, so probably it supports H.264 4:4:4 too. Safari uses AVFoundation, and AVFoundation doesn't support it.
 

Similar threads

Register on MacRumors! This sidebar will go away, and you'll see fewer ads.