Search code examples
iosffmpegh.264video-encodinghevc

Is Apple Video Encoder (hevc) Lossless?


I want to know if Apple Video Encoder for iOS supports lossless compression or not with hevc (h265) codec? If yes, what are the compression settings for it?


Solution

  • HEVC itself is a lossless codec link. So yes, Apple's VideoToolBox supported HEVC compression is also lossless.

    By lossless, it means that whatever data it can capture (8 bit/ 10 bit), if it compresses them using HEVC, it can decompress back to what it originally captured.

    Now regarding compression settings to achieve lossless, first I need to know are you going to use Apple's VideoToolbox library to configure the compressor ? Or something else ?