Code Monkey home page Code Monkey logo

ffmpegcmdsdk's Introduction


###ffmpeg and ffprobe android command line tools

FFMPEG

  1. ffmpeg日志回调接口
  2. ffmpeg增加监听百分比进度(具体看demo)
ffmpeg需要单例运行  
如:转码mp4 CPU利用率80%以上 其它视频不低于60%间波动  (冬天暖手宝)

FFPROBE

  1. ffprobe 只实现了json回调
  2. ffprobe线程和ffmpeg线程独立运行

FFMPEG

截图

引入

  • Gradle
compile 'com.yyl.ffmpeg:ffmpeg_cmd:1.2.0'

目前支持的库 armeabi-v7a
 ndk {
            abiFilters "armeabi-v7a"
      }

开发

    
   //ffprobe -v error -print_format json -select_streams v:0 -show_entries stream=width,height,index inputFile
    String cmd = "ffprobe -v quiet -print_format json -show_format -i " +inputFile;
    String json = FFmpegUtils.getInstance().execffprobe(cmd);
  
    String cmd = "ffmpeg -h"
    int code = FFmpegUtils.getInstance().execffmpeg(cmd,callback);
    

####编译版本号官网2018-01-02最新版本ffmpeg和h264

ffmpegcmdsdk's People

Contributors

mengzhidaren avatar

Watchers

 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.