Mahnoor Khan
Mahnoor Khan

Reputation: 25

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?

Upvotes: 1

Views: 1747

Answers (2)

TonyPapousek
TonyPapousek

Reputation: 21

While certain implementations have a lossless option, HEVC is a mathematically lossy codec by default. The docs don't mention if the iOS libraries support that option, so we can't safely assume it's available unless proven otherwise.

Lossless h264 takes a relatively good chunk of computing power and space to work, so likely isn't ideal for a default mobile option.

When it comes to intermediaries and folks chasing quality, visually 'lossless' won't cut it. Unless it can be converted back bit-for-bit, generational loss will occur.

TL;DR: ¯\(ツ)

Upvotes: 2

FahimAhmed
FahimAhmed

Reputation: 507

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 ?

Upvotes: 2

Related Questions