I have found a command on this blog which works great to encode videos using H.265/HEVC in an Apple-compatible way:
ffmpeg -i input -c:v libx265 -preset fast -crf 28 -tag:v hvc1 -c:a aac -ac 2 -b:a 224k output
The command works perfectly and is exactly what I was looking for. However, while the blog describes most of the options used in the command, the I can't seem to find what -crf 28
does, or why it is necessary in the command.
Does anybody know what -crf 28
relates to as I've been unable to find an explanation online?
Thanks in advance!