From 78962f84248c4540727ffddc7148f6a6651be1c2 Mon Sep 17 00:00:00 2001 From: Predidit <34627277+Predidit@users.noreply.github.com> Date: Fri, 23 Jan 2026 22:02:51 +0800 Subject: [PATCH 1/9] draft --- .../media_kit_libs_android_video/android/build.gradle | 8 ++++---- .../video_controller/android_video_controller/real.dart | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libs/android/media_kit_libs_android_video/android/build.gradle b/libs/android/media_kit_libs_android_video/android/build.gradle index 701d7a815..6bb7fb958 100644 --- a/libs/android/media_kit_libs_android_video/android/build.gradle +++ b/libs/android/media_kit_libs_android_video/android/build.gradle @@ -58,10 +58,10 @@ task downloadDependencies(type: Exec) { // Download all *.jar dependencies & verify their SHA-256 checksums. def filesToDownload = [ - ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.5/default-arm64-v8a.jar", "sha256": "7bfb400fa1b63b68e8a7272673a993cc37b12ba90c79713c7a02a7ac7e9aa773", "destination": file("$buildDir/v1.1.5/default-arm64-v8a.jar")], - ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.5/default-armeabi-v7a.jar", "sha256": "4f2545c8678c264f10520d5581ba619278c3df04c9ef3b3316e00f85436418fc", "destination": file("$buildDir/v1.1.5/default-armeabi-v7a.jar")], - ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.5/default-x86_64.jar", "sha256": "9cbdf04951226cf18a788802d879261595e4acdc271d6fde86315623620b88ab", "destination": file("$buildDir/v1.1.5/default-x86_64.jar")], - ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.5/default-x86.jar", "sha256": "2f36dc1d12ee75a30cdfc4cf757ed34191bc80b9d323a06137197af0557e2f9c", "destination": file("$buildDir/v1.1.5/default-x86.jar")] + ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.6/default-arm64-v8a.jar", "sha256": "71ad6173913b2b3cfc12237155f109a9f8e7ee82e09ad358ca34030b6954bdc0", "destination": file("$buildDir/v1.1.5/default-arm64-v8a.jar")], + ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.6/default-armeabi-v7a.jar", "sha256": "5371c60647a13971a228d0cfe0a6288671bc55812cda7ac13848946494f5f00f", "destination": file("$buildDir/v1.1.6/default-armeabi-v7a.jar")], + ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.6/default-x86_64.jar", "sha256": "e6b97eb40c3e1c36debe4c54d82bb663cf0cf4a32911a159ce8eb618123e22aa", "destination": file("$buildDir/v1.1.6/default-x86_64.jar")], + ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.6/default-x86.jar", "sha256": "80d0b0c399a09cb4e00cf4d5dc875a8c0f5f3bf74993865004b7e0da6823a9a9", "destination": file("$buildDir/v1.1.6/default-x86.jar")] ] filesToDownload.each { fileInfo -> diff --git a/media_kit_video/lib/src/video_controller/android_video_controller/real.dart b/media_kit_video/lib/src/video_controller/android_video_controller/real.dart index 1ddf0d15f..cdb2064a9 100644 --- a/media_kit_video/lib/src/video_controller/android_video_controller/real.dart +++ b/media_kit_video/lib/src/video_controller/android_video_controller/real.dart @@ -148,7 +148,7 @@ class AndroidVideoController extends PlatformVideoController { // Update [configuration] to have default values. configuration = configuration.copyWith( - vo: configuration.vo ?? 'gpu', + vo: configuration.vo ?? 'gpu-next', hwdec: configuration.hwdec ?? await getDefaultHwdec(), ); From f3636fc44fa9a0608611098be0ddf4e5b6546bf8 Mon Sep 17 00:00:00 2001 From: Predidit <34627277+Predidit@users.noreply.github.com> Date: Fri, 23 Jan 2026 22:08:32 +0800 Subject: [PATCH 2/9] update --- libs/android/media_kit_libs_android_video/android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/android/media_kit_libs_android_video/android/build.gradle b/libs/android/media_kit_libs_android_video/android/build.gradle index 6bb7fb958..e868d6446 100644 --- a/libs/android/media_kit_libs_android_video/android/build.gradle +++ b/libs/android/media_kit_libs_android_video/android/build.gradle @@ -58,7 +58,7 @@ task downloadDependencies(type: Exec) { // Download all *.jar dependencies & verify their SHA-256 checksums. def filesToDownload = [ - ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.6/default-arm64-v8a.jar", "sha256": "71ad6173913b2b3cfc12237155f109a9f8e7ee82e09ad358ca34030b6954bdc0", "destination": file("$buildDir/v1.1.5/default-arm64-v8a.jar")], + ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.6/default-arm64-v8a.jar", "sha256": "71ad6173913b2b3cfc12237155f109a9f8e7ee82e09ad358ca34030b6954bdc0", "destination": file("$buildDir/v1.1.6/default-arm64-v8a.jar")], ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.6/default-armeabi-v7a.jar", "sha256": "5371c60647a13971a228d0cfe0a6288671bc55812cda7ac13848946494f5f00f", "destination": file("$buildDir/v1.1.6/default-armeabi-v7a.jar")], ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.6/default-x86_64.jar", "sha256": "e6b97eb40c3e1c36debe4c54d82bb663cf0cf4a32911a159ce8eb618123e22aa", "destination": file("$buildDir/v1.1.6/default-x86_64.jar")], ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.6/default-x86.jar", "sha256": "80d0b0c399a09cb4e00cf4d5dc875a8c0f5f3bf74993865004b7e0da6823a9a9", "destination": file("$buildDir/v1.1.6/default-x86.jar")] From c5112135e4a7b6e7b46166944940a9ecc02b3da3 Mon Sep 17 00:00:00 2001 From: Predidit <34627277+Predidit@users.noreply.github.com> Date: Mon, 26 Jan 2026 21:39:44 +0800 Subject: [PATCH 3/9] test --- .../lib/src/video_controller/android_video_controller/real.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/media_kit_video/lib/src/video_controller/android_video_controller/real.dart b/media_kit_video/lib/src/video_controller/android_video_controller/real.dart index cdb2064a9..7f531f137 100644 --- a/media_kit_video/lib/src/video_controller/android_video_controller/real.dart +++ b/media_kit_video/lib/src/video_controller/android_video_controller/real.dart @@ -199,6 +199,7 @@ class AndroidVideoController extends PlatformVideoController { 'vid': 'auto', 'opengl-es': 'yes', 'force-window': 'yes', + 'gpu-api': 'vulkan', 'gpu-context': 'android', 'sub-use-margins': 'no', 'sub-font-provider': 'none', From 162267b509e4d10aaa142a960186874d949e2c95 Mon Sep 17 00:00:00 2001 From: Predidit <34627277+Predidit@users.noreply.github.com> Date: Tue, 27 Jan 2026 11:59:06 +0800 Subject: [PATCH 4/9] bump android binary --- .../media_kit_libs_android_video/android/build.gradle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/android/media_kit_libs_android_video/android/build.gradle b/libs/android/media_kit_libs_android_video/android/build.gradle index e868d6446..e7bd671d5 100644 --- a/libs/android/media_kit_libs_android_video/android/build.gradle +++ b/libs/android/media_kit_libs_android_video/android/build.gradle @@ -58,10 +58,10 @@ task downloadDependencies(type: Exec) { // Download all *.jar dependencies & verify their SHA-256 checksums. def filesToDownload = [ - ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.6/default-arm64-v8a.jar", "sha256": "71ad6173913b2b3cfc12237155f109a9f8e7ee82e09ad358ca34030b6954bdc0", "destination": file("$buildDir/v1.1.6/default-arm64-v8a.jar")], - ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.6/default-armeabi-v7a.jar", "sha256": "5371c60647a13971a228d0cfe0a6288671bc55812cda7ac13848946494f5f00f", "destination": file("$buildDir/v1.1.6/default-armeabi-v7a.jar")], - ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.6/default-x86_64.jar", "sha256": "e6b97eb40c3e1c36debe4c54d82bb663cf0cf4a32911a159ce8eb618123e22aa", "destination": file("$buildDir/v1.1.6/default-x86_64.jar")], - ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.6/default-x86.jar", "sha256": "80d0b0c399a09cb4e00cf4d5dc875a8c0f5f3bf74993865004b7e0da6823a9a9", "destination": file("$buildDir/v1.1.6/default-x86.jar")] + ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.7/default-arm64-v8a.jar", "sha256": "7a22fb3a6ce316635d23321dcb243cda02e66a3d9f5d8e0663a62154a7cadbb4", "destination": file("$buildDir/v1.1.7/default-arm64-v8a.jar")], + ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.7/default-armeabi-v7a.jar", "sha256": "806e6cf646a96412561817b008c20f745cefda4bb60f41000ac8d423fb77b528", "destination": file("$buildDir/v1.1.7/default-armeabi-v7a.jar")], + ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.7/default-x86_64.jar", "sha256": "1a0c453559da5ff36220eed5b1d1d1274deb1c6e4650eca135430b0603de9d94", "destination": file("$buildDir/v1.1.7/default-x86_64.jar")], + ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.7/default-x86.jar", "sha256": "40e258c9122f15358e9ea4dd9f824b56fbd7d1ba1c96c2ab8228276103f57c2c", "destination": file("$buildDir/v1.1.7/default-x86.jar")] ] filesToDownload.each { fileInfo -> From b88a1f8e33c57ad61dc642c6c160f8fca30921d7 Mon Sep 17 00:00:00 2001 From: Predidit <34627277+Predidit@users.noreply.github.com> Date: Tue, 27 Jan 2026 14:10:26 +0800 Subject: [PATCH 5/9] bump android binary --- .../media_kit_libs_android_video/android/build.gradle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/android/media_kit_libs_android_video/android/build.gradle b/libs/android/media_kit_libs_android_video/android/build.gradle index e7bd671d5..d903132af 100644 --- a/libs/android/media_kit_libs_android_video/android/build.gradle +++ b/libs/android/media_kit_libs_android_video/android/build.gradle @@ -58,10 +58,10 @@ task downloadDependencies(type: Exec) { // Download all *.jar dependencies & verify their SHA-256 checksums. def filesToDownload = [ - ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.7/default-arm64-v8a.jar", "sha256": "7a22fb3a6ce316635d23321dcb243cda02e66a3d9f5d8e0663a62154a7cadbb4", "destination": file("$buildDir/v1.1.7/default-arm64-v8a.jar")], - ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.7/default-armeabi-v7a.jar", "sha256": "806e6cf646a96412561817b008c20f745cefda4bb60f41000ac8d423fb77b528", "destination": file("$buildDir/v1.1.7/default-armeabi-v7a.jar")], - ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.7/default-x86_64.jar", "sha256": "1a0c453559da5ff36220eed5b1d1d1274deb1c6e4650eca135430b0603de9d94", "destination": file("$buildDir/v1.1.7/default-x86_64.jar")], - ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.7/default-x86.jar", "sha256": "40e258c9122f15358e9ea4dd9f824b56fbd7d1ba1c96c2ab8228276103f57c2c", "destination": file("$buildDir/v1.1.7/default-x86.jar")] + ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.8/default-arm64-v8a.jar", "sha256": "eed6c7a9e7a3868be636d66e584901c7eb856affb8d760c828bb4a1023e703eb", "destination": file("$buildDir/v1.1.8/default-arm64-v8a.jar")], + ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.8/default-armeabi-v7a.jar", "sha256": "039ac9e4341f234ddc306e00b14cdfa31ec30d1e58245bf2d7e69dd7ce185abf", "destination": file("$buildDir/v1.1.8/default-armeabi-v7a.jar")], + ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.8/default-x86_64.jar", "sha256": "db80c8cbe2a770623f69cc16911c891e04230ec0e2ee7bac1220ef8db5164e08", "destination": file("$buildDir/v1.1.8/default-x86_64.jar")], + ["url": "https://github.com/Predidit/libmpv-android-video-build/releases/download/v1.1.8/default-x86.jar", "sha256": "0f4e0509b8dd158c6d9d02327fa73e52d0e547c14ca6d5c780f132aa5683d5a5", "destination": file("$buildDir/v1.1.8/default-x86.jar")] ] filesToDownload.each { fileInfo -> From 15463078a198925ec5000124815cddc98bee5034 Mon Sep 17 00:00:00 2001 From: Predidit <34627277+Predidit@users.noreply.github.com> Date: Tue, 27 Jan 2026 14:16:35 +0800 Subject: [PATCH 6/9] update --- .../lib/src/video_controller/android_video_controller/real.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media_kit_video/lib/src/video_controller/android_video_controller/real.dart b/media_kit_video/lib/src/video_controller/android_video_controller/real.dart index 7f531f137..325f7a579 100644 --- a/media_kit_video/lib/src/video_controller/android_video_controller/real.dart +++ b/media_kit_video/lib/src/video_controller/android_video_controller/real.dart @@ -199,7 +199,7 @@ class AndroidVideoController extends PlatformVideoController { 'vid': 'auto', 'opengl-es': 'yes', 'force-window': 'yes', - 'gpu-api': 'vulkan', + 'gpu-api': configuration.vo == 'gpu-next' ? 'vulkan' : 'auto', 'gpu-context': 'android', 'sub-use-margins': 'no', 'sub-font-provider': 'none', From 431ef023da2e572903fb6b7b7428629a761efe0b Mon Sep 17 00:00:00 2001 From: Predidit <34627277+Predidit@users.noreply.github.com> Date: Tue, 27 Jan 2026 14:23:14 +0800 Subject: [PATCH 7/9] update --- .../lib/src/video_controller/android_video_controller/real.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media_kit_video/lib/src/video_controller/android_video_controller/real.dart b/media_kit_video/lib/src/video_controller/android_video_controller/real.dart index 325f7a579..8fd1c551e 100644 --- a/media_kit_video/lib/src/video_controller/android_video_controller/real.dart +++ b/media_kit_video/lib/src/video_controller/android_video_controller/real.dart @@ -148,7 +148,7 @@ class AndroidVideoController extends PlatformVideoController { // Update [configuration] to have default values. configuration = configuration.copyWith( - vo: configuration.vo ?? 'gpu-next', + vo: configuration.vo ?? 'gpu', hwdec: configuration.hwdec ?? await getDefaultHwdec(), ); From cb478813cb97c2df2f73a670a55aef7eacb8f230 Mon Sep 17 00:00:00 2001 From: Predidit <34627277+Predidit@users.noreply.github.com> Date: Tue, 27 Jan 2026 14:39:35 +0800 Subject: [PATCH 8/9] update --- .../src/video_controller/android_video_controller/real.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/media_kit_video/lib/src/video_controller/android_video_controller/real.dart b/media_kit_video/lib/src/video_controller/android_video_controller/real.dart index 8fd1c551e..d165332dd 100644 --- a/media_kit_video/lib/src/video_controller/android_video_controller/real.dart +++ b/media_kit_video/lib/src/video_controller/android_video_controller/real.dart @@ -148,7 +148,7 @@ class AndroidVideoController extends PlatformVideoController { // Update [configuration] to have default values. configuration = configuration.copyWith( - vo: configuration.vo ?? 'gpu', + vo: configuration.vo ?? 'gpu-next', hwdec: configuration.hwdec ?? await getDefaultHwdec(), ); @@ -197,10 +197,10 @@ class AndroidVideoController extends PlatformVideoController { 'vo': 'null', 'hwdec': configuration.hwdec!, 'vid': 'auto', - 'opengl-es': 'yes', + // 'opengl-es': 'yes', 'force-window': 'yes', 'gpu-api': configuration.vo == 'gpu-next' ? 'vulkan' : 'auto', - 'gpu-context': 'android', + // 'gpu-context': 'android', 'sub-use-margins': 'no', 'sub-font-provider': 'none', 'sub-scale-with-window': 'yes', From 39c6438638a4663f03dfa6987528a56c638b4ae1 Mon Sep 17 00:00:00 2001 From: Predidit <34627277+Predidit@users.noreply.github.com> Date: Tue, 27 Jan 2026 14:44:29 +0800 Subject: [PATCH 9/9] update --- .../src/video_controller/android_video_controller/real.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/media_kit_video/lib/src/video_controller/android_video_controller/real.dart b/media_kit_video/lib/src/video_controller/android_video_controller/real.dart index d165332dd..db3a6c67c 100644 --- a/media_kit_video/lib/src/video_controller/android_video_controller/real.dart +++ b/media_kit_video/lib/src/video_controller/android_video_controller/real.dart @@ -148,7 +148,7 @@ class AndroidVideoController extends PlatformVideoController { // Update [configuration] to have default values. configuration = configuration.copyWith( - vo: configuration.vo ?? 'gpu-next', + vo: configuration.vo ?? 'gpu', hwdec: configuration.hwdec ?? await getDefaultHwdec(), ); @@ -197,10 +197,8 @@ class AndroidVideoController extends PlatformVideoController { 'vo': 'null', 'hwdec': configuration.hwdec!, 'vid': 'auto', - // 'opengl-es': 'yes', 'force-window': 'yes', 'gpu-api': configuration.vo == 'gpu-next' ? 'vulkan' : 'auto', - // 'gpu-context': 'android', 'sub-use-margins': 'no', 'sub-font-provider': 'none', 'sub-scale-with-window': 'yes',