Coder Social home page Coder Social logo

zj2089 / ffmpeg-xcode Goto Github PK

View Code? Open in Web Editor NEW

This project forked from akagi201/ffmpeg-xcode

0.0 2.0 0.0 71.27 MB

ffmpeg xcode project

License: MIT License

Makefile 3.33% C 72.03% C++ 0.74% Shell 0.08% Perl 0.09% Assembly 4.91% CSS 0.01% HTML 10.50% Groff 8.20% Objective-C 0.11% Verilog 0.01% Python 0.01%

ffmpeg-xcode's Introduction

ffmpeg-xcode

ffmpeg xcode project

build steps

step 1 编译 ffmpeg

  • tar xvf ffmpeg-3.0.2.tar.bz2
  • cd ffmpeg-3.0.2
  • ./configure --enable-debug
  • make -j8

step 2 新建一个空的 xcode 项目

  • Create a new Xcode project
  • 新建一个空的 xcode 项目 step2-1 step2-2
  • 项目保存路径与ffmpeg-3.0.2同级. step2-3

step 3 添加 ffmpeg-3.0.2 源码目录进 ffmpeg-xcode 项目中

  • 拖进去 step3-1
  • 不要勾选下面这个选项 step3-2
  • 接着一点要选 ffmpeg-xcode, 否则看代码时, 不可以跳转. 写代码时不会有提示. step3-3

step 4 添加头文件搜索路径

  • 到这里就可以实现头文件跳转了. 要等待处理完毕才可以点击头文件或者类来查看代码. step4

step 5 添加一个 target

  • File -> New -> Target -> OS X -> Other -> External Build System step5-1
  • target 命名为 ffmpeg-make step5-2
  • target 切换到 ffmpeg-make step5-3

step 6 修改 ffmpeg-make 源码路径配置

  • 修改 ffmpeg-make 源码路径 step6

step 7 修改 ffmpeg-make 命令行参数

  • 修改命令行参数 step7-1
  • 修改可执行命令 step7-2

step 8 添加断点(ffplay.c->main函数), 点击 run

step8

ffmpeg-xcode's People

Contributors

akagi201 avatar

Watchers

square·zheng avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.