关于IOS的视频录制

 原文摘自:http://blog.csdn.net/zoutian007/article/details/7472098

关于IOS的视频录制 

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

  首先要加的是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 加进去

 

posted on 2012-06-04 14:24  wtq  阅读(728)  评论(0编辑  收藏  举报