Abstraction of the bilibili closed caption (bcc) format.
Migrated to https://github.com/Apollonyan/subtitle
本项目已迁移至 https://github.com/Apollonyan/subtitle
.package(url: "https://github.com/Apollonyan/bcc.git", from: "1.0.1")
A tool to convert srt (subrip) files to bcc files.
- Make sure you have Swift installed. Follow the official installation guide.
- You may choose to download Xcode from the Mac App Store if you have macOS.
- If you have Windows, get Windows Subsystem for Linux, then follow the official guide.
- Run the following commands in Terminal or other command line interface applications:
git clone https://github.com/Apollonyan/bcc.git
cd bcc
swift run 2bcc path_to_your_actual_file.srt
In most cases, you can just drag and drop your file after the word 2bcc
to supply its path.