VLC does not support h265 and certainly wouldn't be remotely possible years ago. Please don't confuse codecs with wrappers.
Please don't confuse codecs with resolution.
When in the same answer, I suggest that Apple will most probably use hevc in mp4 containers and not mkv, I certainly understand the codec/wrapper difference!
That said, 1080p HEVC files play just fine on VLC (or mpv player). 10-bit hevc encodings play smooth on a Mac Mini 2012 (i7 quad). I had not tested 4K material up until today, cause I don't care at the moment, I don't have a 4K screen/TV actually. And before you start saying that HEVC makes sense only for 4K, guess what, you can save a lot of space using HEVC for any video at any resolution.
I tested DP1 on the aforementioned Mac, and built-in HEVC support is partial.
I grabbed some mkv files from
http://jell.yfish.us and converted them to mp4 with Subler (pass-thru of course)
The following files play well with High Sierra (Quick Look + Quicktime + iTunes):
Code:
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L4@Main
Codec ID : hvc1
Codec ID/Info : High Efficiency Video Coding
Bit rate : 2 832 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Code:
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L4@Main
Codec ID : hvc1
Codec ID/Info : High Efficiency Video Coding
Bit rate : 2 991 Kbps
Width : 1 920 pixels
Height : 1 080 pixels
Code:
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L4@High
Codec ID : hvc1
Codec ID/Info : High Efficiency Video Coding
Bit rate : 19.7 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
This 4K 8-bit HEVC played back very smoothly, but upon seek Quicktime crashed (report sent…)
Code:
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main
Codec ID : hvc1
Codec ID/Info : High Efficiency Video Coding
Duration : 11mn 44s
Bit rate : 2 299 Kbps
Maximum bit rate : 25.5 Mbps
Width : 4 096 pixels
Height : 1 714 pixels
Display aspect ratio : 2.40:1
Things started to fail after a while, the following was unplayable natively (but thumbnail was successfully generated, with non-HDR clips):
Code:
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L4.1@High
Codec ID : hvc1
Codec ID/Info : High Efficiency Video Coding
Bit rate : 40.1 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Code:
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L6@Main
Codec ID : hvc1
Codec ID/Info : High Efficiency Video Coding
Bit rate : 2 010 Kbps
Maximum bit rate : 3 061 Kbps
Width : 3 840 pixels
Height : 2 160 pixels
Info comes from MediaInfo. VLC and mpv players could play well
all the above files. I had test files up to 120Mbps, before those players started choking.
So, on Macs without hardware acceleration, it would be safe to suppose that up to profile Main 10@L4@High files are supported. CPU % usage was acceptable (no audible fans):
VTDecoderXPCService: ranging from 25% to 85%, depending on resolution + bitrate.
+ Quicktime Player: ranging from 5% to 10%
On further tests, files of any resolution with:
Codec ID : V_MPEGH/ISO/HEVC
won't play, which is strange. I encoded some files with Handbrake. They have the V_MPEGH/ISO/HEVC codec id and as such, won't play on macOS natively. I’m no video codec
expert, but I have a good understanding and a general interest in such stuff. If anyone has something to add, or explain the Codec ID differences, please do so. I found
this, but it goes kinda deep.
Still, not ready to give up, i followed
this tip from SO and succescfully got ‘hvc1’ files from ‘hev1’ and ‘V_MPEGH/ISO/HEVC’, without converting video of course, just remuxing, a matter of seconds - then they would play nice with High Sierra!
tl;dr
HEVC Support on High Sierra on older Macs is limited to Profile
Main 10@L4@High, with Codec ID (fourcc) '
hvc1'
You can change CodecID, if that's your problem, easily without re-encoding, just remux the file with a tool like mp4box.