Skip to content
This repository has been archived by the owner on Aug 23, 2024. It is now read-only.
/ webvtt-preview-tool Public archive

A tool to check WebVTT files against matching audio (MP3) or video (MP4) files

Notifications You must be signed in to change notification settings

OUP/webvtt-preview-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Audio transcript preview tool

If you're comfortable using Git and installing software like Node, read the instructions under the "Developer" heading below.

Otherwise, to run this tool you need to start a simple web server. This is a little easier on Mac than Windows. Please follow the instructions for your platform.

Windows

On Windows without admin rights, download the following portable open source server software:

http://miniweb.sourceforge.net/

Extract miniweb.exe to the current folder.

Then run start.bat. This should open Chrome and show the tool.

However, the IP address used by Miniweb is unpredictable. If the tool does not load, type the IP address listed in the "start.bat" command window into the address bar in Chrome e.g. 10.228.155.56:8000.

Mac

If you're on Mac or have Python 2 installed globally on Windows.

Navigate to this folder in the terminal. This can be done from Finder if you change a system preference.

Run the following command:

python -m SimpleHTTPServer 4000

Open http://localhost:4000/htdocs in Chrome.

Developer

Install Node and NPM:

https://docs.npmjs.com/getting-started/installing-node

Open a command prompt, navigate to this folder and run:

npm install

Then:

npm run dev

Finally, open http://localhost:4000 in Chrome.

Adding audio or video files

Add MP3/MP4 and matching VTT files to the AUDIO_AND_VIDEO_FILES directory.

Each file and its matching mp3 or mp4 should have exactly the same filename (only the ".mp3"/".mp4" or ".vtt" file extension should distinguish the files.)

Running a preview

In Chrome click "Choose Files" then navigate to the AUDIO_AND_VIDEO_FILES folder and open all the files. The preview should begin.

About

A tool to check WebVTT files against matching audio (MP3) or video (MP4) files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published