Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
Updated Readme to remove the Activity Dependency in the code samples.
Updated the gradle dep in the readme to be current.
  • Loading branch information
adfleshner committed Feb 23, 2022
1 parent 85333a9 commit c1dc5fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ FFmpeg Android runs on the following architectures:

```
dependencies {
implementation 'com.github.SimformSolutionsPvtLtd:SSffmpegVideoOperation:1.0.7'
implementation 'com.github.SimformSolutionsPvtLtd:SSffmpegVideoOperation:1.0.8'
}
```

Expand All @@ -88,7 +88,7 @@ This is all you have to do to load the FFmpeg library.
In this sample code we will run the FFmpeg -version command in background call.
```java
val query:Array<String> = "-i, input,....,...., outout"
CallBackOfQuery().callQuery(this, query, object : FFmpegCallBack {
CallBackOfQuery().callQuery(query, object : FFmpegCallBack {
override fun statisticsProcess(statistics: Statistics) {
Log.i("FFMPEG LOG : ", statistics.videoFrameNumber)
}
Expand All @@ -115,7 +115,7 @@ In this sample code we will run the FFmpeg -version command in background call.
val startTimeString = "00:01:00" (HH:MM:SS)
val endTimeString = "00:02:00" (HH:MM:SS)
val query:Array<String> = FFmpegQueryExtension().cutVideo(inputPath, startTimeString, endTimeString, outputPath)
CallBackOfQuery().callQuery(this, query, object : FFmpegCallBack {
CallBackOfQuery().callQuery(query, object : FFmpegCallBack {
override fun statisticsProcess(statistics: Statistics) {
Log.i("FFMPEG LOG : ", statistics.videoFrameNumber)
}
Expand Down

0 comments on commit c1dc5fb

Please sign in to comment.