Skip to content

Commit 0d436cd

Browse files
committed
🎉 完成ffmpeg的drawtext和subtitles使用
1 parent 782a69f commit 0d436cd

File tree

21 files changed

+1285
-41
lines changed

21 files changed

+1285
-41
lines changed

README-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
如果访问不了全部信息,请跳转[【国内镜像】](https://gitee.com/anjoiner/FFmpegCommand)
2424

2525
## 交叉编译
26-
* Macos 13.2 + GCC + Cmake + NDK 21
26+
* Macos 13.2 + Clang + Cmake + NDK 21
2727

2828
| 第三方库 | 版本 | 下载地址 |
2929
|------------|--------------------|------------------------------------------------------------------------------------------------------|

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ In our development, audio and video related content is often used, generally we
2222
If you can’t access all the information, please go to[【国内镜像】](https://gitee.com/anjoiner/FFmpegCommand)
2323

2424
## Cross Compile
25-
* Macos 13.2 + GCC + Cmake + NDK 21 (支持MediaCodec 编解码)
25+
* Macos 13.2 + Clang + Cmake + NDK 21 (支持MediaCodec 编解码)
2626

2727
| 第三方库 | 版本 | 下载地址 |
2828
|------------|--------------------|------------------------------------------------------------------------------------------------------|

app/build.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ android {
2323
compileSdkVersion 31
2424
defaultConfig {
2525
applicationId "com.coder.ffmpegtest"
26-
minSdkVersion 15
26+
minSdkVersion 21
2727
targetSdkVersion 31
2828
versionCode 4
2929
versionName "1.2.3"
@@ -51,6 +51,10 @@ android {
5151
sourceCompatibility JavaVersion.VERSION_1_8
5252
targetCompatibility JavaVersion.VERSION_1_8
5353
}
54+
55+
buildFeatures{
56+
viewBinding true
57+
}
5458
}
5559

5660
dependencies {

app/src/main/AndroidManifest.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@
4747

4848
<activity android:name=".ui.TestCodecActivity"
4949
android:screenOrientation="portrait"/>
50+
<!--添加文字、字幕-->
51+
<activity android:name=".ui.KFFmpegFontActivity"
52+
android:screenOrientation="portrait" />
5053

5154
<service android:name=".service.FFmpegCommandService" />
5255
<service android:name=".service.FFmpegCommandService2" android:process=":ffmpegCommand2" />
10.4 MB
Binary file not shown.
10.5 MB
Binary file not shown.
10.4 MB
Binary file not shown.
10.5 MB
Binary file not shown.
10.5 MB
Binary file not shown.
10.5 MB
Binary file not shown.

0 commit comments

Comments
 (0)