音视频相关

Xcode导入过sdl的项目中导入ffmpeg后报错:

"_CMBlockBufferCreateWithMemoryBlock", referenced from:
    _videotoolbox_common_end_frame in libavcodec.a(videotoolbox.o)
"_CMSampleBufferCreate", referenced from:
    _videotoolbox_common_end_frame in libavcodec.a(videotoolbox.o)
"_kCMFormatDescriptionExtension_SampleDescriptionExtensionAtoms", referenced from:
    _av_videotoolbox_default_init2 in libavcodec.a(videotoolbox.o)  
"_CMVideoFormatDescriptionCreate", referenced from:
   _av_videotoolbox_default_init2 in libavcodec.a(videotoolbox.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
音视频相关_第1张图片
1.png
解决方法:  导入 CoreMedia.framework
音视频相关_第2张图片
11.png

你可能感兴趣的:(音视频相关)