This is a Node application that processes caption files from Google, Android and Chrome Developer channels to create readable transcripts.
The code could easily be adapted to work with caption files from other playlists.
Try it out at devsearch.me/search.
- Clone or download the code.
- Add your SRT caption files to the input directory.
- From a terminal
cd
to thesrc
directory and runnode index.js
, optionally setting flags (see below). - Progress updates and errors will be logged to the console.
- When conversion is complete, view the results from index.html in the output directory, the directory used for GitHub Pages. This directory includes a CSS file and a JavaScript file to style the transcripts and enable interaction.
- When you clone the repo, the input and output directories contain sample files.
- You can customize input and output directories — see flags below.
Check for errors in error-log.txt.
-a, --append Append output to existing files in output directory
-c, --index Create index page linking to standalone transcripts
-h, --help Show help
-i, --input Input directory, default is [_input_](src/input)
-o, --output Output directory, default is [_output_](src/docs)
-s, --search Create search index
- Please file an issue including input files where relevant.
- See the TODO file for work in progress.
This widget is no longer supported and the language selection popup is not laid out responsively.
Probably best to remove unless the layout can be fixed (others have tried!)
Please note that this is not an official Google product.