0
Fork 0
mirror of https://github.com/Silent1566/webhtv.git synced 2026-11-17 18:56:13 +00:00
Commit graph

127 commits

Author SHA1 Message Date
Silent1566
23f51a7736 perf(leanback): cut playback-enter main-thread stalls (prewarm, cross-frame stages, prefs/identity caches)
Verification: Final tree (:app:compileLeanbackArmeabi_v7aDebugJavaWithJavac --offline) BUILD SUCCESSFUL in 15s exit 0; six reviewed changes F1/F3 leanback initView cross-frame stages + fast-path spinner dedupe, F2 Device identity prewarm, F4 badge regex prewarm, F5 overlay binder short-circuit, F7 PlaybackConfigIdentity cache with write-path invalidation, F8 prefs single-value read replacing 114KB getAll copy; device evidence emulator-5554 (arm32 via libnb) same-probe: window fps 45.3->79.3 was retracted as framestats truncation artifact, paired A/B baseline vs f8-full 3 pairs shows no measurable gain and is confounded by +44ms/min tap->START drift; documented in docs/C111-leanback-playback-loading-jank.md sections 1-13 with rollback points per item; no startup regression, no first-frame black screen

Task-Guard: C111
2026-10-29 14:55:20 +08:00
Team Lead
f435ff4c0c perf(C101-S10): ship a baseline profile generated from the device ART profile
Verification: release APK 内含 assets/dexopt/baseline.prof 29571B + baseline.profm 2203B;merged_art_profile(mobileArm64_v8aRelease)=33996 行含本应用 9299 条;安装期 dexopt 由 run-from-apk 变 speed-profile[install];profile 开/关 5x冷启动 A/B 中位 1232 vs 1196ms(本机无显著差异,已在文档 §13.4 标注限制)

Task-Guard: C101-S10
2026-10-26 09:54:01 +08:00
Team Lead
fe77e61cc5 C101: add loading jank probe script and task doc
Verification: probe runs: baseline-off 3 runs janky 57.56/56.67/28.48 pct, p99 450-650ms; bash -n syntax check passed; task doc 165 lines written

Task-Guard: C101-DOC
2026-10-24 10:16:20 +08:00
Silent1566
231bbea99b review(C92): 复评 TV 焦点对比度两提交,修正屏显芯片按下态顶掉焦点环、采样脚本空跑即通过
Verification: TvFocusStatePairContrastTest 4/4 green (pre-fix red reproduced tv.displayOption.pressed 3.38/4.48/3.69:1 with white_30 pressed fill); check_ui_tokens.sh --strict PASS violations=0 pairs=38 failures=0 min=4.28; :app:processMobileArm64_v8aDebugResources BUILD SUCCESSFUL; py_compile OK

Task-Guard: C92-BETA-MERGE-DEV4-20261021
2026-10-21 16:16:28 +08:00
Silent1566
7eb229f50a fix(tv): 搜索键盘键底上调到 black_40 达 4.5:1,并记录真机像素采样结果与采样脚本
Verification: Device (127.0.0.1:5561, Android9 x86_64 1920x1080, install -r Success) pixel sampling 6/6 PASS via scripts/verify_scope_focus_contrast.py: focused 6.51:1, focused+selected 6.80:1, selected 6.14:1, default 10.17:1, keyboard 7.07:1 (was 4.36:1 at black_20), trigger 6.00:1. TvFocusStatePairContrastTest 4/4 green after keyboard change; check_ui_tokens.sh --strict PASS; assembleLeanbackArm64_v8aDebug BUILD SUCCESSFUL + installed. CollectActivity group popup and DisplayDialog not reachable on this emulator (no site config / no TMDB entry); both share the same verified resource pair and are covered by the guard wiring gate + registry assertions (documented in docs/TV-FOCUS-PAIR-20261021.md sections 6.3 and 7).

Task-Guard: TV-FOCUS-PAIR-20261021-VERIFY
2026-10-21 15:02:31 +08:00
Silent1566
58de02cd78 merge: 合并 origin/beta 最新代码(PR#451/#452)并复评修正 4 项守卫脱钩缺陷
Verification: 双 flavor 全量 JVM 单测 leanback 4330 / mobile 5117 均 0 failure 0 error;androidTest 双 flavor Java 编译通过;python 与 bash 两入口 check_ui_tokens --strict 均 PASS(violations=0);复活/丢失五层审计全部为 0 且注入探针自检非空转;7 组变异探针如期转红并 git hash-object 逐字节还原;git diff --check 通过

Task-Guard: C75-beta-merge-review-dev4-20261016
2026-10-17 00:52:16 +08:00
Silent1566
70e7f27ef5 build(ui): 给静态门槛补一个不依赖 bash 的等价入口,让它在本机真的能跑
设计文档 §13.1 把 scripts/check_ui_tokens.sh 列为**每阶段必做**的静态验证,§19 定义了它的
五项检查契约。但该脚本把**全部检查体**放在内嵌的 python3 heredoc 里,真正依赖 bash 的只有
参数解析与 git rev-parse 两件事——而本机(Windows)没有可用的 bash(只有 WSL,服务不可用:
HCS_E_SERVICE_NOT_AVAILABLE)。

结果:这个门槛在本会话此前的**全部 UI 批次里一次都没运行过**,而它本该拦住的问题确实溜了
过去——审计实测 violations=1、hex_layouts=1(item_following.xml 的两处固定色)。
**没人跑门槛,门槛等于不存在。**

关键观察:本机有可用的 Python 3.14.7,所以障碍只有 bash 这一层,而它承担的恰恰是最不重要的
那部分工作。

方案选择:不装 bash(要动开发环境、CI 与本地仍可能不一致),不用 PowerShell 重写(不是这个
仓库的工具链语言,且会变成第三套实现),而是**把内嵌 Python 抽成独立入口**——核心逻辑是
逐行从 .sh 的 heredoc 抽取的,只把 6 个 sys.argv 取值改成函数参数,因此两条入口**同源**,
不是两份各写一遍。scripts/ 下已有 13 个 .py 工具,Python 本就是既有工具链语言。

- scripts/check_ui_tokens.py:run(...) 承载原逻辑;手写参数解析(不用 argparse——原脚本接受
  裸 help 别名,且把未知选项当用法错误退出 2,argparse 无法表达裸 help);repo_root() 用
  git rev-parse 失败回落 cwd;保留原 strict 推导规则(--baseline 关、--stage 非 A 开);
- 规范 §13.1 补一段:无 bash 主机改用 .py、两者是同一门槛的两个入口、等价性验证方式;
- UiTokenGatePortabilityContractTest 4 项:入口存在且不依赖 bash/heredoc;CLI 契约一致
  (选项名、退出码、strict 推导);五项检查与八类扫描范围一项不少;规范指向新入口。

验证:六种 CLI 模式全部对齐(默认/--strict/--baseline/--stage B/help/--bogus),输出行与
§13.1 记录的历史值可比(layouts=385 drawables=559 colors=60 allowlisted=190、
pairs=38 failures=0 min=4.28);**做了负向测试**——临时把 item_following.xml 的
?attr/colorPrimary 改回 #174EA6,门槛立刻 hex_layouts=1 / violations=1 /
UI_TOKEN_VIOLATION 精确指出该文件 / STATUS FAIL / 退出码 1,还原后 0 差异。
这条负向测试同时**反证了 CONTRAST-P0 的修复确实生效**(审计时同一门槛给 violations=1,
现在是 0)。契约测试两端 BUILD SUCCESSFUL。

首轮契约测试失败,**又是我的断言写错了**:断言源码含 UI_TOKEN_SCOPE stage= 这个字面量,
但该行是 f-string 拼接,那个含具体值的字面量在源码里并不存在;改为按前缀断言后通过。

未解决:两个入口可能漂移(本批只保证当前同源,契约测试钉住检查项的存在但钉不住数值逻辑
逐行一致;彻底的解法是让 .sh 调用 .py,那会改动权威脚本,属独立决定);§13.1 第 1 项
git diff --check 仍未纳入本入口(本机 GIT_CONFIG_* 环境变量问题会让 git 报错)。
详见 docs/UI-TOKEN-GATE-PORTABLE-20261013.md §4.5。

环境限制:本会话无可用 bash,task_guard.sh 无法执行,按同等意图手工暂存/提交/打 tag。
2026-10-13 16:38:37 +08:00
Silent1566
c0ba017885 fix(tv): TV 横幅按 320x180dp 出图,消除启动器放大导致的字标锯齿
用户反馈横屏图标(Android TV banner)分辨率不够、锯齿严重。横幅此前按官方
xhdpi 最小尺寸 320x180 px(即 160x90 dp)出图,而启动器磁贴按 dp 绘制:
1080p/xhdpi 磁贴要 640x360 px、4K 要 1280x720 px,启动器只能把位图放大,
字标因此出现锯齿。

改为每档按 320x180 dp 出图(mdpi 320x180 起,xxxhdpi 1280x720),即官方
最小尺寸的 2 倍:启动器要么 1:1 取用、要么缩小,两条路径都不再放大。
图像内容未改动——新的 mdpi/hdpi/xhdpi 与旧的 xhdpi/xxhdpi/xxxhdpi 逐字节
一致,仅新增 xxhdpi 960x540 与 xxxhdpi 1280x720 两档更大的图,APK 约 +94 KB。

Verification: bash ./gradlew :app:testLeanbackArm64_v8aDebugUnitTest --tests com.fongmi.android.tv.setting.AppBrandingContractTest => 13 tests, 0 failures, 0 errors(含 tvBannerIsProvidedPerDensityAtFullResolution 按新尺寸逐档断言 + 16:9);5 档横幅实测 320x180/480x270/640x360/960x540/1280x720;新 mdpi/hdpi/xhdpi 与旧 xhdpi/xxhdpi/xxxhdpi 逐字节一致

Task-Guard: tv-banner-hidpi
2026-10-12 23:09:12 +08:00
Silent1566
cd88c907d9 docs(c46): 复评 beta 合并后的 C45 交付并补齐两处遗留缺口
合并状态:origin/beta tip d8daedf86 已是 dev1 祖先(dev1..origin/beta 计数为 0),
无需合并操作;dev1 = origin/beta tip + C45 单个提交,线性关系。

远端已移除内容零复活(三层证据):
1. 结构性证明:dev1 相对 beta 的 120 个改动路径与 C45 提交改动路径完全一致,
   改动集之外的 4935 个文件 blob 与 beta 100% 相同;
2. 行级扫描:beta 历史 22 个单亲 revert/移除类提交、1686 行被删内容,
   10 行原始命中经甄别全部为 beta 自身后续合法重新引入(三文件与 beta tip 逐字节相同);
3. 净差异核对:dev1 独有且 beta 不含的非空行仅 20 行,全部来自 C45 自身改写。

复评发现并修复两处真实缺陷(均属 C45 完成度缺口):
- scripts/pull-ad-audio-log.sh:只服务被删功能的孤儿脚本,其依赖的 3 个偏好键
  与 10 个诊断标记在源码中引用数均为 0,上游 Silent1566 亦无此文件 → 删除(-53 行);
- 智能去广-设计文档.md:C45 声明的「决策 F 改写」实际执行成整节删除,而该节描述的
  PlaybackMediaSignalHub/PipelineLease/generation 门控仍被实时字幕使用
  (RealtimeSubtitleController 是现存唯一生产 consumer)→ 以「决策 E」恢复该架构决策。

第 3 轮订正我自己在第 2 轮的超范围恢复:「当前明确不承诺」4 条全部指向已删功能,
C45 删除它是正确的,已撤销恢复。

生产代码零改动:app/src 下本次无任何新增/修改/删除。

Verification: compileLeanbackArm64_v8aDebugJavaWithJavac + compileMobileArm64_v8aDebugJavaWithJavac BUILD SUCCESSFUL; testLeanbackArm64_v8aDebugUnitTest 4039 tests + testMobileArm64_v8aDebugUnitTest 4885 tests, 0 failures/0 errors; scripts/check_ui_tokens.sh UI_TOKEN_STATUS PASS (violations=1 为预先存在的 item_following.xml,不在改动集内); scripts/build_arm64_debug_install.sh --flavor mobile --serial 192.168.50.3:5555 BUILD SUCCESSFUL + 覆盖安装 Success; 设备冷启动无 FATAL/ClassNotFound/InflateException,设置页摘要「总开关、规则、片头片尾」,去广告子页仅基础/规则与统计/片段跳过三组,ad_audio*/speech_ad* 偏好键计数 0 而 adblock/ai_ad_detection/auto_skip_intro_outro 保留; git diff --check clean

Task-Guard: C46-beta-merge-review-dev1

Verification: 双 flavor Java 编译 BUILD SUCCESSFUL;双 flavor 全量单测 4039+4885 全通过 0 失败 0 错误;UI token 门禁 PASS 相对基线零新增违规;零复活三层程序化校验通过(改动集外 4935 文件 blob 与 beta 100% 相同,复活行 0);功能层残留引用 0;mobile 覆盖安装成功且冷启动无崩溃、设置页无音频识别项、ad_audio*/speech_ad* 偏好键计数 0

Task-Guard: C46-beta-merge-review-dev1
2026-10-08 16:49:17 +08:00
Silent1566
255059d48b fix(leanback): TV 横幅改为按密度输出 16:9 位图,移除抢占密度的 anydpi-v26 自适应图标
Verification: bash ./gradlew :app:testLeanbackArm64_v8aDebugUnitTest --tests com.fongmi.android.tv.setting.AppBrandingContractTest => 13 tests, 0 failures, 0 errors (新增 tvBannerIsProvidedPerDensityAtFullResolution / tvBannerUsesBitmapDensitiesNotAdaptiveIcon 均执行); 重跑 scripts/gen_app_icon.py 后 5 个密度 ic_banner.png md5 与改动前一致(生成幂等),banner 实测尺寸 160x90/240x135/320x180/480x270/640x360 全为 16:9

Task-Guard: tv-banner-density
2026-10-04 02:10:38 +08:00
Silent1566
810fd5ef7a feat(web): unify built-in web theme tokens
Verification: check_ui_tokens.sh --stage E真实扫描assets后返回violations=0 legacy=0 allowlisted=2;新增WebThemeTokenSourceTest连同WebTheme*/Theme*测试通过;mobile/leanback arm64 debug Java编译通过;dev3模拟器覆盖安装后HomeActivityCurrent启动,FATAL EXCEPTION=0;git diff --check通过。

Task-Guard: VISUAL-SYSTEM-E-20260921
2026-09-21 09:50:58 +08:00
Silent1566
f63b0a81bc feat(ui): unify home list and card tokens
Verification: check_ui_tokens.sh --stage C返回violations=0 legacy=0;ThemeResolverTest、ThemeContractTest、UiStyleSourceTest通过;mobile/leanback arm64 debug Java编译通过;dev3模拟器覆盖安装后列表/卡片与去广告规则管理Dialog正常,FATAL EXCEPTION=0;git diff --check通过。

Task-Guard: VISUAL-SYSTEM-C-20260921
2026-09-21 00:57:05 +08:00
Silent1566
72c1bec917 feat(ui): add unified semantic token foundation
Verification: ThemeResolverTest、ThemeContractTest、UiStyleSourceTest 共13项通过;mobile/leanback arm64 debug Java编译通过;check_ui_tokens.sh --baseline 38组对比度全通过,最低4.28:1;git diff --check通过;未改既有页面资源。

Task-Guard: VISUAL-SYSTEM-A-20260920
2026-09-20 23:29:16 +08:00
Silent1566
710e1bd520 merge: synchronize latest fish2018 main updates
Verification: Mobile/Leanback arm64 Debug Java compile; Mobile arm64 Debug unit tests 4587 tests, 0 failures, 0 errors, 1 skipped; verify_mpv_native_assets.sh --require-elf passed for arm64-v8a and armeabi-v7a; no conflict markers; staged diff check passed

Task-Guard: C4
2026-09-18 23:02:00 +08:00
www.xueximeng.com
98a7f9033d feat(mpv): add hardware-only AVS3 MediaCodec decoding
Verification: AVS3 production-function ASan/UBSan; fixed FFmpeg plus 7-patch byte equivalence; both ARM codec builds, ELF/16KB/178 public exports; 9 targeted Java tests; Mobile ARM64 APK native identity; actual Android JNI/NDK no-hardware and explicit-context rejection. Positive AVS3 hardware playback remains device-dependent and unverified.

Task-Guard: C-AVS3-mpv-mediacodec
2026-09-17 19:24:36 +08:00
www.xueximeng.com
edf4324034 feat(player): decode AVS3 High 10-bit with isolated HPM backend
Verification: Final dual-player dual-ARM codec artifact/ELF/namespace/license checks and APK 19-entry match passed; oracle 128 frames, interleaved instances/flush, ASan, MP4 PTS/seek and baseline 8/10-bit passed; phone Exo and MPV codecs each match original 128-frame SHA256 e3b317e5ea200e571184985c070b5c27d569c6e317ed145e85bab830aca04452; installed APK 1538aa22ec3daed088facd91daeb68e75b5af2e3e2dbb2b4e82968d88b9ae37e; MPV App first frame observed; user accepts software performance limit and requests closure; no real-time 4K50 claim

Task-Guard: C-AVS3-hpm15
2026-09-17 17:51:03 +08:00
www.xueximeng.com
c9a1ac99d0 fix(mpv): preserve ownership of FEL context options
Verification: Real mpv ta ASan/UBSan baseline invalid-free reproduction and 7 fixed paths passed; FEL patch forward/reverse roundtrip and static contract passed; arm64/armv7 incremental mpv builds, ELF/export parity and 18 unchanged dependencies passed; Mobile64 APK CRC/v2/native identity passed and installed; vivo V2453A original DV7 full FEL/Vulkan/MediaCodec frames, seek and exit passed (PID 11658); upstream checkpoint passed. Evidence: build/fel-context-ownership; docs/P2-4-mpv-android-fel.md section 9.25.

Task-Guard: P2-4-fel-context-ownership
2026-09-17 12:47:29 +08:00
www.xueximeng.com
769e53471d feat(player): add baseline AVS3 decoding and fix Exo to MPV surface handoff
Verification: AVS3 native ARM64 8/10-bit decode and flush/replay, dual-ARM ELF/provenance, 3 extractor and 2 MPV policy tests, Exo MP4/MKV device PixelCopy passed as recorded in docs/C-AVS3-video-decoding.md; final Mobile ARM64 APK build passed SHA256 2e40323b300942eecc88482e3254b8a36f9c6e240fcd0f8eadb0a30651ee978f; user accepted phone result and requested tag; High profile 0x30/0x32 remains unsupported

Task-Guard: C-AVS3-video
2026-09-17 11:16:23 +08:00
www.xueximeng.com
dbff1ffecd feat(mpv): add bounded FEL descriptor binding diagnostics
Verification: P2-4 9.24 B first tier: real native probe/core/VO ASan/UBSan PASS including no probe GPU execution, fresh binds, budgets, cancelled/failed cleanup, deferred fences and pause intent; focused 21 Java tests and product compilation PASS; actual Java-generated Web script PASS; full pre-FEL patch forward/reverse and 27-file roundtrip plus existing contracts PASS; dual ARM builds/ELF/public libmpv exports PASS; 18 other MPV libraries and all 27 APK lib/ libraries byte-identical to baseline; TV64 build 202609161336 native asset hashes, full ZIP CRC and v2 signature PASS; 104 protected CXX files unchanged; upstream checkpoint PASS. APK SHA256 9192d5a6df9cb5615f7bacaed8bd55200fd7240bacfd04727dd4324eca2e876e. Evidence /private/tmp/webhtv-fel-bind-probe-pa3hqm7z/. No TV or sustained-performance acceptance claimed.

Task-Guard: P2-4-fel-bind-probe
2026-09-16 13:46:14 +08:00
www.xueximeng.com
8de0fd7094 fix(mpv): select DV7 FEL before video chain initialization
Verification: P2-4 9.23: 6 focused Java classes / 34 tests and compilation PASS; actual C startup-selection/core/VO/decoder/descriptor contracts with ASan/UBSan PASS; dual ARM native builds, ELF and public exports PASS; other 18 libraries byte-identical; 24-file source/patch roundtrip PASS; TV64 APK native hashes/ZIP CRC/v2 signature PASS; 104 protected app/.cxx files unchanged; final patch reverse-apply and diff-check PASS; corrected upstream checkpoint 0 errors, 1 declared native-scope warning. Evidence: /private/tmp/webhtv-fel-startup-uwqa5kyt/. No TV performance acceptance claimed.

Task-Guard: P2-4-fel-startup-selection
2026-09-16 12:49:38 +08:00
www.xueximeng.com
44dd3f1386 fix(debug): remove pairing and promote log actions
Verification: DiagnosticExportAccessTest 5/5 PASS; actual Java HTML Chromium 320/390/844/1440 PASS; TV64 assemble 61s PASS; 10 packaged MPV libraries, v2 signature and ZIP budget PASS; checkpoint and diff checks PASS; evidence /private/tmp/webhtv-debug-web-actions.ALJuwC; APK SHA256 f5f13571b3a210ab689d8aed3963620399bbcd75f191ecdf7e49debc98938eab; device FEL performance remains pending

Task-Guard: AV-DIAG-01-WEB-ACTIONS
2026-09-16 07:26:55 +08:00
www.xueximeng.com
ed3d710ef5 perf(mpv): reuse unchanged FEL descriptor contents with fresh commands
Verification: Real mapper ASan/UBSan: 1200 frames, 72 writes, 1200 fresh bind/record/dispatch; ABA/pending/failure/push/latency cases pass; patch forward/reverse + static contract; both ARM builds, ELF and public exports; 18 other libraries byte-identical; TV64 202609160647 all 10 assets, v2 signature and compact ZIP verified. Device pixels/performance pending, candidate only. Evidence: /private/tmp/webhtv-fel-descriptor-content.xqkvwpr9

Task-Guard: P2-4-fel-descriptor-content
2026-09-16 06:53:30 +08:00
www.xueximeng.com
57211803d5 mpv: add bounded FEL wait diagnostics for TV logs
Verification: P2-4 9.18: actual-function ASan/UBSan and existing FEL behavior checks passed; corrected stale AV-DIAG log-entry static contract passed; both ABI builds/ELF/public exports passed, 18 dependencies unchanged; 13 Java tests passed; TV64 6e9bba7846e2e99620757c7ced5c357b287ce1bc64562a79f2db511e83c86a51 native assets/signature/ZIP passed. Diagnostic candidate only; TV performance awaits Web logs.

Task-Guard: P2-4-fel-wait-diagnostics
2026-09-16 05:35:16 +08:00
www.xueximeng.com
248a947ba8 feat(debug): capture crawler consoles and organize web logs into responsive tools
Verification: Python stream contracts 7 PASS; crawler category JUnit 1 PASS; actual Java HTML Chrome 4 viewports PASS including fixed toolbar, focus, tabs, pairing and filters; final mobile/leanback arm64 APK build PASS 57s, Python bridge/new drawer/libexo_ass packaged; checkpoint verifier 0 errors; evidence docs/AV-DIAG-01-playback-diagnostics.md section 14.15 and /private/tmp/pr107-artifacts.json

Task-Guard: AV-DIAG-01-CRAWLER-WEB
2026-09-15 17:59:30 +08:00
www.xueximeng.com
5acbb05aff feat(diagnostics): complete native evidence and categorized playback logging
Verification: AV-DIAG-01: both arm64 APKs built with libass enabled (final Java increment 28s); final APK DEX definitions and all 10 MPV assets match; Media3 selective AAR compilation preserved unrelated classes; ARM64/ARMv7 FFmpeg and MPV builds plus ELF/namespace/marker checks passed; production ELF32/64 and mapped APK identity parser matched readelf and SHA256 including absent GNU build-id; changed script syntax, 62 coverage IDs, patch lock hash, diff whitespace and upstream checkpoint check passed. Prior 23 App contract cases retained; device playback/performance acceptance is user-run.

Task-Guard: AV-DIAG-01-COMPLETE-NATIVE
2026-09-15 16:21:58 +08:00
www.xueximeng.com
bed561691c fix(exo): render container ASS packets with original fonts
Verification: User confirmed actual playback works and explicitly requested tag; ASS input tests 14/14 passed; native/API24/16KiB/provenance/JNI and final APK checks passed; device packet golden, JNI bounds, external lifecycle, disabled and no-subtitle tests passed (5/6); container lifecycle initial failure classified as pre-existing drawing-only Cue fixture baseline, fixture corrected and rebuilt, rerun cancelled after explicit user acceptance; final APK SHA256 07cd2260dbf07134c62c146192c677a526ccdcd24a29ea2f7df710ff8d304885

Task-Guard: E4-LIBASS-runtime
2026-09-15 06:10:55 +08:00
www.xueximeng.com
e7c0cdf0d6 feat(exo): add gated libass rendering with attached fonts
Verification: Input tests 6/6; latest native golden/lifecycle device tests 4/4 (7.012s); normal user ASS 6.63% of one CPU core and 2.679ms render+upload p95; three off/on pairs pass user-approved complex budget (max 36.65% core, 12.574ms, 59.35MiB PSS, zero drops/underruns); eight release cycles +1.86MiB and actual worker exit; native/API24/16KiB/Maven/APK verification passed; license whitespace normalized

Task-Guard: E4-LIBASS-stage1
2026-09-15 04:24:00 +08:00
www.xueximeng.com
2ec5afd8cc fix(mpv): bound FEL renderer warmup and gate push descriptors
Verification: P2-4 section 9.17: old VO 900ms negative reproduced; real VO/Vulkan ASan+UBSan, 1200 fresh pushes and 240 handoffs, cancellation/default isolation and source-patch checks passed; both ABI builds/ELF/exports and 18 unchanged libraries passed; 13 Java tests and TV32/Mobile64 APK assets/v2 signatures/ZIP passed; checkpoint verifier passed. Target-TV pixels, push support and real-time performance pending; no overall device acceptance. Evidence: /private/tmp/webhtv-fel-warmup-push.22C7vl/

Task-Guard: P2-4-fel-warmup-push
2026-09-14 00:42:39 +08:00
www.xueximeng.com
ce10d5c15e fix(mpv): refresh FEL frame commands and trace frame ordering
Verification: P2-4 9.16: actual-function ASan/UBSan cache/order and 240-frame handoff PASS; 1200 fresh recordings, no replay; final source/patch PASS; arm64+armv7 ELF/exports PASS with 18 unchanged libraries; 13 Java tests PASS; TV32/Mobile64 APK assets/signatures/ZIP PASS; checkpoint PASS. Evidence: /private/tmp/webhtv-fel-frame-order.sUwUpN. TV32 SHA256 4971498a956a723cf348592dc4b228f595efdda56a77a884afb51fec05645722. Device pixels/performance remain unverified.

Task-Guard: P2-4-fel-vk-reuse
2026-09-13 22:54:43 +08:00
www.xueximeng.com
dc14016385 mpv: isolate FEL performance logs and add nonblocking stage timings
Verification: P2-4 section 9.14; /private/tmp/webhtv-fel-perf.C10X7r: native-contract ASan/UBSan including fence-before-query/no-WAIT; 23 JUnit tests; two-ABI builds/ELF/public exports; only 2 libmpv changed and 18 libraries identical; final APK assets/signatures/ZIP passed; patch source identity and diff/checkpoint passed. Target-TV playback/performance remains pending, not accepted.

Task-Guard: P2-4-fel-steady-perf
2026-09-13 13:08:42 +08:00
www.xueximeng.com
1620bac156 mpv: separate FEL cold initialization from cancellable frame handoff
Verification: 日志42续修:core/producer/async host ASan+UBSan、C++契约、静态接线、双ABI构建/ELF/公开导出、2份libmpv变化且18依赖不变、TV32/Mobile64 APK逐库与v2签名、guard/checkpoint均通过;证据 /private/tmp/webhtv-fel-startup.hjGizG/。用户明确要求保存当前最新源码/native候选;目标电视实播未验收,不代表全部故障已解决。

Task-Guard: P2-4-fel-vo-handoff
2026-09-13 11:23:03 +08:00
www.xueximeng.com
0a82dc13e2 mpv: checkpoint FEL producer handoff with unresolved playback stalls
Verification: 候选恢复快照:定向host ASan/UBSan、双ABI构建/ELF/导出、两APK逐库及签名通过;用户日志41反馈起播成功率提高但偶发音视频解码失败,所有播放仍严重掉帧。用户明确要求立即保存最新源码及native,不表示电视验收通过。

Task-Guard: P2-4-fel-buffer-progress
2026-09-13 02:55:08 +08:00
Silent1566
65facf4bcb merge: synchronize fish2018 main with binary override and Java merge
Verification: GitHub API and local upstream/main frozen at fc62397591; 18 upstream .so hashes match exactly; no conflict markers; verify_mpv_native_assets.sh --require-elf passed; Mobile/Leanback Arm64 Java compilation and selected JVM tests BUILD SUCCESSFUL; git diff --check passed; no APK was packaged

Task-Guard: merge-upstream-binary-override-java-merge
2026-09-13 01:59:33 +08:00
www.xueximeng.com
cbb02fa4c4 fix(mpv): checkpoint pure-BL FEL reliability candidate
Verification: User explicitly requested latest tested candidate commit/tag as recovery snapshot. Existing host packet/RPU/lease/concurrency tests and both ABI ELF/APK checks passed (docs/P2-4-mpv-android-fel.md section 9.10). TV logs 39/40 report severe stutter and decoding failure: playback and performance acceptance FAILED; snapshot only, not a completed fix.

Task-Guard: P2-4-fel-reliability
2026-09-12 21:47:50 +08:00
www.xueximeng.com
792c1f880b mpv: checkpoint opt-in DV7 FEL reconstruction (known bugs)
Add the manually selected FEL dual-layer path and its ARM native assets.
Preserve existing defaults and keep the pre-existing app/.cxx files out.

Status: user-requested snapshot with known bugs; device FEL, lifecycle,
and performance acceptance remain pending. Not release-ready.
Task-Record: docs/P2-4-mpv-android-fel.md
Upstream-Source: FongMi/mpv@06ec6e1746

Verification: 57 targeted JUnit tests passed; Mobile arm64 and Leanback armv7 Java/APK builds passed; both ARM native builds, final ELF/assets/exported symbols and APK asset hashes passed; protected dirty paths/scope check passed. User explicitly requested commit/tag of the current snapshot with known remaining bugs. Device FEL/lifecycle/performance acceptance is NOT complete; this is a known-bug checkpoint, not a release or acceptance claim.

Task-Guard: P2-4
2026-09-12 07:41:10 +08:00
Silent1566
edaeb6609e scripts: add build_arm64_debug_install.sh one-command build+install flow
Verification: 拷贝自 dev1 4269dc5e83 已提交版本的相同脚本;diff 与 dev1 一致;bash -n 通过

Task-Guard: sync-arm64-debug-install
2026-09-12 00:22:41 +08:00
www.xueximeng.com
d4657ae879 fix(mpv): keep disc menus responsive and stabilize TV output fallback
Verification: User explicitly requested commit/tag of this candidate; disc navigation liveness/input tests PASS; 480 MediaCodec release/flush/close races PASS; 19 MpvAutoOutputPolicy tests PASS; Mobile arm64 and Leanback armv7 Debug builds PASS; both-ABI native build and ELF/assets/package hash checks PASS; task scope reconciled and guard check PASS. Device disconnected: candidate NOT installed and real-device playback acceptance remains pending; this is a local recovery candidate, not a device-validated release.

Task-Guard: P9-MPV-MENU-LIVENESS-TV
2026-09-10 16:29:21 +08:00
www.xueximeng.com
5b774430f1 fix(mpv): follow authored HDMV menu return routes
Verification: User verified 倩女幽魂 playback/menu normal and explicitly requested tag; authored ISO host chapter/settings/toggle/back/trailer-root scenarios PASS; test_bluray_menu_routing.sh and test_disc_navigation_input.sh PASS; both ARM ABI libbluray+mpv incremental builds PASS; verify_mpv_native_assets.sh --require-elf PASS; assembleMobileArm64_v8aDebug PASS (51s); OEM-assisted phone installation PASS. Known unresolved: House M.D. submenu close/switch still fails; this is a user-approved partial recovery checkpoint, not full P9 acceptance. Guard invocation adapts tracked ignored docs staging to git add -u; all scope/protected-path/atomic-commit/tag gates unchanged.

Task-Guard: P9-MPV-BLURAY-MENU-INPUT
2026-09-09 16:44:38 +08:00
www.xueximeng.com
55a6365a9f fix(mpv): stabilize Blu-ray navigation buffering and audio underruns
Verification: ISO cache 14 focused tests and actual ao_thread 7 host cases passed; old ao_thread fails zero-write assertion; both ARM libmpv builds and ELF/assets checks passed; Mobile debug built and installer-assist succeeded; Leanback Java passed; user confirms substantial smoothness improvement and explicitly requests checkpoint tag. Residual frame drops/audio CPU/history and prior broader P9 cases remain unaccepted; tested recovery snapshot, not full P9 acceptance.

Task-Guard: P9-MPV-BLURAY-MENU-FIX
2026-09-08 15:22:34 +08:00
Silent1566
188553addf merge: synchronize latest fish2018 main updates
Verification: git diff --check; no unmerged paths; task_guard check passed; verify_mpv_native_assets.sh --require-elf passed for arm64-v8a and armeabi-v7a; Mobile/Leanback Arm64 Java compilation and ExoUtil/ExoCompressedAudioDirectPolicy focused unit tests passed

Task-Guard: C4
2026-09-07 10:54:26 +08:00
www.xueximeng.com
2b36396c0d mpv: add HDMV Blu-ray menu navigation
Verification: MPV patch chain including third_party/patches/mpv-discnav.patch applied cleanly on pinned baseline; production patch cmp with /tmp/p9-final-source.patch; temporary-tree git diff --check; app Gradle compileLeanbackArm64_v8aDebugJavaWithJavac --offline BUILD SUCCESSFUL; bash -n scripts/build_mpv_native.sh scripts/verify_mpv_native_assets.sh; task_guard check and verify_upstream_checkpoint passed; native Meson probe blocked by missing libplacebo and Android NDK/clang, so dual-ABI ELF/assets and device playback remain unverified

Task-Guard: P9-MPV-BLURAY-MENU
2026-09-07 07:49:28 +08:00
www.xueximeng.com
aed962426d Fix MPV P8.1 HDR10 hardware fallback
Verification: 用户确认手机实测 P8.1 HDR10 回退播放正常;双 ABI native assets ELF 校验通过;Mobile Arm64 Debug APK 构建成功

Task-Guard: P6-1-mpv-p81-hdr10-fallback
2026-09-05 13:34:37 +08:00
www.xueximeng.com
e5dd86b344 fix(exo): support APE demux and FFmpeg playback
Verification: nextlib r3 dual-ABI build with ape decoder/demuxer; ApeExtractorTest 3/3 passed; app compile and arm64 debug APK build passed; Vivo V2453A install/launch and APE playback confirmed

Task-Guard: E13-EXO-APE
2026-09-04 23:55:02 +08:00
www.xueximeng.com
80e3138308 fix(exo): extract ALAC cookie from QuickTime wave atoms
Verification: Media3 extractor patch apply-check passed; lib-extractor publication succeeded; APK app-mobile-arm64_v8a-debug built with refreshed extractor (SHA-256 f07d53392be6b0aa373a240d2cdec91b358e512a57bbfd3af32595e80cadd4d9); device accepted installation and user confirmed ALAC playback appears working

Task-Guard: E12
2026-09-04 14:05:55 +08:00
Silent1566
d35797e8ee chore(player): remove stale mpv v556 inputs
Verification: C10 v556 cleanup: upstream native override parity, dead-reference check, and dual-ABI MPV ELF gate passed

Task-Guard: C10-v556-input-cleanup
2026-09-04 09:50:59 +08:00
www.xueximeng.com
639a046125 fix(exo): parse AVS3A DASH channel configuration
Verification: clean Media3 patch apply check; DASH parser Java compile and AAR publication passed; App ARM64 Java compile and APK assemble passed; Robolectric test blocked by host DefaultSdkProvider; ADB device unavailable for playback

Task-Guard: E12
2026-09-04 02:07:50 +08:00
Silent1566
79597d2c68 build(player): align binary dependency inputs with upstream
Verification: C10 selected Media3/Nextlib/lock/patch inputs match upstream/main ec478b0b69; JSON and 13 patch references valid; MPV arm64-v8a/armeabi-v7a ELF asset gate passed with NDK 28.2.13676358; Mobile Java compile BUILD SUCCESSFUL in 2m 3s; Leanback Java compile BUILD SUCCESSFUL in 1m 39s; checkpoint and diff checks passed

Task-Guard: C10-binary-upstream-align
2026-09-03 19:13:34 +08:00
www.xueximeng.com
5c104a199f exo: route MP4 AV3A tracks to compatible decoder
Verification: Media3 AV3A patch check; retained common/container/extractor AAR/source SHA-256 lock updates; focused mobile ARM64 unit tests and Java compile passed

Task-Guard: E12-1-EXO-AUDIO-CODEC-COMPAT
2026-09-02 21:53:36 +08:00
www.xueximeng.com
734e99253e mpv: add compressed AudioTrack output path
Verification: AudioPlaybackDiagnosticsTest passed; verify_mpv_native_assets.sh --require-elf passed for arm64-v8a and armeabi-v7a; arm64 native assets contain raw compressed AudioTrack markers

Task-Guard: P3-5
2026-09-02 18:10:37 +08:00
www.xueximeng.com
d41155f16c mpv: prefer hardware audio MediaCodec with fallback
Verification: JVM policy tests and Java compile passed; dual-ABI MPV native rebuild and ELF marker verification passed; Mobile arm64 debug APK asset hashes matched; vivo V2453A AAC playback verified aac_mediacodec failure falls back to FFmpeg PCM without playback failure

Task-Guard: P3-4
2026-09-01 13:09:16 +08:00