Skip to content

This project adds a context menu option for converting subtitles between different formats. It allows users to easily convert subtitle files (such as .srt, .sub, .ass, etc.) by right-clicking on them in the file explorer and choosing the conversion option from the context menu.

License

Notifications You must be signed in to change notification settings

Azornes/Convert-subtitles-Context-Menu

Repository files navigation

Convert subtitles Context Menu

Convert subtitle files to various formats directly from your Windows context menu.

Downloads PHP 8.3


This application adds options to your Windows context menu for converting subtitle files to various formats. It leverages the subtitles library for conversion operations.


preview:

🔥 Features

  • Seamless integration with Windows context menu
  • Support for multiple subtitle formats (SRT, VTT, and more)
  • Easy-to-use interface: right-click and convert
  • Preserves timing and formatting during conversion

📊 Supported Subtitle Formats

Show Table

For a full list of supported formats, please refer to the subtitles library documentation.

Format Extension Internal format name
SubRip .srt srt
WebVTT .vtt vtt
Scenarist .scc scc
Spruce Technologies SubTitles .stl stl
Youtube Subtitles .sbv sbv
SubViewer .sub sub_subviewer
MicroDVD .sub sub_microdvd
Advanced Sub Station .ass ass
Netflix Timed Text .dfxp dfxp
TTML .ttml ttml
SAMI .smi smi
QuickTime .qt.txt txt_quicktime
LyRiCs .lrc lrc
Comma separated values .csv csv
Plaintext .txt txt

🚀 Installation

  1. Download the latest release from the releases page.
  2. Run the ConvertSubInstall.bat

To uninstall, run the ConvertSubUninstall.reg file.

Caution

The program might stop working if you move the folder after installation.

🛠 Usage

  1. Right-click on a subtitle file in Windows Explorer.
  2. Navigate to the "Convert Subtitles" submenu.
  3. Choose the desired output format.
  4. The converted file will be saved in the same directory as the original file.

🧩 Dependencies

  1. PHP 8.3
  2. Subtitles library

🧑‍💻 Building from Source

If you prefer to build the project from source, follow these steps:

  1. Ensure you have PHP 8.3 installed on your system.

  2. Install Composer (if not already installed) from getcomposer.org.

  3. Clone the repository:

    git clone https://github.com/Azornes/Convert-subtitles-Context-Menu.git Convert-subtitles-Context-Menu
    cd Convert-subtitles-Context-Menu
    
  4. Clone the repository mantas-done/subtitles:

    git clone https://github.com/mantas-done/subtitles.git Lib
    cd Lib
    
  5. Install dependencies:

    composer install
    
  6. Move files from the directory where you installed PHP to Convert-subtitles-Context-Menu\Lib\php, OR edit the convert_subs.bat file to point to your PHP installation. If PHP is in your system's environment variables, you can find its location by running the following command in the command prompt:

    where php.exe
    

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

📞 Support

If you encounter any problems or have any questions, please open an issue on GitHub.


Remember to star ⭐ this repo if you find it useful!

About

This project adds a context menu option for converting subtitles between different formats. It allows users to easily convert subtitle files (such as .srt, .sub, .ass, etc.) by right-clicking on them in the file explorer and choosing the conversion option from the context menu.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published