3 ms·
Thanks for the reply! Also wow I hadn't realize that Apple supports hardware decoding of Google's VP9 codec. Googling a bit, it looks like this is new in the M
by varenc 5y ago
Thanks for the reply! Also wow I hadn't realize that Apple supports hardware decoding of Google's VP9 codec. Googling a bit, it looks like this is new in the M1 Macs. Though not sure if it supports AV01 yet? When I browse Youtube in Firefox I seem to get AV01 encoded videos. Are you sure Firefox on an M1 Mac is using hardware decoding? I wonder if they might just be using an optimized software decoder. Wish I had an M1 mac to test!
Frustratingly I couldn't find any description of videotoolbox codec support on Apple's documentation, though I did find that this VP9 constant exists: https://developer.apple.com/documentation/coremedia/kcmvideocodectype_vp9 https://developer.apple.com/documentation/coremedia/kcmvideo... (but couldn't find an AV01 constant)
Re: Casks, I hadn't thought about it but you're totally right that this is probably mostly due to macOS developer signing issues.
- def- 5y agoI get VP9 videos in Firefox apparently, probably depends on the video and your youtube settings: Running MOZ_LOG="PlatformDecoderModule:5" firefox shows that VP9 works: [RDD 15027: MediaSupervisor #1]: D/PlatformDecoderModule AppleVTDecoder[102edcfa0] Creating AppleVTDecoder for 3840x1920 VP9 video [Child 15023: MediaPDecoder #1]: D/PlatformDecoderModule AudioTrimmer[11fec72e0] ::PrepareTrimmers: sample[0,21000] no trimming information [RDD 15027: MediaPDecoder #2]: D/PlatformDecoderModule OpusDataDecoder[102ef4040] ::Decode: Opus decoder skipping 312 of 960 frames [Child 15023: MediaPDecoder #2]: D/PlatformDecoderModule AudioTrimmer[11fec72e0] ::HandleDecodedResult: sample[0,21000] (decoded[0,13500] no trimming needed [RDD 15027: MediaPDecoder #1]: D/PlatformDecoderModule AppleVTDecoder[102edcfa0] AppleVTDecoder: using hardware accelerated decoding AV1 hw decoding on M1 Pro indeed is not supported even in Firefox.