Files
MemRelay/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/Checkpoint 2026-10-21 15-45-44 UTC [c607aa2093].md
T
memrelay f8571e48e9 create: Checkpoint 2026-10-21 15:45:44 UTC [c607aa2093]
MemRelay-Operation: checkpoint-save:ckpt-audio-guard-20261021-01
MemRelay-Resource: 18cb3b96-c336-4ee4-894f-a56531215427
2026-10-21 23:45:47 +08:00

27 lines
1.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: Checkpoint 2026-10-21 15:45:44 UTC [c607aa2093]
type: checkpoint
permalink: main/projects/280dd2a0-d23d-4a71-91e1-dce4353163be/checkpoint-2026-10-21-15-45-44-utc-c607aa2093
stable_id: 18cb3b96-c336-4ee4-894f-a56531215427
scope: project
memory_type: checkpoint
project_id: 280dd2a0-d23d-4a71-91e1-dce4353163be
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
status: active
revision: 1
request_id: ckpt-audio-guard-20261021-01
created_at: '2026-10-21T15:45:44.615839+00:00'
updated_at: '2026-10-21T15:45:44.615839+00:00'
tags:
- audio
- dramabox
- handoff
---
完成:核对黄豆和 DramaBox 下载不会交出静音文件。实测黄豆正片解密后 h264+aac,试看 MP4 也有 aac;DramaBox ts 是 h264+HE-AAC,按现有合成命令打出的 mp4 能解码出声音。
原因:RaptDrama 曾因因音是音轨分开、合成漏掉。这两个平台的可播地址本身带音轨,但整段 MP4 之前是直接复制,没做检查。
关键实现:整段文件复制后用 ffmpeg 确认有 Audio 流,没有就删掉并失败该集。HLS 仍走原来的独立音轨合成和静音拒绝。DramaBox 任务记住语言代码,正在下载时换地区不改这部剧。没有可下地址的剧标为失败,不再显示已完成。
验证:tests/test_dramabox.py、test_huangdou_media.py、test_audio_remux.py 通过。实测合成一段黄豆分片和 DramaBox 分片,ffprobe 都有音频,解码退出码 0。
代理与线程:代理仍是 /api/proxy,三个平台共用 server.services.http。同时下载数和目录按平台分开保存,测试确认互不覆盖。
下一步:这些改动还在 feat/dramabox 工作区,尚未提交。要看到效果需重启 npm run tauri dev。
给下个会话:不要把静音检查拿掉。不要改窗口 1080×800 和背景 #363636。不要把 token 和 CDN 签名写进记忆。