What is difference between AV Foundation and VideoToolboox?

639 Views Asked by At

When to use AV Foundation and when to use Video ToolBox? Can anyone please explain something about it?

1

There are 1 best solutions below

1
On BEST ANSWER

AVFoundation is used for creating, editing and playing MPEG4 files and customize your app with powerful media functionalities.

While VideoToolbox uses the hardware's encoding and decoding capabilities

For further information please visit these websites,

For AVFoundation:- https://developer.apple.com/av-foundation/

For VideoToolbox :- https://developer.apple.com/documentation/videotoolbox