CCTVVideoDownloader icon indicating copy to clipboard operation
CCTVVideoDownloader copied to clipboard

[BUG]尝试下载武林外传遇到CBOX解密失败

Open miy4mori opened this issue 4 months ago • 1 comments

描述问题 尝试下载武林外传时遇到CBOX解密失败

如何复现 重现该行为的步骤:

  1. 导入节目https://tv.cctv.com/2014/07/27/VIDE1406399770522952.shtml?spm=C55853485115.PN6hjciJxJ1y.0.0
  2. 选择下载《武林外传》第1集
  3. 报错CBOX解密失败,退出码: 1 错误信息: "Error muxing packet\r\nError occurred: Invalid argument\r\n[h264 @ 000002b20a740440] non-existing SPS 0 referenced in buffering period\r\n[h264 @ 000002b20a740440] non-existing SPS 0 referenced in buffering period\r\n[h264 @ 000002b20a740440] top block unavailable for requested intra mode\r\n[h264 @ 000002b20a740440] error while decoding MB 29 0, bytestream 6171\r\n[h264 @ 000002b20a740440] concealing 3600 DC, 3600 AC, 3600 MV errors in I frame\r\nInput #0, mpegts, from 'E:/Video/4bc23201e171f9f2d41bee9af5d1f3e9ad706923ec67ce29a0d896101a7f1495/input.cbox':\r\n Duration: 00:45:24.12, start: 1.400000, bitrate: 950 kb/s\r\n Program 1 \r\n Metadata:\r\n service_name : Service01\r\n service_provider: FFmpeg\r\n Stream #0:0[0x100]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn\r\n Stream #0:10x101: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 135 kb/s\r\nOutput #0, mpegts, to 'E:/Video/4bc23201e171f9f2d41bee9af5d1f3e9ad706923ec67ce29a0d896101a7f1495/result.ts':\r\n Stream #0:0: Video: h264 (High), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], q=2-31\r\n Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp, 135 kb/s\r\n[mpegts @ 000002b20aa2a040] Application provided invalid, non monotonically increasing dts to muxer in stream 1: 137520 >= 135784" ...

预期行为 预期正常下载完成

截图 如有,请添加截图以帮助说明您的问题。

Image Image

桌面环境(请完善以下信息):

  • 系统: Windows 11 23H2
  • 版本: 22631.7219

备注 在此添加有关问题的任何其他背景信息。

cctvvideodownloader.log

miy4mori avatar Jul 12 '26 05:07 miy4mori

  • 我这里写了个修复因为时间戳异常而报错的工具,
  • 将解压出来的fixit.exe放到程序所在目录(即和CCTVVideoDownloader.exe同个目录)
  • 使用指南>>>

将存放解密失败的文件的文件夹(即包含input.cbox文件的文件夹),拖到这个exe文件上, 等待程序自动处理直到程序自动关闭, 在输出文件夹会生成一个完整且正常的mp4格式视频. *** 本工具只对因时间戳问题报错的视频有效 ***

https://github.com/user-attachments/files/29686917/fixit.zip

WeaponJang avatar Jul 13 '26 02:07 WeaponJang