Tuesday, September 24, 2013

use ffmpeg project in Xcode

ffmpeg on mac os x compiled, in the project to import (. a) file after some mistakes:



Undefined symbols for architecture i386:
"_CGAffineTransformMakeRotation", Referenced from:
- [IFrameExtractorAppDelegate applicationDidFinishLaunching:] in iFrameExtractorAppDelegate.o
"_av_register_all", Referenced from:
- [VideoFrameExtractor initWithVideo:] in VideoFrameExtractor.o
"_av_open_input_file", Referenced from:
- [VideoFrameExtractor initWithVideo:] in VideoFrameExtractor.o
"_av_find_stream_info", Referenced from:
- [VideoFrameExtractor initWithVideo:] in VideoFrameExtractor.o
"_avcodec_find_decoder", Referenced from:
- [VideoFrameExtractor initWithVideo:] in VideoFrameExtractor.o
"_avcodec_open", Referenced from:
- [VideoFrameExtractor initWithVideo:] in VideoFrameExtractor.o
"_avcodec_alloc_frame", Referenced from:
- [VideoFrameExtractor initWithVideo:] in VideoFrameExtractor.o
"_avpicture_free", Referenced from:
- [VideoFrameExtractor setupScaler] in VideoFrameExtractor.o
- [VideoFrameExtractor dealloc] in VideoFrameExtractor.o
"_sws_freeContext", Referenced from:
- [VideoFrameExtractor setupScaler] in VideoFrameExtractor.o
- [VideoFrameExtractor dealloc] in VideoFrameExtractor.o
"_avpicture_alloc", Referenced from:
- [VideoFrameExtractor setupScaler] in VideoFrameExtractor.o
"_sws_getContext", Referenced from:
- [VideoFrameExtractor setupScaler] in VideoFrameExtractor.o
"_avformat_seek_file", Referenced from:
- [VideoFrameExtractor seekTime:] in VideoFrameExtractor.o
"_avcodec_flush_buffers", Referenced from:
- [VideoFrameExtractor seekTime:] in VideoFrameExtractor.o
"_av_free", Referenced from:
- [VideoFrameExtractor dealloc] in VideoFrameExtractor.o
"_avcodec_close", Referenced from:
- [VideoFrameExtractor dealloc] in VideoFrameExtractor.o
"_av_close_input_file", Referenced from:
- [VideoFrameExtractor dealloc] in VideoFrameExtractor.o
"_avcodec_decode_video2", Referenced from:
- [VideoFrameExtractor stepFrame] in VideoFrameExtractor.o
"_av_free_packet", Referenced from:
- [VideoFrameExtractor stepFrame] in VideoFrameExtractor.o
"_av_read_frame", Referenced from:
- [VideoFrameExtractor stepFrame] in VideoFrameExtractor.o
"_sws_scale", Referenced from:
- [VideoFrameExtractor convertFrameToRGB] in VideoFrameExtractor.o
"_CGDataProviderCreateWithCFData", Referenced from:
- [VideoFrameExtractor imageFromAVPicture: width: height:] in VideoFrameExtractor.o
"_CGColorSpaceCreateDeviceRGB", Referenced from:
- [VideoFrameExtractor imageFromAVPicture: width: height:] in VideoFrameExtractor.o
"_CGImageCreate", Referenced from:
- [VideoFrameExtractor imageFromAVPicture: width: height:] in VideoFrameExtractor.o
"_CGColorSpaceRelease", Referenced from:
- [VideoFrameExtractor imageFromAVPicture: width: height:] in VideoFrameExtractor.o
"_CGImageRelease", Referenced from:
- [VideoFrameExtractor imageFromAVPicture: width: height:] in VideoFrameExtractor.o
"_CGDataProviderRelease", Referenced from:
- [VideoFrameExtractor imageFromAVPicture: width: height:] in VideoFrameExtractor.o
ld: symbol (s) not found for architecture i386
collect2: ld returned 1 exit status




Just started watching ffmpeg is not very understanding, hope Which god answer the next! ! Thanks.

No comments:

Post a Comment