博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
关于IOS的视频录制
阅读量:7038 次
发布时间:2019-06-28

本文共 1678 字,大约阅读时间需要 5 分钟。

 原文摘自:

 

昨天写了一段程序关于视频录制的,老是库找不到,提示错误。

  首先要加的是AVFoundtion.framework.

  接着提示

 

  "_CVPixelBufferGetPixelFormatType", referenced from:

      -[AVCallController captureOutput:didOutputSampleBuffer:fromConnection:] in AVCallController.o

  "_CVPixelBufferUnlockBaseAddress", referenced from:

      -[AVCallController captureOutput:didOutputSampleBuffer:fromConnection:] in AVCallController.o

  "_CVPixelBufferGetHeight", referenced from:

      -[AVCallController captureOutput:didOutputSampleBuffer:fromConnection:] in AVCallController.o

  "_CVPixelBufferGetDataSize", referenced from:

      -[AVCallController captureOutput:didOutputSampleBuffer:fromConnection:] in AVCallController.o

  "_kCVPixelBufferHeightKey", referenced from:

      -[AVCallController startVideoCapture] in AVCallController.o

  "_CVPixelBufferGetBaseAddress", referenced from:

      -[AVCallController captureOutput:didOutputSampleBuffer:fromConnection:] in AVCallController.o

  "_CVPixelBufferLockBaseAddress", referenced from:

      -[AVCallController captureOutput:didOutputSampleBuffer:fromConnection:] in AVCallController.o

  "_kCVPixelBufferWidthKey", referenced from:

      -[AVCallController startVideoCapture] in AVCallController.o

  "_CVPixelBufferGetWidth", referenced from:

      -[AVCallController captureOutput:didOutputSampleBuffer:fromConnection:] in AVCallController.o

把coreVideo.FrameWork加进去!

接下来又是

Undefined symbols for architecture armv7:

  "_CMSampleBufferGetImageBuffer", referenced from:

      -[AVCallController captureOutput:didOutputSampleBuffer:fromConnection:] in AVCallController.o

  "_CMTimeMake", referenced from:

      -[AVCallController startVideoCapture] in AVCallController.o

 

这时候把CoreMedia.FrameWork 加进去

 

转载于:https://www.cnblogs.com/85538649/archive/2012/06/04/2534639.html

你可能感兴趣的文章