SuperAPI AI Directory

video-subtitle-master - Open-source AI subtitle generation tool, supports batch generation of subtitles for videos or audio

Author: AI小集 · Original source: AI工具集

What is video-subtitle-master

video-subtitle-master is a tool capable of batch generating subtitles for videos or audio. Developed based on the open-source project VideoSubtitleGenerator, it supports batch generation of subtitles for videos or audio and translates subtitles into other languages. video-subtitle-master features a graphical user interface, is easy to operate, and supports multipletranslation services(such asBaidu Translate、Volcano Engine Translate, DeepLX, etc.), integrates whisper.cpp and fluent-ffmpeg, and optimizes performance. video-subtitle-master supports custom subtitle file names, translation content formats, and the number of concurrent tasks, making it suitable for both ordinary users and developers.

video-subtitle-master

Main features of video-subtitle-master

  • Batch processing:
    • Supports batch generation of subtitles for videos or audio.
    • Supports batch translation of subtitle files.
  • Subtitle translation:
    • Supports translating generated subtitles or imported subtitles into other languages.
    • Supports multiple translation services, including Baidu Translate, Volcano Engine Translate, DeepLX, Ollama local models, OpenAI-style APIs, etc.
  • Optimization and integration:
    • Integrates whisper.cpp, optimized for Apple Silicon, improving generation speed.
    • Integrates fluent-ffmpeg, no need to install ffmpeg separately.
    • Supports running locally installed whisper commands.
  • Custom features:
    • Supports custom subtitle file names for compatibility with different players.
    • Supports customizing the content of translated subtitle files, with options for pure translation results or original subtitles + translation results.
    • Supports selecting model download sources (domestic mirror sources or official sources).
    • Supports customizing the number of concurrent tasks.

Technical principles of video-subtitle-master

  • Speech recognition technology: Uses whisper.cpp or other speech recognition engines to extract text content from audio. whisper.cpp is a deep learning-based speech recognition model that can efficiently convert speech into text.
  • Subtitle generation: Based on the text content generated by the speech recognition engine, formats it into subtitle files according to timestamps (such as SRT or ASS format).
  • Translation service integration: Supports multiple translation services, translating subtitles into the target language by calling external APIs (such as Baidu Translate, Volcano Engine Translate) or local models (such as Ollama).
  • Graphical user interface (GUI): Developed with modern front-end technologies (such as Electron), providing an intuitive user interface for easy operation.
  • Backend processing: Uses Node.js and backend technologies to handle logic such as file reading, model loading, and task scheduling.

Project address of video-subtitle-master

Application scenarios of video-subtitle-master

  • Video creation and publishing: Helps creators quickly generate and translate subtitles, increasing the reach of their content.
  • Education: Adds subtitles to instructional videos to assist learning, especially for foreign language learners and students with hearing impairments.
  • Content localization: Translates video subtitles into multiple languages to meet the needs of different regions.
  • Personal entertainmentEntertainment: Generate and translate subtitles for movies, TV series, etc., to enhance the viewing experience.
  • Meeting notes: Generate subtitles for meeting or event videos, making it easier to organize and review.