File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
app/src/main/java/github/hiteshsondhi88/sampleffmpeg Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff 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
1822FFmpeg ffmpeg = FFmpeg . getInstance(context);
1923try {
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
4248FFmpeg ffmpeg = FFmpeg . getInstance(context);
4349try {
Original file line number Diff line number Diff line change 1+ package github .hiteshsondhi88 .sampleffmpeg ;
2+
3+ import android .app .Application ;
4+
5+ public class MainApplication extends Application {
6+ }
You can’t perform that action at this time.
0 commit comments