Skip to content

将哔哩哔哩手机客户端视频缓存文件批量合并成mp4视频和ass字幕。Batch merge video cache files from the Bilibili mobile client into MP4 videos and ASS subtitles.

License

Notifications You must be signed in to change notification settings

Love-JourneY/bilibili-app-cache-converter

 
 

Repository files navigation

BiliAppCacheConverter

Static Badge Static Badge Static Badge Static Badge GitHub License

一个将B站(哔哩哔哩,bilibili)手机app中的缓存文件合并为mp4视频和ass字幕的工具,基于Electron,flask和ffmpeg,使用nuitka和electron-builder构建。

使用

目前仅支持Win10 / Win11

Electron版本

  • 下载release中对应的安装文件
  • 像使用任何安装程序一样安装到计算机上
  • 打开即用

原生版本

  • 下载release中的xxx-Windows-amd64.zip
  • 解压到任意文件夹
  • 运行bcc.exe
  • enjoy

演示

视频演示

https://www.bilibili.com/video/BV1MH4y1j7aG

博客

将你用手机缓存的B站视频转换为mp4和ass弹幕

自行构建

首先打包flask,然后打包Electron

环境

  • python 3.11 建议使用虚拟环境
  • node 20.11

build flask

使用任何python打包方式,pyinstaller和nuitka都可以正常打包。

ffmpeg

将ffmpeg放在/resources目录下

build electron

npm run build:win

致谢

xml弹幕文件转ass字幕文件使用了该仓库https://github.com/m13253/danmaku2ass

ffmpeg是一款强大的开源音视频软件https://github.com/FFmpeg/FFmpeg

About

将哔哩哔哩手机客户端视频缓存文件批量合并成mp4视频和ass字幕。Batch merge video cache files from the Bilibili mobile client into MP4 videos and ASS subtitles.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 64.3%
  • Vue 19.5%
  • JavaScript 10.9%
  • CSS 4.8%
  • HTML 0.5%