Skip to content

Releases: raffareis/VideoToSubtitle

v0.1.0-alpha

26 Jun 03:39
Compare
Choose a tag to compare
v0.1.0-alpha Pre-release
Pre-release

Unpack and run install.bat

The install.bat script is a Windows batch file that automates the installation process for the VideoToSubtitle tool. It performs the following tasks:

  1. Checks for administrator privileges and requests them if necessary.
  2. Verifies if .NET 7 is installed. If not, it downloads and installs it.
  3. Checks if FFmpeg is in the system's PATH variable. If not, it adds the FFmpeg path to the PATH variable.
  4. Grants permanent permission to execute VideoToSubtitle.exe without triggering the Windows SmartScreen.
  5. Asks for your OpenAI Whisper API Key and stores it as an environment variable.
  6. Adds context menu items for audio and video files, allowing you to easily transcribe or generate subtitles by right-clicking on the files.

Important Notes and Warnings:

  • This script requires administrator privileges to modify the system's PATH variable and add context menu items. Make sure to run the script as an administrator.
  • The script assumes that FFmpeg is located in the same directory as the install.bat file. If your FFmpeg installation is located elsewhere, you may need to modify the script accordingly.
  • Be cautious when running scripts from unknown sources. Always review the script's content before executing it on your system.