File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed
Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -6,25 +6,17 @@ execute ffmpeg commands as a shared library
66add dependency in your build.gradle
77```
88dependencies {
9- compile 'cn.dxjia:ffmpegexecutor:0.1.6 '
9+ compile 'cn.dxjia:ffmpegexecutor:0.1.7 '
1010}
1111```
1212import package
1313```
1414import cn.dxjia.ffmpeg.library.FFmpegNativeHelper;
1515```
16- init ffmpeg in somewhere, like onCreate(), call once.
17- ```
18- FFmpegNativeHelper.init();
19- ```
2016run command
2117```
2218FFmpegNativeHelper.runCommand("ffmpeg -version");
2319```
24- call uninit when you dont need to use ffmpeg any more
25- ```
26- FFmpegNativeHelper.uninit();
27- ```
2820
2921** ` NOTE: ` **
3022- now, runCommand() will return some strings as result, not very friendly;
@@ -41,7 +33,7 @@ chmod a+x build.sh
4133. build.sh
4234```
4335#### Windows
44- Make sure you have add you NDK path to your PC Enviroment.
36+ Make sure you have add your NDK path to your PC Enviroment.
4537<br >
4638Open a CMD terminal
4739```
You can’t perform that action at this time.
0 commit comments