Here is the info of my source file:
I want to keep audio quality and just encode the video track so I use this command:
ffmpeg -i INPUT -c:a copy -c:v l
Add -tag:v hvc1 as @SushiHangover's answer and -bsf:v hevc_mp4toannexb to ffmpeg command(version 3.4 and later). That will create a QuickTime-compatible mov file.
-tag:v hvc1
-bsf:v hevc_mp4toannexb
ffmpeg
ffmpeg -i input-hev1.mp4 -c:v copy -tag:v hvc1 -bsf:v hevc_mp4toannexb -c:a copy output-hvc1.mov