美文网首页音视频知识
FFmpeg for iOS问题记录

FFmpeg for iOS问题记录

作者: 谁与望天堂 | 来源:发表于2016-03-23 01:14 被阅读742次

遇到类似如下编译错误:

Undefined symbols for architecture arm64:

"_VTDecompressionSessionCreate", referenced from:

_av_videotoolbox_default_init2 in libavcodec.a(videotoolbox.o)

"_VTDecompressionSessionDecodeFrame", referenced from:

_videotoolbox_common_end_frame in libavcodec.a(videotoolbox.o)

"_VTDecompressionSessionInvalidate", referenced from:

_av_videotoolbox_default_free in libavcodec.a(videotoolbox.o)

"_VTDecompressionSessionWaitForAsynchronousFrames", referenced from:

_videotoolbox_common_end_frame in libavcodec.a(videotoolbox.o)

ld: symbol(s) not found for architecture arm64

项目配置linked frameworks and libraries加上VideoToolbox.framework即可。

其它还有libz.tbd libbz2.tbd libiconv.tbd CoreMedia.framework

相关文章

网友评论

    本文标题:FFmpeg for iOS问题记录

    本文链接:https://www.haomeiwen.com/subject/ivullttx.html