AV1 is not even part of CoreMedia'sI'm macOS developer.
QuickTime can't play AV1 videos in .webm format.
I didn't find hardware acceleration in Chrome (M1 version) for .webm videos.
When I played a sample video AV1 1080p in .webm CPU loading was 120% and for H.264 video Chrome shown only 9%.
In my app results were the same. I couldn't utilize VideoToolBox hardware decoder for AV1 videos.
kCMVideoCodecType
.AV1 is not even part of CoreMedia'skCMVideoCodecType
.
But VP9 was not as well until iOS 14, that's what I say it is not 'verifiable'. We may or may not have the hardware capability, but we cannot check that out until Apple gives us a way to check that.
All Video Codec Constants currently supported can be checked on Apple Developer Website
But you cannot explain the extremely low CPU usage (and power usage )for VP9 playback.VideoToolbox lets you enumerate the property bags for all the codecs it supports. There is a flag for if it uses HW vs SW to differentiate the H.264 and H.265 SW vs HW codecs. VP9 only has the single entry I’ve seen, and doesn’t set the HW property on it. If there was HW support, I would have expected two entries (one SW, one HW).
Since VP9 is Google’s baby, I’m not terribly surprised Apple hasn’t created a hardware codec for it. Apple’s more likely to focus more on AV1 and use VP9 as a way to bridge the gap in the short term, until it is ready.
com.apple.developer.coremedia.allow-alternate-video-decoder-selection
VTIsHardwareDecodeSupported(kCMVideoCodecTypeVP9)
is returning false
, and VTDecompressionSessionCreate()
will fail with error -12906
which means "decoder not found".This entitlement is undocumented(at least I cannot find it on developer website), but without such entitlement, the attempt to decode a VP9 video using VideoToolBox will fail on iOS asVTIsHardwareDecodeSupported(kCMVideoCodecTypeVP9)
is returningfalse
, andVTDecompressionSessionCreate()
will fail with error-12906
which means "decoder not found".
https://www.youtube.com/watch?v=-RsmsV2BYPY
No dropped frame here on base M1 MBA but it could be because my connection speed is like 7X than yours. (this is on Safari however)Someone please check the smoothness of 4K60P video playback on YouTube in Mac mini M1. First of all, I am interested in the smoothness of decoding such videos in Chrome.
I have an Intel NUC Hades Canyon (HVK). I open a 4K 60fps video in Chrome and see a bunch of dropped frames. The playback does not go as smoothly as possible
View attachment 1710641
View attachment 1710642
Link to video for the test:Code:https://www.youtube.com/watch?v=-RsmsV2BYPY
P. S. I am already thinking about buying a new Mac mini on the M1 chip ?
No dropped frame here on base M1 MBA but it could be because my connection speed is like 7X than yours. (this is on Safari however)
View attachment 1710687
Couldn't. Uninstalled it for some time now.Thank you very much! ?
Could you check in Chrome?
Have you tried version 87 optimized for the M1 chip?Couldn't. Uninstalled it for some time now.
If you are concerned about 4k60p on an M1 Mac then you don't need to worry. It seems to be regardless of codec and browser, the M1 CPU bottleneck is between 8k30p and 8k60p, it has a lot of headroom to handle 4k60p even when HDR is involved.Have you tried version 87 optimized for the M1 chip?
Thank you very much! Could you check it out in Firefox as well? It works much better on my computer than ChromeIf you are concerned about 4k60p on an M1 Mac then you don't need to worry. It seems to be regardless of codec and browser, the M1 CPU bottleneck is between 8k30p and 8k60p, it has a lot of headroom to handle 4k60p even when HDR is involved.
By the way since you seem to be using k-pop videos to test, the KBS Kpop channel with its k-choreo videos at 8k60p are the ones that the M1 struggles with. The latest 2 IU fancam videos are interesting in that one is in VP9 while the other is AV1. "Lilac" in VP9 drops a bit, while "Epilogue" in AV1 drops like a b***h, on my M1 Air via Chrome.
I thought VP9 decoding was added on Big Sur. Actually, I might be wrong. Maybe it was just on the Apple TV update?
Honestly if there's no VP9 support yet - this is absurd!
The media engine have nothing to do with the processor cores though ??♂️Still no AV1 or VP9 decode support in the new M1 Pro / M1 Max chips I assume? (based on Apple's listed specs and the fact that they are based on the old A14 cores?)