• 构建X264 .a 静态库 For iOS


    一、构建X264准备

      1、下载X264源代码到本地,并解压、修改文件夹名称为x264

        ftp://ftp.videolan.org/pub/x264/snapshots/

      2、下载gas-preprocessor.pl 放入 /usr/local/bin/gas-preprocessor.pl

        https://github.com/libav/gas-preprocessor

      3、下载构建脚本下x264

        https://github.com/kewlbear/x264-ios

    二、构建

      

    • To build everything:

        ./build-x264.sh
      
    • To build for arm64:

        ./build-x264.sh arm64
      
    • To build fat library for armv7 and x86_64 (64-bit simulator):

        ./build-x264.sh armv7 x86_64
      
    • To build fat library from separately built thin libraries:

        ./build-x264.sh lipo
      
    • Library and Header Files are in ./x264-iOS

    三、结果

      

    四、地址

      包含源代码、构建所需资源

      https://github.com/liqiushui/build_x264

  • 相关阅读:
    Sql 三元运算符
    连表更新
    SQL分组排序去重复
    ASP日常出错原因
    Box2D的三种Body类型
    Android获取屏幕尺寸的方法
    AndEngine之ScreenCapture
    AndEngine之IUpdateHandler,IEntityModifier
    JAVA中线程安全的类
    AndEngine引擎之SmoothCamera 平滑摄像机
  • 原文地址:https://www.cnblogs.com/doudouyoutang/p/10167806.html
Copyright © 2020-2023  润新知