Skip to content

Commit 230fd30

Browse files
Updated README + Using Map<String,String> for environment variables
1 parent 117785f commit 230fd30

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ Supported Architecture
1313
## Usage
1414

1515
### Load Binary
16-
16+
This method copies the ffmpeg binary to device according to device's architecture. You just need to put this once in your code,
17+
whenever you are starting the application or using FFmpeg for the first time. This command does the following:
18+
* Loads/Copies binary to device according to architecture
19+
* Updates binary if it is using old FFmpeg version
20+
* Provides callbacks through FFmpegLoadBinaryResponseHandler interface
1721
```java
1822
FFmpeg ffmpeg = FFmpeg.getInstance(context);
1923
try {
@@ -37,7 +41,9 @@ try {
3741
```
3842

3943
### Execute Binary
40-
44+
This method executes ffmpeg command and provides callback through FFmpegExecuteResponseHandler interface. You also need to pass command as argument
45+
to this method.
46+
e.g - To execute "ffmpeg -version" command you just need to pass "-version" as cmd parameter.
4147
```java
4248
FFmpeg ffmpeg = FFmpeg.getInstance(context);
4349
try {
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package github.hiteshsondhi88.sampleffmpeg;
2+
3+
import android.app.Application;
4+
5+
public class MainApplication extends Application {
6+
}

0 commit comments

Comments
 (0)