Skip to content

Commit c1dc5fb

Browse files
committed
Updated README.md
Updated Readme to remove the Activity Dependency in the code samples. Updated the gradle dep in the readme to be current.
1 parent 85333a9 commit c1dc5fb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ FFmpeg Android runs on the following architectures:
7878

7979
```
8080
dependencies {
81-
implementation 'com.github.SimformSolutionsPvtLtd:SSffmpegVideoOperation:1.0.7'
81+
implementation 'com.github.SimformSolutionsPvtLtd:SSffmpegVideoOperation:1.0.8'
8282
}
8383
```
8484

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

0 commit comments

Comments
 (0)