1

Use-case

  1. Existing C++ code working with stdio files ( FILE* )
  2. To be integrated into an iPhone Objective-C app
  3. Should be used to read media files from the Asset Library

Is it possible to get the NSFileHandle/Descriptor for an AVAsset object such that it'll be readable using stdio 'fread'/'read' ?

Any help will be appreciated.

4

1 回答 1

0

简单,而不是使用assetWithURL 创建一个AVAsset,使用[NSFileHandle fileHandleForReadingFromURL]。

于 2013-07-30T16:54:53.807 回答