Wojak Babel · realtime translator

Live subtitles for OBS

You talk into the microphone, Chrome recognizes your speech and translates it as you go. Captions and translation land straight on an OBS overlay for your Twitch or YouTube stream, and after the stream you can download them as an .srt for the VOD.

An improved version is now available: stream.wojak.works

01

Live

Speech

Translation

Download .srt gives timed subtitles for the VOD. Times count from the Recording start field, which fills in on the first Start. Set it to the stream's start time from your Twitch or YouTube dashboard.

The full transcript lives only in this tab. Stop and Start keep adding to it, but closing or reloading the tab erases it, so save it with Download before you finish. The overlay server gets finished lines, the translation together with the original, and deletes them a few seconds after Stop. Speech recognition in Chrome may send microphone audio to Google, unless you pick Recognition: on this computer only. Google Translate translates finished lines, while the draft is always translated by Chrome on your computer. With Translation: on this computer only, no text goes to Google.

02

OBS overlay

In OBS, add a Browser source with the address below and set its width and height to match the scene, e.g. 1920×1080. At the default 800×600 the captions wrap in a narrow strip or blur when stretched. Settings changes reach the overlay right away.

Open overlay

This address only displays captions, so if it leaks nobody can write on your overlay. Older addresses with room= in them did allow that. If you have one in OBS, click New key and paste the new address.

The fastest way to hide a slip on screen is an OBS hotkey. In the hotkey settings, assign keys to show and hide this source.

You can add settings for this source alone at the end of the address, e.g. &lines=2&align=center&valign=top (captions at the top of the screen) or &bg=00ff00 (green background for chroma key). They win over the settings below.

CC captions travel inside the stream itself, and viewers switch them on in the Twitch or YouTube player. In OBS, open Tools → WebSocket Server Settings, tick Enable WebSocket server and copy the port and password here. The password is not saved, because it gives full control over OBS, so type it again after reloading the page. The connection starts on Start, and Chrome may first ask for local network access. CC captions (CEA-608) know only the Latin alphabet with some accents, so Polish letters may drop out and Cyrillic or Japanese won't get through at all. They work best in English, Spanish, French and German.

The Text source is a second way into OBS: add a Text (GDI+) source in OBS, type its name here and set up the connection as for CC captions. It gets the last lines and the draft straight from this tab, without the overlay server, so it is faster and does not depend on the hosting. Rows and fading follow the settings above; set the font, color and outline in the source properties in OBS. Any alphabet gets through. An empty field turns this off.

03

Downloads

04

Privacy

No account, no cookies, no analytics, no ads. The overlay server gets only what the overlay shows and deletes it a few seconds after Stop. Speech recognition in Chrome may send audio to Google, unless you pick Recognition: on this computer only. Finished lines go to Google Translate, unless you pick Translation: on this computer only. Details, legal bases and your rights: privacy policy.