pbootcms网站模板|日韩1区2区|织梦模板||网站源码|日韩1区2区|jquery建站特效-html5模板网

<small id='vHYm7'></small><noframes id='vHYm7'>

<legend id='vHYm7'><style id='vHYm7'><dir id='vHYm7'><q id='vHYm7'></q></dir></style></legend>
    <bdo id='vHYm7'></bdo><ul id='vHYm7'></ul>
  • <tfoot id='vHYm7'></tfoot>

      1. <i id='vHYm7'><tr id='vHYm7'><dt id='vHYm7'><q id='vHYm7'><span id='vHYm7'><b id='vHYm7'><form id='vHYm7'><ins id='vHYm7'></ins><ul id='vHYm7'></ul><sub id='vHYm7'></sub></form><legend id='vHYm7'></legend><bdo id='vHYm7'><pre id='vHYm7'><center id='vHYm7'></center></pre></bdo></b><th id='vHYm7'></th></span></q></dt></tr></i><div class="dvbzbzf" id='vHYm7'><tfoot id='vHYm7'></tfoot><dl id='vHYm7'><fieldset id='vHYm7'></fieldset></dl></div>
      2. iOS5 的 FFmpeg

        FFmpeg for iOS5(iOS5 的 FFmpeg)

        <small id='bv7zU'></small><noframes id='bv7zU'>

        <tfoot id='bv7zU'></tfoot>
      3. <legend id='bv7zU'><style id='bv7zU'><dir id='bv7zU'><q id='bv7zU'></q></dir></style></legend>

              <tbody id='bv7zU'></tbody>

              • <bdo id='bv7zU'></bdo><ul id='bv7zU'></ul>

                  <i id='bv7zU'><tr id='bv7zU'><dt id='bv7zU'><q id='bv7zU'><span id='bv7zU'><b id='bv7zU'><form id='bv7zU'><ins id='bv7zU'></ins><ul id='bv7zU'></ul><sub id='bv7zU'></sub></form><legend id='bv7zU'></legend><bdo id='bv7zU'><pre id='bv7zU'><center id='bv7zU'></center></pre></bdo></b><th id='bv7zU'></th></span></q></dt></tr></i><div class="v1rn5rt" id='bv7zU'><tfoot id='bv7zU'></tfoot><dl id='bv7zU'><fieldset id='bv7zU'></fieldset></dl></div>

                  本文介紹了iOS5 的 FFmpeg的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  有沒有人能夠使用 iOS5 sdk 編譯 ffmpeg 庫?我找到了使用 4.3 sdk 但沒有用于 iOS5 的腳本.我會假設使用舊 sdk 和 armv7 構建的庫仍然與 iOS 5 兼容.

                  Has anyone been able to compile ffmpeg libraries using the iOS5 sdk? I have found scripts that use the 4.3 sdk but nothing for iOS5. I would assume that libraries built with the old sdk and armv7 will still be compatible for iOS 5.

                  這是我嘗試使用的命令:

                  Here is the command I am trying to use:

                  ./configure  --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc  --as='gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc'  --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk  --extra-ldflags=-L/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk/usr/lib/system  --target-os=darwin  --arch=arm  --cpu=cortex-a8  --extra-cflags='-arch armv7'  --extra-ldflags='-arch armv7'  --prefix=compiled/armv7  --enable-pic  --enable-cross-compile  --disable-armv5te  --disable-ffmpeg  --disable-ffplay  --disable-ffserver  --disable-ffprobe  --disable-doc
                  

                  我也嘗試過使用這樣的腳本:

                  I have also tried using a script like this one:

                  #!/bin/tcsh -f
                  
                  if (! -d armv7) mkdir armv7
                  if (! -d lib) mkdir lib
                  
                  rm armv7/*.a
                  
                  make clean
                  
                  ./configure --disable-doc --disable-ffmpeg --disable-ffplay --disable-ffserver --enable-cross-compile --arch=arm --target-os=darwin --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc --as='gas-preprocessor/gas-preprocessor.pl /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc' --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk --cpu=cortex-a8 --extra-cflags='-arch armv7' --extra-ldflags='-arch armv7' --enable-pic
                  
                  make
                  
                  mv libavcodec/libavcodec.a armv7/
                  mv libavdevice/libavdevice.a armv7/
                  mv libavformat/libavformat.a armv7/
                  mv libavutil/libavutil.a armv7/
                  mv libswscale/libswscale.a armv7/
                  
                  rm lib/*.a
                  
                  cp armv7/*.a lib/
                  

                  我也嘗試切換到 gcc-4.2 以及 llvm-gcc-4.2.但是,我在下面的評論中收到未知選項"錯誤.

                  I have also tried to switch to the gcc-4.2 as well as the llvm-gcc-4.2. However I get an "Unknown option" error shown below in the comments.

                  任何信息都會很好,謝謝.

                  Any info will be great and thanks.

                  推薦答案

                  已更新: 完全改用我使用的腳本的答案.

                  UPDATED: Completely changed the answer to use the script that I use.

                  你還需要從 https://github.com/yuvi/gas-preprocessor 下載 gas-preprocessor.pl,把它放在你的路徑中并制作它可執行.

                  You will also need to download gas-preprocessor.pl from https://github.com/yuvi/gas-preprocessor, put it in your path and make it executable.

                  然后創建一個腳本(比如 make_for_iphone.sh)并把它放進去:

                  Then create a script (say make_for_iphone.sh) and put this in it:

                  export PLATFORM="iPhoneOS"
                  export MIN_VERSION="4.0"
                  export MAX_VERSION="5.0"
                  export DEVROOT=/Developer/Platforms/${PLATFORM}.platform/Developer
                  export SDKROOT=$DEVROOT/SDKs/${PLATFORM}${MAX_VERSION}.sdk
                  export CC=$DEVROOT/usr/bin/llvm-gcc
                  export LD=$DEVROOT/usr/bin/ld
                  export CPP=$DEVROOT/usr/bin/cpp
                  export CXX=$DEVROOT/usr/bin/llvm-g++
                  export AR=$DEVROOT/usr/bin/ar
                  export LIBTOOL=$DEVROOT/usr/bin/libtool
                  export NM=$DEVROOT/usr/bin/nm
                  export CXXCPP=$DEVROOT/usr/bin/cpp
                  export RANLIB=$DEVROOT/usr/bin/ranlib
                  
                  COMMONFLAGS="-pipe -gdwarf-2 -no-cpp-precomp -isysroot ${SDKROOT} -marm -fPIC"
                  export LDFLAGS="${COMMONFLAGS} -fPIC"
                  export CFLAGS="${COMMONFLAGS} -fvisibility=hidden"
                  export CXXFLAGS="${COMMONFLAGS} -fvisibility=hidden -fvisibility-inlines-hidden"
                  
                  FFMPEG_LIBS="libavcodec libavdevice libavformat libavutil libswscale"
                  
                  echo "Building armv6..."
                  
                  make clean
                  ./configure 
                      --cpu=arm1176jzf-s 
                      --extra-cflags='-arch armv6 -miphoneos-version-min=${MIN_VERSION} -mthumb' 
                      --extra-ldflags='-arch armv6 -miphoneos-version-min=${MIN_VERSION}' 
                      --enable-cross-compile 
                      --arch=arm 
                      --target-os=darwin 
                      --cc=${CC} 
                      --sysroot=${SDKROOT} 
                      --prefix=installed 
                      --disable-network 
                      --disable-decoders 
                      --disable-muxers 
                      --disable-demuxers 
                      --disable-devices 
                      --disable-parsers 
                      --disable-encoders 
                      --disable-protocols 
                      --disable-filters 
                      --disable-bsfs 
                      --enable-decoder=h264 
                      --enable-decoder=svq3 
                      --enable-gpl 
                      --enable-pic 
                      --disable-doc
                  perl -pi -e 's/HAVE_INLINE_ASM 1/HAVE_INLINE_ASM 0/' config.h
                  make -j3
                  
                  mkdir -p build.armv6
                  for i in ${FFMPEG_LIBS}; do cp ./$i/$i.a ./build.armv6/; done
                  
                  echo "Building armv7..."
                  
                  make clean
                  ./configure 
                      --cpu=cortex-a8 
                      --extra-cflags='-arch armv7 -miphoneos-version-min=${MIN_VERSION} -mthumb' 
                      --extra-ldflags='-arch armv7 -miphoneos-version-min=${MIN_VERSION}' 
                      --enable-cross-compile 
                      --arch=arm 
                      --target-os=darwin 
                      --cc=${CC} 
                      --sysroot=${SDKROOT} 
                      --prefix=installed 
                      --disable-network 
                      --disable-decoders 
                      --disable-muxers 
                      --disable-demuxers 
                      --disable-devices 
                      --disable-parsers 
                      --disable-encoders 
                      --disable-protocols 
                      --disable-filters 
                      --disable-bsfs 
                      --enable-decoder=h264 
                      --enable-decoder=svq3 
                      --enable-gpl 
                      --enable-pic 
                      --disable-doc
                  perl -pi -e 's/HAVE_INLINE_ASM 1/HAVE_INLINE_ASM 0/' config.h
                  make -j3
                  
                  mkdir -p build.armv7
                  for i in ${FFMPEG_LIBS}; do cp ./$i/$i.a ./build.armv7/; done
                  
                  mkdir -p build.universal
                  for i in ${FFMPEG_LIBS}; do lipo -create ./build.armv7/$i.a ./build.armv6/$i.a -output ./build.universal/$i.a; done
                  
                  for i in ${FFMPEG_LIBS}; do cp ./build.universal/$i.a ./$i/$i.a; done
                  
                  make install
                  

                  這會編譯 armv6 和 armv7 版本,并使用 lipo 將它們放入胖庫中.它安裝到一個文件夾下,您可以在該文件夾下運行腳本,名為 installed.

                  This compiles both armv6 and armv7 versions and puts them into a fat library using lipo. It installs to a folder underneath where you run the script from called installed.

                  請注意,目前我不得不使用 perl 內聯替換將 HAVE_INLINE_ASM1 更改為 <代碼>0.這是因為 gas-preprocessor.pl 的這個問題 - https://github.com/yuvi/gas-preprocessor/issues/16.

                  Note that at the moment I've had to turn off inline assembly using a perl inline replace to change HAVE_INLINE_ASM from 1 to 0. This is because of this problem with gas-preprocessor.pl - https://github.com/yuvi/gas-preprocessor/issues/16.

                  另請注意,這已關閉除 H264 解碼器之外的所有編碼器、解碼器、復用器、解復用器等.只需更改配置行以編譯您想要的用例.

                  Also note that this has turned off all encoders, decoders, muxers, demuxers, etc except for the H264 decoder. Just change the configure lines to compile what you want for your use case.

                  還請記住,這已啟用 GPL 代碼 - 因此您應該了解這對 iPhone 應用程序意味著什么.如果您不知道,那么您應該閱讀相關內容.

                  Please remember also that this has enabled GPL code - so you should be aware about what that means for iPhone apps. If you're not aware then you should do some reading about that.

                  這篇關于iOS5 的 FFmpeg的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  How to animate a UIImageview to display fullscreen by tapping on it?(如何通過點擊動畫 UIImageview 以顯示全屏?)
                  To stop segue and show alert(停止 segue 并顯示警報)
                  iOS 5 storyboard, programmatically determine path(iOS 5 故事板,以編程方式確定路徑)
                  Icon already includes gloss effects(圖標已經包含光澤效果)
                  How does UIEdgeInsetsMake work?(UIEdgeInsetsMake 是如何工作的?)
                  UIProgressView and Custom Track and Progress Images (iOS 5 properties)(UIProgressView 和自定義跟蹤和進度圖像(iOS 5 屬性))
                  <tfoot id='jAsBO'></tfoot>
                  • <small id='jAsBO'></small><noframes id='jAsBO'>

                      <bdo id='jAsBO'></bdo><ul id='jAsBO'></ul>
                      <i id='jAsBO'><tr id='jAsBO'><dt id='jAsBO'><q id='jAsBO'><span id='jAsBO'><b id='jAsBO'><form id='jAsBO'><ins id='jAsBO'></ins><ul id='jAsBO'></ul><sub id='jAsBO'></sub></form><legend id='jAsBO'></legend><bdo id='jAsBO'><pre id='jAsBO'><center id='jAsBO'></center></pre></bdo></b><th id='jAsBO'></th></span></q></dt></tr></i><div class="n7f5bjt" id='jAsBO'><tfoot id='jAsBO'></tfoot><dl id='jAsBO'><fieldset id='jAsBO'></fieldset></dl></div>

                          <tbody id='jAsBO'></tbody>
                          <legend id='jAsBO'><style id='jAsBO'><dir id='jAsBO'><q id='jAsBO'></q></dir></style></legend>
                          • 主站蜘蛛池模板: 纸布|钩编布|钩针布|纸草布-莱州佳源工艺纸布厂 | 不发火防静电金属骨料_无机磨石_水泥自流平_修补砂浆厂家「圣威特」 | 塑料瓶罐_食品塑料瓶_保健品塑料瓶_调味品塑料瓶–东莞市富慷塑料制品有限公司 | 钛板_钛管_钛棒_钛盘管-无锡市盛钛科技有限公司 | PCB设计,PCB抄板,电路板打样,PCBA加工-深圳市宏力捷电子有限公司 | 医学动画公司-制作3d医学动画视频-医疗医学演示动画制作-医学三维动画制作公司 | 沉降天平_沉降粒度仪_液体比重仪-上海方瑞仪器有限公司 | 商秀—企业短视频代运营_抖音企业号托管 | EDLC超级法拉电容器_LIC锂离子超级电容_超级电容模组_软包单体电容电池_轴向薄膜电力电容器_深圳佳名兴电容有限公司_JMX专注中高端品牌电容生产厂家 | 烟台金蝶财务软件,烟台网站建设,烟台网络推广 | 南京租车,南京汽车租赁,南京包车,南京会议租车-南京七熹租车 | 冷油器,取样冷却器,热力除氧器-连云港振辉机械设备有限公司 | 净气型药品柜-试剂柜-无管道净气型通风柜-苏州毕恩思 | 彭世修脚_修脚加盟_彭世修脚加盟_彭世足疗加盟_足疗加盟连锁_彭世修脚技术培训_彭世足疗 | 一航网络-软件测评官网| 磨煤机配件-高铬辊套-高铬衬板-立磨辊套-盐山县宏润电力设备有限公司 | 宏源科技-房地产售楼系统|线上开盘系统|售楼管理系统|线上开盘软件 | 釜溪印象网络 - Powered by Discuz! | 钢格板|热镀锌钢格板|钢格栅板|钢格栅|格栅板-安平县昊泽丝网制品有限公司 | 英思科GTD-3000EX(美国英思科气体检测仪MX4MX6)百科-北京嘉华众信科技有限公司 | 苹果售后维修点查询,苹果iPhone授权售后维修服务中心 – 修果网 拼装地板,悬浮地板厂家,悬浮式拼装运动地板-石家庄博超地板科技有限公司 | Duoguan 夺冠集团| 杭州标识标牌|文化墙|展厅|导视|户内外广告|发光字|灯箱|铭阳制作公司 - 杭州标识标牌|文化墙|展厅|导视|户内外广告|发光字|灯箱|铭阳制作公司 | 烘箱-工业烘箱-工业电炉-实验室干燥箱 - 苏州华洁烘箱制造有限公司 | 开锐教育-学历提升-职称评定-职业资格培训-积分入户 | 高尔夫球杆_高尔夫果岭_高尔夫用品-深圳市新高品体育用品有限公司 | 匀胶机旋涂仪-声扫显微镜-工业水浸超声-安赛斯(北京)科技有限公司 | CXB船用变压器-JCZ系列制动器-HH101船用铜质开关-上海永上船舶电器厂 | 无锡市珂妮日用化妆品有限公司|珂妮日化官网|洗手液厂家 | 电杆荷载挠度测试仪-电杆荷载位移-管桩测试仪-北京绿野创能机电设备有限公司 | 柔性输送线|柔性链板|齿形链-上海赫勒输送设备有限公司首页[输送机] | 炭黑吸油计_测试仪,单颗粒子硬度仪_ASTM标准炭黑自销-上海贺纳斯仪器仪表有限公司(HITEC中国办事处) | 立式壁挂广告机厂家-红外电容触摸一体机价格-华邦瀛 | 聚合氯化铝_喷雾聚氯化铝_聚合氯化铝铁厂家_郑州亿升化工有限公司 | LCD3D打印机|教育|桌面|光固化|FDM3D打印机|3D打印设备-广州造维科技有限公司 | 冰晶石|碱性嫩黄闪蒸干燥机-有机垃圾烘干设备-草酸钙盘式干燥机-常州市宝康干燥 | 菏泽知彼网络科技有限公司 | 江苏远邦专注皮带秤,高精度皮带秤,电子皮带秤研发生产 | 火锅加盟_四川成都火锅店加盟_中国火锅连锁品牌十强_朝天门火锅【官网】 | 食品机械专用传感器-落料放大器-低价接近开关-菲德自控技术(天津)有限公司 | 无水硫酸铝,硫酸铝厂家-淄博双赢新材料科技有限公司 |