__ ___ ____
\ \ / / \ / ___|
\ \ / / _ \ \___ \
\ V / ___ \ ___) |
\_/_/ \_\____/
VAS helps to automatically generate .srt
subtitle file for video, so you can further adjust and edit it.
Utilize ffmpeg silence detection to get silence parts, then use sed
and awk
to extract text data, then nodejs
process these data and write a .srt
file for your further customization.
Make sure you have ffmpeg
, sed
, awk
and nodejs
installed. Clone this repo, run
node dist/index.js -h
to see the help.
Some examples are like:
node dist/index.js -v video.mp4
then wait some time (very likely not a short time with intensive cpu consumption, largely due to ffmpeg) and you'll see output.srt
under the directory.