W weiserv

博客

记录 Web 工程实践:架构、性能、部署与踩过的坑。

想按知识领域系统浏览?打开知识体系地图 →

广告位占位 · blog-top

ffmpeg 转封装报 Error parsing ADTS frame header:yt-dlp 下载 HLS 视频没声音、时长腰斩的救回方法

yt-dlp 从 YouTube 下载 HLS m3u8 后得到 .part,转封装报 Error parsing ADTS frame header,成品没声音;去掉过滤器后时长又从 34:48 腰斩到 14:21。本文用真实报错与三次转封装对比,给出 -err_detect ignore_err + 音频重编码的救回命令,附最终 119.6 MB / 34:48 双流验证输出。

阅读全文 →

yt-dlp 报 m3u8 download detected but ffmpeg could not be found:最小化 Windows 服务器装 ffmpeg 的正确姿势

yt-dlp 已解决 bot 检测、能列出格式,却在下载最后一刻报 m3u8 download detected but ffmpeg could not be found。原因:YouTube 返回的格式全是 HLS m3u8,封装必须有 ffmpeg。本文记录最小化 Windows Server 上从选源(gyan.dev vs BtbN GitHub)到解压 dll 的完整命令与实测速度差。

阅读全文 →

yt-dlp 下载 YouTube 报 Sign in to confirm you're not a bot / No video formats found:登录态 cookies + Deno 的完整解法

海外数据中心 Windows 服务器下载 YouTube 直播回放,yt-dlp 先报 bot 检测、换 cookies 后又报 No video formats found。本文用真实报错原文还原前三个卡点:匿名 cookies 无效、Chrome 锁库 issue 7271、JS runtimes none 缺 Deno,给出逐步命令与实测验证。

阅读全文 →