ios - AVFoundation Vs VideoToolbox - Hardware Encoding -


so more theoretical question/discussion, haven't been able come clear answer reading other posts , sources web. seems there lot of options:

brad larson's comment avfoundation

video decode acceleration

videotoolbox

if want hardware decoding on ios h.264 (mov) files , can use avfoundation , avassets, or should use videotoolbox (or other frameworks). when using these, how can profile/benchmark hardware performance when running project? - looking @ cpu usage in "debug navigator" in xcode?

in short, i'm asking if avfoundation & avassets perform hardware encoding or not? sufficient, , how benchmark actual performance?

thanks!

if want decode local file on ios device - i'd use avfoundation.

if want decode network stream (rtp or rtmp) use video toolbox - since have unpack video stream yourself.

with avfoundation or video toolbox hardware decoding.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -