Coder Social home page Coder Social logo

java-ffmpeg's Introduction

java-ffmpeg

@(Hehangjie)[互联网中尉 www.itlieutenant.com]

Dependencies
1、Install ffmpeg, Guide address - http://trac.ffmpeg.org/wiki/CompilationGuide/Centos
2、Use H264 decoder, args like "-vcodec libx264", libx264 is opensource
3、At last, Run cmd like "ffmpeg -i inputFile -vcodec libx264 outputFile"
4、About default args, For example, Ffmpeg default bitrate arg is 200k, if you inputFile bitrate 
lower then 200k, it will get a exception. So u must pay attention to this case.

V0.0.1
A maven project with a bitrate bug corrected ,which is refering to jave-1.0.2-src

V0.0.4 
在此前jave-1.0.2-src里封装的ffmpeg不支持h264,h265格式的vcodec。这对于原本是用于web项目的转码服务是致命的。
在这个版本中对此做了修复,将ffmpeg分离出来(意味着你必须独立安装ffmpeg,以后这个项目只是java使用ffmpeg的sdk,
不再提供ffmpeg的免安装服务)

V0.0.5
弃用了jave,改名java-ffmpeg

v0.1.3
Supported the u3m8 encode

   支持u3m8转码。 新增了encode方法,可以直接传送ffmpeg参数。

public void encode(List<String> perCmds, File source, List<String> cmds, File tartget);
调用方法见M3u7MacDemo.java

java-ffmpeg's People

Contributors

hehangjie avatar hehj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

qoo888 cc8848

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.