srt2ass is a tool for converting SRT subtitle files to ASS subtitle files. This project is written in C++20 and can be compiled and run in a Windows environment.
Follow these steps to install and configure the project:
-
Enter the project directory:
cd srt2ass -
Create and enter the build directory:
mkdir build cd build -
Generate build files:
cmake --build .
Alternatively, you can directly execute build.bat on Windows.
Enter the command in the terminal to convert a source file to a target file. For example:
srt2ass ./1.srtThis will generate a 1.ass file in the same directory.
Or:
srt2ass ./1.srt ../test.assThis will generate test.ass in the parent directory.