No need to download anything.
Code:vi -b -c "%s/hev1/hvc1/g" -c "wq" /path/to/video
Awesome!
I'm not familiar with Terminal.
Is there an extra command so I may batch convert a whole bunch of files?
No need to download anything.
Code:vi -b -c "%s/hev1/hvc1/g" -c "wq" /path/to/video
FFmpeg, the major dependency of mpv for decoding, just added HEVC hwdec support several hours ago, so technically we can build an IINA release with HEVC hwdec support from now. As using code directly from develop branch is risky, we are not going to add it in the coming 0.0.13 release, but hopefully it could be available in 0.0.14, when FFmpeg and mpv released the next stable version.
As said several times, you likely need to change the type from 'hev1' to 'hvc1'
Here is a file you can try https://www.dropbox.com/s/avvvz47qtrlr1z4/The_World_in_HDR_in_4K_HDR10.mp4?dl=0
Indeed, actually I just took my hex editor and changed hev1 to hvc1 and I tried it on a 10 bit 2160p movie, and it plays flawlessly (13" MBP 2014). Even am able to import it into iTunes without a hitch (although I don't know how to tag it as 4k).
I contacted IINA developer couple of days ago. I got this reply from him today...
I am using http://ridiculousfish.com/hexfiend/Hi, which Hex Editor are you using ? Thanks
Do you have MP4Box installed? And remember that bash needs correct case.Unfortunately, I can't seem to get it to run or I don't understand terminal well enough...
HEVC will play but without hardware decode support.
Again, it depends on the type of file. MKV files won't play in QT, and probably never will. Some MP4 files will, but some won't if they have the wrong encoding flags.
However, the ones that are compatible with QT will even open on my ancient circa 2010 machines (although they won't play well because the computers are too slow and do not have hardware decode).
Where are your mp4 files from?
If say some random guy on the internet recording TV shows or whatever then there is a good chance they won’t work, since they don’t care about High Sierra that just came out 2 days ago.
If they are from old versions of Handbrake they won’t work but will work from the most recent nightlies.
If they are from iPhones they will work.
It should be noted that h.264 was the exact same way early on.
So far I have been able to play all HEVC mp4 in QT as long as it is not above 3840x2160 and 10 bit. In Subler you need to create a new file, not just open and save.
[doublepost=1507662671][/doublepost]Care to share what Handbreak (nightly build) options work to get proper HEVC for Quicktime on 10.13 ?You are doing it wrong.
If you use the later Handbrake nightlies and encode to hcv1 with the right settings, the HEVC files work just fine in Quicktime on 10.13.
4k video played on a MacBook Pro... watching it in laptop's display vs watching it in an external 4K/5K monitor.
Does it make any difference in terms of system resource usage(cpu/gpu load) ?
I thought so.
A friend built a PC today with Ryzen 1600x, Nvidia 550Ti 1G, Dell 1080p monitor. In Nvidia's spec page for the GPU it says the support for max resolution is 2560x1600. But he can play this http://4kmedia.org/samsung-nature-uhd-4k-demo/ 4K h264 just fine under 20% CPU. What gives! Would I be correct in assuming that - 1. this works because the gpu is pushing the decoded data to a 1080p monitor? 2. the gpu won't be able to push a 4k monitor for the same video file?
I thought so.
A friend built a PC today with Ryzen 1600x, Nvidia 550Ti 1G, Dell 1080p monitor. In Nvidia's spec page for the GPU it says the support for max resolution is 2560x1600. But he can play this http://4kmedia.org/samsung-nature-uhd-4k-demo/ 4K h264 just fine under 20% CPU. What gives! Would I be correct in assuming that - 1. this works because the gpu is pushing the decoded data to a 1080p monitor? 2. the gpu won't be able to push a 4k monitor for the same video file?
That's incorrect I think. The Ryzen lineup doesn't have integrated graphic processing chip and in this case the CPU was even lower than 20%. So CPU is not doing anything in this case. The GPU o. the other hand is decoding the whole thing with hardware acceleration. [The media info was showing device: nvidia 550Ti anyways]1) Correct, the video decode was completed by CPU, nothing to do with the GPU. GPU only need to display the decoded data, very easy job.
550Ti can't decode HEVC, so it is the CPU who do the work. It may not have a dedicated decoder however. It is easy to see if there is hw accelerated video decoding as CPU utilization only changes by max 1-2% when doing playback.That's incorrect I think.
I'm not sure if it's been discussed, but is encoding hardware accelerated? I'm on a 2017 iMac and I just encoded a 2'15" 60 fps file into 1080p HEVC in quicktime player. CPU usage is around 20% (of one core) and this took 5 min.