motiz88 / vlc-plugin-sapispeechsynthesizer

Lets VLC read subtitles aloud using SAPI text-to-speech on Windows
MIT License
4 stars 0 forks source link

NOTE: A version of this plugin was merged into VLC itself in 2015. This repo is now deprecated. Thanks for having a look! The original README follows below.


vlc-plugin-sapispeechsynthesizer

A VLC plugin that reads subtitles aloud using Microsoft SAPI on Windows.

This repo is very much in its initial stages. I am also new to VLC plugin development, and it probably shows.

Luckily, between the existing VLC speech synthesis plugin for OS X, and various other plugins that provided solid examples for the use of COM from within VLC's heavily multithreaded guts (which could have been a nightmare otherwise), I managed to put together something that actually works.

Usage

Put the .dll in VLC's plugins/text_renderer directory. Use VLC's configuration dialogs or command line to activate the plugin by name (sapispeechsynthesizer), load a video that has a subtitle track and it will (hopefully) start talking.

Building

Honestly, I barely got this thing to build myself. Other than give some disorganized pointers, the most I can do is point you to the VLC wiki pages about writing modules and compiling out-of-tree modules. I will gladly accept PRs to sort out the build process and/or improve the following ad-hoc documentation.

So, some pointers that worked for me (but YMMV):