I know e are talking about HEVC decoding here, and this is a very interesting discussion. on my iMac Pro HEVC decoding seems to barely tax anything at all. I have suspicions that it is hardware decoded; I'll have to look at activity monitor.
As for ENCODING, I don't think it is. H.264 seems to be though! The iMac Pro's export H.264 faster than all current quicksync macs, despite not having quicksync. I am able to export 4K "best quality" H.264 in 2X real time. (Maybe that is the CPU? I don't know). A 15 min 4K file took 7 minutes in compressor, for example.
HEVC however took 5.5 hours (!!). So something's wrong.
[I used Compressor in both cases, latest version, from a prores file. I used the Apple Device presents]
I know e are talking about HEVC decoding here, and this is a very interesting discussion. on my iMac Pro HEVC decoding seems to barely tax anything at all. I have suspicions that it is hardware decoded; I'll have to look at activity monitor.
As for ENCODING, I don't think it is. H.264 seems to be though! The iMac Pro's export H.264 faster than all current quicksync macs, despite not having quicksync. I am able to export 4K "best quality" H.264 in 2X real time. (Maybe that is the CPU? I don't know). A 15 min 4K file took 7 minutes in compressor, for example.
HEVC however took 5.5 hours (!!). So something's wrong.
[I used Compressor in both cases, latest version, from a prores file. I used the Apple Device presents]
The software has to be written to accept it. To date, I only know of QS implemented to encode, but that's an Intel thing that hasn't been implemented in Xeon processors.This is fascinating. Can you try another test of HEVC encoding? Seems like if they enabled HEVC decoding, the encoding piece would go along with it.
My HEVC decode of 10-bit 4K used <10% of my (base) iMac Pro CPU.
Edit: unless Apple has built in their own code to support something in AMD in one of their own software packages. If that's the case, you have to use that specific software to benefit.
Interesting blog post here: https://larryjordan.com/articles/first-look-hevc-vs-h-264-in-apple-compressor-4-4/
I might try some HEVC encoding via Compressor tonight.
VLC is horrible regardless. Just use IINA.
Those were my findings, on the iMac Pro. Yet look at this:
http://barefeats.com/imacpro_vs_pt4.html
He is showing fast speed using compressor to export Bruce to HEVC. I wonder what I am missing...
That's not fast as all, BruceX is just a 1.23 seconds long 23.98FPS video, and it cost the iMac Pro to use 71 seconds to encode. That means the encoding speed is 71/1.23/23.98 = 2.4FPS. Hardware encoding should be ~10x faster.
It's just because the power Xeon, make the encoding speed faster than other Mac.
I was very tired when I wrote this and I thought about it. You're right - that is very slow. But I am seeing slowdowns encoding HEVC way more than 10x. More like 20-30x slower than real time.
Of note - everything seems slow on his tests. It's just what degree of slowness we are talking about. Does Apple not HW accelerate HEVC encodes at all? The playback is, clearly (on iMP). H.264 encodes are (on iMP, MB, iMac)
If I recall from watching that test, no. Handbrake will not hardware encode x265 yet, but will x264 if it is set up correctly. There's two hardware encode options I've seen with handbrake, the one through the advanced settings tab to use openCL and the other using QS. QS is not a good hardware encode and only works with the the intel graphics chips...the xeons don't have this integration. I also played with 10bit and 12bit x265 last night and nothing with that other than slower encodes.
Are you using Compressor 4.4 for the HEVC encode?I was very tired when I wrote this and I thought about it. You're right - that is very slow. But I am seeing slowdowns encoding HEVC way more than 10x. More like 20-30x slower than real time.
Of note - everything seems slow on his tests. It's just what degree of slowness we are talking about. Does Apple not HW accelerate HEVC encodes at all? The playback is, clearly (on iMP). H.264 encodes are (on iMP, MB, iMac)
IFixit thinks the T2 die size is too small to be a modified A10/A11.
Also, just intuitively, the idea of handing off video encoding to the T2, which I understand is basically a customised iPhone 7's A10, would be like setting up a rack of smartphones to do Bitcoin mining. Yes, it could be done, but no, probably not the best tool for the job!
There are no Macs that support hardware encode for 10-bit HEVC in QuickTime.Are you using Compressor 4.4 for the HEVC encode?
Did you get a chance to try with your 2017 MacBook yet? Mine is stuck somewhere between China and Dallas
Maybe there are no Macs that support hardware encode for 10-bit HEVC?
The T2 chip would be handling significantly less functions than the A-Series in an iOS device so it stands to reason it's physical footprint would be smaller.
Assuming the T2 is doing encoding, it would be optimized for performing that task so it would be significantly better at it then a general-purpose device.
There are no Macs that support hardware encode for 10-bit HEVC in QuickTime.
However, the Kaby Lake Macs with iGPUs do have the hardware to support it.
Are you using Compressor 4.4 for the HEVC encode?
Did you get a chance to try with your 2017 MacBook yet? Mine is stuck somewhere between China and Dallas
Maybe there are no Macs that support hardware encode for 10-bit HEVC?
Skylake has no hardware 10-bit HEVC encode at all.Compressor 4.4 lets you pick between HEVC 8-bit and 10-bit 4K output. I tried on my Skylake MacBook Pro, and the 8-bit output encoded in near-real time, so obviously hardware accelerated. The 10-bit option looked like it was going to take 5+ hours for the same 60 second video, so I cancelled.
Let us know what happens, but I suspect it will still be painfully slow on the iMac Pro, but not quite as painfully slow as the Skylake MacBook Pro.Later tonight, I'll try 10-bit HEVC encode on the iMac Pro. And when my 2017 MacBook shows up, I'll try 10-bit encode on there, as well.
As mentioned above the "image signal processor" capability of the T2 is related to the iSight camera functionality, which is why it's unlikely to be for encoding/decoding media files.
Compressor 4.4 lets you pick between HEVC 8-bit and 10-bit 4K output. I tried on my Skylake MacBook Pro, and the 8-bit output encoded in near-real time, so obviously hardware accelerated. The 10-bit option looked like it was going to take 5+ hours for the same 60 second video, so I cancelled.
Later tonight, I'll try 10-bit HEVC encode on the iMac Pro. And when my 2017 MacBook shows up, I'll try 10-bit encode on there, as well.
Software and settings perform differently. Compressor is one of those that I hated because the settings were horrible. I can currently encode a 60 sec 4k video in about 60 seconds in 8 bit HEVC, and about 70-80 seconds in 10 Bit HEVC.