Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
So how come Quicktime player encodes this file as fast as x264 (handbrake default settings, 1 pass) while using 20 times less CPU time (20% vs. 400%) and a codec that is much more complex?

Then most likely you are right, H265 QuickSync acceleration already enabled in HS.
 
  • Like
Reactions: djcristi
So how come Quicktime player encodes this file as fast as x264 (handbrake default settings, 1 pass) while using 20 times less CPU time (20% vs. 400%) and a codec that is much more complex?

EDIT: apparently, quick sync in kaby lake can encode hevc.
https://en.wikipedia.org/wiki/Intel_Quick_Sync_Video
Kaby Lake supports 10-bit 4K HEVC hardware encoding, but in QuickTime using Quick Sync, only up to 8-bit is supported. This means for hardware HEVC encoding on the Mac, 6th gen Skylake and 7th gen Kaby Lake are identical.

I wonder if things might change in 2018 with macOS 10.14. Maybe they'll introduce 10-bit encoding? Or maybe not. If they do, that would only come to 7th gen Kaby Lake or later.

BTW, I've noticed that the Finder takes a little bit longer to open HEIC files than JPG files, even with Kaby Lake. JPGs open instantly whereas HEIC files have a small delay on my 2017 i5 iMac. Not a big deal, but a minor disappointment.
 
Last edited:
  • Like
Reactions: djcristi
Pascal and Polaris graphics cards support HEVC decode/encode. In Windows and Boot Camp it’s great.

Apple has chosen not to include this in their AMD drivers in order to force computer upgrades at some point.

Nvidia hasn’t implemented it yet in their Mac drivers because they are perpetually in beta.
 
When the new Xeon Macs ship, it'd be interesting to see if Apple enables hardware encode/decode on the discrete GPU. AFAIK, xeons don't have Quick Sync.
[doublepost=1508059370][/doublepost]
Kaby Lake supports 10-bit 4K HEVC hardware encoding, but in QuickTime using Quick Sync, only up to 8-bit is supported.
It could just be a quicktime player limitation. The only HEVC option offered is one checkbox. We'll see when Apple updates FCPX to use HEVC (an VR), as promised.
But I'm not sure how third-party apps can use Quick Sync. In think functions are exposed in VideoToolBox.framework.
 
  • Like
Reactions: djcristi
When the new Xeon Macs ship, it'd be interesting to see if Apple enables hardware encode/decode on the discrete GPU. AFAIK, xeons don't have Quick Sync.
[doublepost=1508059370][/doublepost]
It could just be a quicktime player limitation. The only HEVC option offered is one checkbox. We'll see when Apple updates FCPX to use HEVC (an VR), as promised.
But I'm not sure how third-party apps can use Quick Sync. In think functions are exposed in VideoToolBox.framework.

In fact, some new Xeons has iGPU now.
 
Is it determined why IINA cannot use hw decoding on certain HEVC videos? The "LG cymatic Jazz 4K demo" does not always play at 60 fps for that reason (2017 iMac).
 
This doesn't seem right. (Left - QT | Right - IINA)

1. IINA's image seems too vibrant compared to natural looking QT's.

QT1.jpeg IINA1.jpeg
QT2.jpeg IINA2.jpeg


2. In this particular 4K of Life of Pi, the sky looks unrealistic

(This is a 2GB 1080p for comparison) QT | IINA
QT3.jpeg IINA3.jpeg

54GB 4K Bluray Remux in IINA
IINA4.jpeg

3. There is color banding in 4K. Look at the sky. Unexpected, right?

54GB 4K Bluray Remux in IINA
IINA5.jpeg


All these started since IINA released update for HEVC support. I'm getting too many crashes while scrubbing (both Touch Bar and touchpad). Anybody else noticing any of this ?
 
Last edited:
  • Like
Reactions: djcristi
Is it determined why IINA cannot use hw decoding on certain HEVC videos? The "LG cymatic Jazz 4K demo" does not always play at 60 fps for that reason (2017 iMac).
Same here. Downloaded the file to test it out.
My 2017 13" TB MBP can't play it in IINA 0.14.
The 1 GB version of that LG Cymatic Jazz file seems to work fine on my 2017 12" MacBook with IINA 0.0.14. However, it uses about 50% CPU.

http://4kmedia.org/lg-cymatic-jazz-hdr10-uhd-4k-demo/

Is that the version you tried? Note that I didn't check if it's always playing at 60 fps, but playback was smooth.
 
I googled the exact keyword given by the poster and it landed me on this page: http://4kmedia.org/lg-cymatic-jazz-hdr-hlg-uhd-4k-demo/

And it doesn't play.

Man, do you notice any weird behaviour in IINA's latest release. The post of mine above; if you happen to know solutions for any of those, pls share.
That one stutters for me too, with over 90% CPU usage.

But like I said, the other version of the same video works fine, despite having an even higher bitrate.
 
The other version is an mp4 file, the problematic one is a ts. But why should this interfere with hw decoding, I don't know.
And Quicktime won't open the mp4 version, btw.

I also find the colors in IINA to be over saturated, but the files don't work in quicktime so I can't compare.
 
The other version is an mp4 file, the problematic one is a ts. But why should this interfere with hw decoding, I don't know.
I don't think I've ever used a standalone ts file until this week. I've just seen them on disc. Not sure why they're using the ts file format for this. Also, I am not sure if the problem if the file format or the HEVC encoding method, etc.

Anyways the mp4 HEVC file works fine.

And Quicktime won't open the mp4 version, btw.
Correct.
 
So I have confirmation from "Apple developer relations" that Quicktime won't play mp4 files with tag "hev1" and there is no plan to fix this issue.
I wasn't kind in my reply.
 
Last edited:
Interesting.

With the Jazz Cymatic with the 1.2 GB mp4 file, my 2017 i5 7600 sometimes stutters on it with IINA 0.0.14.1. However, it's only using 10% CPU.
With the Jazz Cymatic with the 0.77 GB ts file, my 2017 i5 7600 plays it better but also with some stutter in IINA 0.0.14.1. However, it's using up to about 80% CPU.

So it seems the ts file is being decoded in software, mostly with success, but not perfectly. OTOH, the MP4 file is being decoded in hardware, and it works, but with less smoothness.

Meanwhile, on my 2017 MacBook, the MP4 plays perfectly in hardware both in IINA 0.0.14 and in IINA 0.0.14.1, with about 25% CPU usage.

EDIT:

I rebooted the i5 7600 iMac and now the mp4 file works perfectly with hardware decoding.
 
  • Like
Reactions: djcristi
I noticed something weird yesterday.

Life of Pi 2160p Remux I downloaded from rutracker had Russian as primary audio track. And the images were over saturated and there were color banding. I decided to check whether it's the file or the player. Wanted to remux it so I can see it in QuickTime.

I used Subler which although screws the 8ch audio by down mixing it to something useless, it created a 55GB mp4 container. Interestingly in QT it looks extremely washed out. The colours are dull. The CPU usage was as expected i.e. lower than IINA and there was no color banding as well; although there wasn't much of color to see the banding anyway.

I googled a little bit but didn't find any suitable answers. I spent couple of hours muxing but nothing positive happened.
 
  • Like
Reactions: djcristi
Great.

IINA over saturates the color and QT does not even show the right colours.

Is there any player that does it all good? I'll have to google.
 
  • Like
Reactions: djcristi
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.