Code Monkey home page Code Monkey logo

ffmpegssd20x's Introduction

ffmpeg

DownLoad

git clone https://github.com/aaron201912/ffmpeg.git 

BuildCodeFlow

1. 拷贝ffmpeg整个文件夹到project同一级目录
2. cd ffmpeg/ffmpeg-4.1.3
3. for ssd20x use gcc toolchain 8.2.1 and run: sh config_for_ssd20x.sh
   for ssd222 use gcc toolchain 9.1.0 and run: sh config_for_ssd222.sh
   for ss268  use gcc toolchain 9.1.0 and run: sh config_for_ss268.sh
4. make clean;make -j4;make install

注: 生成的库文件安装路径在ffmpeg-4.1.3/host下, 开启https/dash等功能需要3rdparty/lib中的第三方动态库支持,并使能相应编译选项.
1. 编辑config_for_ssd20x.sh, 增加--enable-openssl编译选项可开启https协议支持, 默认打开. 如需关闭去掉该编译选项.
   使用1.1.0以上的openssl库时, 需编辑configure, 找到enabled openssl, 增加check_lib openssl openssl/ssl.h OPENSSL_init_ssl -lssl -lcrypto判断条件

2. ffmpeg如果需要支持硬解4K视频, 则在config_for_ssd20x.sh的编译选项中增加如下参数:
cflags+=" -DSUPPORT_4K"

3. 如果ffmpeg与project不在同一级目录, 配置ffmpeg时需要手动设置project路径, 否则编译不过, 如:
   sh config_for_ssd20x.sh /home/user/ssd20x

Demo Note

1. ffmpeg/app文件下的demo介绍调用ffmpeg接口串接简单播放音视频流程
2. ffmpeg/ffplayer文件夹的demo实现比较完整播放器功能
3. ffmpeg/ui_app文件夹已暂停维护

ffmpegssd20x's People

Contributors

aaron201912 avatar alaowu avatar rainesrao avatar kxb1185559189 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.