iOS 上的视频支持



我已经成功地构建了libyuv.a库,但是当我运行configure-iPhone(https://code.google.com/p/siphon/wiki/VIdeoSupport)时我得到的日志告诉 libyuv 不可用并且视频支持被禁用。任何人都可以告诉我如何将 libyuv.a 文件链接到 configure-iPhone

logs :
checking for libyuv installations...
Using libyuv prefix... /Users/sandeep_sr/Desktop/pjp_1811/iOS/video/iOS
checking libyuv.h usability... no
checking libyuv.h presence... no
checking for libyuv.h... no
checking for InitCpuFlags in -lyuv... yes
Checking if libyuv library is available... no
libyuv library not found, video support disabled
Checking if small filter is disabled... no
Checking if large filter is disabled... no
Checking if Speex AEC is disabled...no
Checking if G.711 codec is disabled...no
Checking if L16 codec is disabled...no
Checking if GSM codec is disabled...no
Checking if G.722 codec is disabled...no
Checking if G.722.1 codec is disabled...no
Checking if Speex codec is disabled...no
Checking if iLBC codec is disabled...no
Skipping libsamplerate detection
Building libresample as shared library... no
Checking if SDL is disabled... yes
Using ffmpeg prefix... /Users/sandeep_sr/Desktop/pjp_1811/iOS/video/iOS
checking for pkg-config... pkg-config
checking ffmpeg packages...  libavformat libavcodec libswscale libavutil
checking for v4l2_open in -lv4l2... no
Skipping Intel IPP settings (not wanted)
Checking if SSL support is disabled... yes
Checking if OpenCORE AMR support is disabled... yes
Checking if SILK support is disabled... yes
checking if select() needs correct nfds... no (default)
** Decided that select() doesn't need correct nfds (please check)
checking if pj_thread_create() should enforce stack size... no (default)
checking if pj_thread_create() should allocate stack... no (default)
** Setting non-blocking recv() retval to EAGAIN (please check)
** Setting non-blocking connect() retval to EINPROGRESS (please check)
aconfigure: creating ./config.status
config.status: creating build.mak
config.status: creating build/os-auto.mak
config.status: creating build/cc-auto.mak
config.status: creating pjlib/build/os-auto.mak
config.status: creating pjlib-util/build/os-auto.mak
config.status: creating pjmedia/build/os-auto.mak
config.status: creating pjsip/build/os-auto.mak
config.status: creating third_party/build/os-auto.mak
config.status: creating third_party/build/portaudio/os-auto.mak
config.status: creating pjlib/include/pj/compat/os_auto.h
config.status: pjlib/include/pj/compat/os_auto.h is unchanged
config.status: creating pjlib/include/pj/compat/m_auto.h
config.status: pjlib/include/pj/compat/m_auto.h is unchanged
config.status: creating pjmedia/include/pjmedia/config_auto.h
config.status: pjmedia/include/pjmedia/config_auto.h is unchanged
config.status: creating pjmedia/include/pjmedia-codec/config_auto.h
config.status: pjmedia/include/pjmedia-codec/config_auto.h is unchanged
config.status: creating pjsip/include/pjsip/sip_autoconf.h
config.status: pjsip/include/pjsip/sip_autoconf.h is unchanged

Configurations for current target have been written to 'build.mak', and 'os-auto.mak' in various build directories, and pjlib/include/pj/compat/os_auto.h.
Further customizations can be put in:
  - 'user.mak'
  - 'pjlib/include/pj/config_site.h'
The next step now is to run 'make dep' and 'make'.
Done configuring for iPhoneOS6.1.sdk
Sandeeps-Mac-mini-2:pjproject-2.1.0 sandeep_sr$ 

你自己在建造 libyuv 吗? 如果是这样,我也遇到了这个问题,不得不做:

ln -s /usr/local/include/libyuv/libyuv /usr/local/include/libyuv/libyuv/

或到您安装 Libyuv 的任何地方。

希望对您有所帮助,如果您仍在尝试使其正常工作。

最新更新