Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/BlueCitizens/bilibili-app-cache-converter
将哔哩哔哩手机客户端视频缓存文件批量合并成mp4视频和ass字幕
https://github.com/BlueCitizens/bilibili-app-cache-converter
Last synced: about 2 months ago
JSON representation
将哔哩哔哩手机客户端视频缓存文件批量合并成mp4视频和ass字幕
- Host: GitHub
- URL: https://github.com/BlueCitizens/bilibili-app-cache-converter
- Owner: BlueCitizens
- License: gpl-3.0
- Created: 2022-09-29T03:34:28.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-04T02:15:11.000Z (8 months ago)
- Last Synced: 2024-08-01T02:26:53.125Z (4 months ago)
- Language: Python
- Homepage:
- Size: 74.1 MB
- Stars: 72
- Watchers: 2
- Forks: 6
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-bilibili-extra - Bilibili-app-cache-converter - 将哔哩哔哩手机客户端视频缓存文件批量合并成 mp4 视频和 ass 字幕.![Python](svg/python.svg?raw=true) ![Windows](svg/windows.svg?raw=true) (下载工具 / 直播脚本)
README
# BiliAppCacheConverter
![Static Badge](https://img.shields.io/badge/node-%3E%3D20.11.0-blue)
![Static Badge](https://img.shields.io/badge/npm-%3E%3D10.2.0-blue)
![Static Badge](https://img.shields.io/badge/electron-%20%5E28.2.0-blue)
![Static Badge](https://img.shields.io/badge/vue-%5E3.4.15-green)
![GitHub License](https://img.shields.io/github/license/BlueCitizens/bilibili-app-cache-converter)一个将B站(哔哩哔哩,bilibili)手机app中的缓存文件合并为mp4视频和ass字幕的工具,基于Electron,flask和ffmpeg,使用nuitka和electron-builder构建。
## 使用
目前仅支持Win10 / Win11### Electron版本
- 下载release中对应的安装文件
- 像使用任何安装程序一样安装到计算机上
- 打开即用### 原生版本
- 下载release中的xxx-Windows-amd64.zip
- 解压到任意文件夹
- 运行bcc.exe
- enjoy### 演示
[![](https://github.com/BlueCitizens/bilibili-app-cache-converter/blob/master/screenrecord.gif)](https://github.com/BlueCitizens/bilibili-app-cache-converter/blob/master/screenrecord.gif)### 视频演示
https://www.bilibili.com/video/BV1MH4y1j7aG### 博客
[将你用手机缓存的B站视频转换为mp4和ass弹幕](https://blog.bckun.top/posts/%E5%B0%86%E4%BD%A0%E7%94%A8%E6%89%8B%E6%9C%BA%E7%BC%93%E5%AD%98%E7%9A%84B%E7%AB%99%E8%A7%86%E9%A2%91%E8%BD%AC%E6%8D%A2%E4%B8%BAmp4%E5%92%8Cass%E5%BC%B9%E5%B9%95.html)## 自行构建
首先打包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/danmaku2assffmpeg是一款强大的开源音视频软件https://github.com/FFmpeg/FFmpeg