Skip to content

Commit 50cf1c4

Browse files
committed
发布版本1.1.0
1 parent 4f3aa3e commit 50cf1c4

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

AndroidFFmpegLibrary/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ publish {
7474
userOrg = org
7575
groupId = 'com.excellence'
7676
artifactId = 'ffmpeg'
77-
publishVersion = '1.0.0'
77+
publishVersion = '1.1.0'
7878
desc = 'android执行FFmpeg命令'
7979
website = 'https://github.com/VeiZhang/FFmpegAndroid'
8080
licences = ['Apache-2.0']

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
implementation 'com.excellence:ffmpeg:_latestVersion'
77
```
88

9+
基于[AndroidExec][AndroidExec]项目,FFmpeg命令执行
10+
911
## AndroidFFmpeg使用
1012

1113
```
@@ -19,7 +21,9 @@ FFmpeg.init(context, new CommanderOptions.Builder().setTimeOut(1000).build())
1921
FFmpeg.checkFFmpeg()
2022
2123
// 创建执行命令
22-
FFmpeg.addTask(cmd, new IListener() {
24+
推荐方式:new CommandTask.Builder().command(FFmpeg.checkFFmpeg()).command(cmd).build().deploy(IListener);
25+
26+
丢弃方式:FFmpeg.addTask(cmd, new IListener() {
2327
@Override
2428
public void onPre(String command) {
2529
Log.i(TAG, "onPre: " + command);
@@ -235,7 +239,8 @@ FFmpeg.destroy()
235239
236240
| 版本 | 描述 |
237241
| --- | ---- |
238-
| [1.0.0][FFmpeg1.0.0] | 集成FFmpeg命令行执行 **2017-8-17** |
242+
| [1.1.0][FFmpeg1.1.0] | 使用Builder模式创建命令任务,修复崩溃异常 **2018-9-3** |
243+
| [1.0.0][FFmpeg1.0.0] | 集成FFmpeg命令行执行 **2018-8-17** |
239244
240245
241246
## 感谢
@@ -248,6 +253,7 @@ FFmpeg.destroy()
248253
<!-- 网站链接 -->
249254
250255
[download]:https://bintray.com/veizhang/maven/ffmpeg/_latestVersion "Latest version"
256+
[AndroidExec]:https://github.com/VeiZhang/AndroidExec
251257
[FFMpeg官网]:http://ffmpeg.org/
252258
[Windows工具下载]:https://ffmpeg.zeranoe.com/builds/
253259
[ffmpeg-android-java]:https://github.com/WritingMinds/ffmpeg-android-java "FFmpeg在Android中示例"
@@ -261,4 +267,5 @@ FFmpeg.destroy()
261267
262268
<!-- 版本 -->
263269
270+
[FFmpeg1.1.0]:https://bintray.com/veizhang/maven/ffmpeg/1.1.0
264271
[FFmpeg1.0.0]:https://bintray.com/veizhang/maven/ffmpeg/1.0.0

0 commit comments

Comments
 (0)