Skip to content

VoxCap is a simple JavaScript tool for narrating text and adding closed captions to your videos.

License

Notifications You must be signed in to change notification settings

thiagosanches/voxcap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

voxcap

VoxCap is a simple tool for narrating text and adding closed captions to your videos. Whether you're creating educational content or sharing information about technologies, VoxCap enhances the viewer's experience by providing both audio narration and text captions. The concept was to emulate the style of TikTok videos. There are probably cooler/better ways to do this, but I just wanted to give it a shot, and it turned out to be kinda fun!

image

The primary objective is to utilize it with OBS by employing the Browser Source component.

Requirements

  • Web browser (tested on Mozilla Firefox).
  • Google Cloud Text-To-Speech API key.

How to use it ?

git clone https://github.com/thiagosanches/voxcap.git
  • Open your OBS instance.
  • Add a Browser source component and point to the index.html (as a local source).
  • Drag and drop it wherever you want. Personally, I toss it at the bottom of the video to hide the 'play' button. But, if you hit 'Interact' in OBS, you can click on the 'play' button to kick off both the audio and closed captions.
  • Kick off your recording.

How to set it up ?

You need to modify lines 61 and 62 by replacing the placeholder values with your API key and the desired text.

Examples

  • You can see this video here where it uses this little tool.

TODO

  • Please improve the code as soon as possible! I only did it as a Proof of Concept, but it definitely needs some love.

About

VoxCap is a simple JavaScript tool for narrating text and adding closed captions to your videos.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages