概述
- cd /usr/sbin
- chmod 777 gas-preprocessor.pl
- ./configure --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffserver --disable-avfilter --disable-debug --disable-encoders --enable-cross-compile --disable-decoders --disable-armv5te --enable-decoder=h264 --enable-pic --cc=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc --as='gas-preprocessor/gas-preprocessor.pl /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc' --extra-ldflags=-L/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/usr/lib/system --sysroot=/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk --target-os=darwin --arch=i386 --cpu=i386 --extra-cflags='-arch i386' --extra-ldflags='-arch i386' --disable-asm
- ./configure --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffserver --disable-avfilter --disable-debug --disable-decoders --enable-cross-compile --disable-encoders --disable-armv5te --enable-decoder=h264 --enable-pic --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc --as='gas-preprocessor/gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc' --extra-ldflags='-arch armv7 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk' --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk --target-os=darwin --arch=arm --cpu=cortex-a8 --extra-cflags='-arch armv7' --disable-asm
- Enabled filters:
- abuffer earwax pad
- abuffersink fade pan
- aconvert fieldorder pixdesctest
- aevalsrc fifo rgbtestsrc
- aformat format scale
- amovie gradfun select
- anull hflip setdar
- anullsink life setpts
- anullsrc lut setsar
- aresample lutrgb settb
- ashowinfo lutyuv showinfo
- buffer mandelbrot slicify
- buffersink movie split
- cellauto negate testsrc
- color noformat transpose
- copy null unsharp
- crop nullsink vflip
- deshake nullsrc volume
- drawbox overlay
- Enabled bsfs:
- aac_adtstoasc mjpeg2jpeg noise
- chomp mjpega_dump_header remove_extradata
- dump_extradata mov2textsub text2movsub
- h264_mp4toannexb mp3_header_compress
- imx_dump_header mp3_header_decompress
- Enabled indevs:
- Enabled outdevs:
- License: LGPL version 2.1 or later
- Creating config.mak and config.h...
- WARNING: pkg-config not found, library detection may fail.
- WARNING: Compiler does not indicate floating-point ABI, guessing soft.
- Yarin-YangmatoiMac:ffmpeg-0.9.2 yarin$
- libavutil/opt.c: In function ‘av_opt_ptr’:
- libavutil/opt.c:811: warning: initialization discards qualifiers from pointer target type
- CC libavutil/parseutils.o
- CC libavutil/pixdesc.o
- CC libavutil/random_seed.o
- CC libavutil/rational.o
- CC libavutil/rc4.o
- CC libavutil/samplefmt.o
- CC libavutil/sha.o
- CC libavutil/tree.o
- CC libavutil/utils.o
- AR libavutil/libavutil.a
- CC ffprobe.o
- ffprobe.c: In function ‘probe_file’:
- ffprobe.c:1163: warning: ‘av_close_input_file’ is deprecated (declared at libavformat/avformat.h:1652)
- CC cmdutils.o
- LD ffprobe_g
- CP ffprobe
- STRIP ffprobe
- Yarin-YangmatoiMac:ffmpeg-0.9.2 yarin$
- // Find the first video stream
- videoStream=-1;
- for(int i=0; i<pFormatCtx->nb_streams; i++)
- if(pFormatCtx->streams[i]->codec->codec_type==AVMEDIA_TYPE_VIDEO)
- {
- videoStream=i;
- break;
- }
最后
以上就是舒服纸鹤为你收集整理的关于ios中编译ffmpeg0.9.2库的全部内容,希望文章能够帮你解决关于ios中编译ffmpeg0.9.2库所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复