Coder Social home page Coder Social logo

ffmpegproduct's Introduction

FFmpegProduct

FFmpeg

集成 FFmpeg

  1. 下载脚本:https://github.com/kewlbear/FFmpeg-iOS-build-script

  2. 解压,找到文件 build-ffmpeg.sh

  3. 进入终端,执行服本文件:./build-ffmpeg.sh 安装过程中出现 GNU assembler not found, install/update gas-preprocessor 问题

解决方法:

下载最新的gas-preprocessor.pl,地址是https://github.com/libav/gas-preprocessor

1.下载完成后打开终端 进入gas-preprocessor文件夹

cd 将文件拖进来回车

2.将文件夹内的gas-preprocessor.pl文件拷贝到/usr/sbin/目录下

sudo cp /Users/xxx/xxx/gas-preprocessor-master/gas-preprocessor.pl /usr/local/bin

注意上面的sudo cp(这个地方是gas-preprocessor文件下gas-preprocessor.pl的地址,只需要将gas-preprocessor.pl文件拖进来就行了) /usr/local/bin 回车

3.修改/usr/sbin/gas-preprocessor.pl的文件权限为可执行权限

如果1.命令如果不行就使用2.命令(我当时用的是2.命令) 1.chmod 777 /usr/sbin/gas-preprocessor.pl

2.chmod +x gas-preprocessor.pl

ffmpegproduct's People

Contributors

zhangyanlf avatar zhylainy avatar

Watchers

 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.