Status
Brak możliwości dodawania odpowiedzi.

Silas Mariusz

rm -rf /
Help us, GOD!
5 Kwiecień 2008
10 801
2 762
405
Odznaki
205
Nowy Sącz
forum.qnap.net.pl
QNAP
TS-x77
Ethernet
1 GbE
Poz.
6
 
Rtorrent 16 translates a film's subtitles and reads them aloud as a voice-over. In Poland this kind of voice-over is called a lektor: one voice reads the translation over the quieter original sound. Quickly create film with voice-over in Files does it in one step and saves a new MKV file next to the film. In the Media studio, Create new voice-over track gives you a track to edit yourself. Without an API key everything runs on the NAS, free. With your own key, OpenAI or ElevenLabs translates and reads, and charges for it; the table below shows what one episode costs. This tutorial covers version 16.27-12V and later. The Rtorrent 16 guides have the details, linked at the end.


Examples
Crank: the film's English subtitles translated into Polish, voice-over by OpenAI (voice onyx).

Source: Crank (2006), Lakeshore Entertainment, Lions Gate Films. 16 s excerpt for this tutorial.

Casino Royale: this copy has Polish subtitles only, so the studio first turned the English speech into subtitles (ElevenLabs). It then translated them into Polish. An ElevenLabs voice reads them (voice Piotr).

Source: Casino Royale (2006), Eon Productions. 16 s excerpt for this tutorial.

I made these clips by hand in the Media studio of version 16.27-12J, with OpenAI's translation. The voice starts reading with each subtitle, and the original plays 12 dB quieter. Version 16.27-12V places and mixes the voice differently (see below). For the forum the clips are MP4: I burned the Polish subtitles into the picture, mixed the 5.1 sound down to stereo, made it louder and put a DO NOT COPY mark in the corner.


The same scene in Italian and French
These clips also come from version 16.27-12J. I translated the same English subtitles into Italian and French, and ElevenLabs voices from its Voice Library read them: MarcoTrox for Italian and Nicolas for French. For Casino Royale the source is the same ElevenLabs transcription. The Italian lines run longer, so the Italian clips last 17 s.

Crank in Italian

Source: Crank (2006), Lakeshore Entertainment, Lions Gate Films. 17 s excerpt for this tutorial.

Crank in French

Source: Crank (2006), Lakeshore Entertainment, Lions Gate Films. 16 s excerpt for this tutorial.

Casino Royale in Italian

Source: Casino Royale (2006), Eon Productions. 17 s excerpt for this tutorial.

Casino Royale in French

Source: Casino Royale (2006), Eon Productions. 16 s excerpt for this tutorial.


What you need
  • Rtorrent 16 16.27-12V or later.
  • An MKV film with text subtitles, inside the file or next to it (SRT, ASS, SSA, WebVTT). Picture subtitles (PGS, VobSub) have no text to read.
  • An OpenAI or ElevenLabs API key only if you want that service to do the work. Without a key the NAS translates and reads by itself. It has Polish, German, Dutch, Swedish, French and Italian voices.


Quickly create film with voice-over
  1. Keys, if you want them. Open Media library and scroll to AI translation and speech. Paste your key into OpenAI API key or ElevenLabs API key and press Save and check. The line under the field says The key works. The same part sets the defaults: Subtitle translation, Speech synthesis (subtitles → speech) and Voice. Without a key the built-in engine does the work: Argos translates English into Polish, and the voice darkman reads. Once you save a key, its service is the default; choose the built-in engine in these fields, or for one job under Advanced in the window.
    tut12v-en-01-ai-translation-speech.webp
  2. The window. In Files, open the film's menu and choose Tools › Quickly create film with voice-over.
    tut12v-en-02-tools.webp
  3. The subtitle check. The window picks the Subtitles, the Target language and the Audio track for you; you can change any of them. Before anything is translated or read, the NAS compares the times of the subtitles with the speech in the film. When they fit, the window says "The subtitles match the film's speech." When they are out of time, it says by how much, with Match to speech and Keep as they are right under it. Subtitles that are out of time, or made for another version of the film, do not go to OpenAI or ElevenLabs until you choose what to do with them. The lines under the fields say who translates and who reads, how much text the service gets, what the new file is called and how much space it needs. In the picture the built-in voice reads the film's Polish subtitles over its English track, so no translation is needed.
    tut12v-en-03-quick-film.webp
  4. The new film. Press Create film. The job shows at the foot of the page as Creating film with voice-over · Polish, with Stop. The new file Film - Polski (lektor).mkv appears next to the film. It holds every track of the film, a new default audio track Polski (lektor) and the translated subtitles. The film itself does not change, so a torrent keeps seeding it.

How the voice reads:
  • Each line starts 0.85 s after its subtitle, as with the Polish voice-over readers we measured on real films. A long line starts sooner, at the earliest with its subtitle.
  • Two lines are never heard at once. A line that does not fit is made at most 1.1 times faster, with its pitch kept. A short line of up to three words, such as "Yes." or a name, is left out when there is no room for it; you still hear it in the film's own sound.
  • When OpenAI translates, a line too long for its time gets a shorter text before it is read. A Polish line translated on the NAS is shortened on the NAS the way a voice-over reader shortens it: fillers such as "No," or "Słuchaj," go first. A line that still does not fit ends at a pause.
  • The film plays 6.5 dB quieter all through, with the voice in the centre channel (in both front channels on stereo). Four of six Polish voice-over tracks we measured are mixed this way. In the Media studio this is the profile Classic voice-over.
  • Run the job again with the same voice and you pay only for subtitles not read yet. The NAS keeps the subtitles it read for 30 days after their last use, and readings from your ElevenLabs account's history cost nothing. To redo lines read badly, open the window again and press Read subtitles again. The NAS then reads only the ones you tick.


In the Media studio: a track to edit yourself
  1. In Files, open the film's menu and choose Media studio in the Tools group. The studio leaves the film as it is and keeps your edits in a project file next to it. To work on one scene, cut the rest of the film away with Ctrl+K and Shift+Delete.
  2. Right-click the header of a subtitle track. Translate subtitles adds a new track under it in the language you pick, with the same times. The switch Preview voice-over reads the subtitles aloud as the film plays and saves nothing. If the film has no subtitles in its own language, make them with Create subtitles from speech in an audio clip's menu; that needs an OpenAI or ElevenLabs key.
    tut12v-en-04-track-menu.webp
  3. In the same menu, choose Create new voice-over track, pick a Voice and press Create track. The window says who reads and, when OpenAI or ElevenLabs reads, how much text the service gets. The NAS saves the speech as a FLAC file next to the project, and the studio adds it as a new track, placed the same way as in Quickly create film with voice-over. You can move, trim or delete each line like any clip.
    tut12v-en-05-voice-over-track.webp
  4. Right-click the new track's header, choose Mix over the original sound and the film's track, such as A1. Voice-over profile in the same menu sets how the film is lowered: Classic voice-over (the default, the film 6.5 dB quieter all through), Film ducked under the voice, Quiet voice-over or Film lowered slightly under the voice.
  5. Press Save as MKV. Tick the lines under Not kept or changed and press Save. A new file appears next to the film, such as Film (edit).mkv.


What one episode costs
The built-in engine costs nothing. OpenAI and ElevenLabs charge for the text they translate and read. The example is an episode of Halt and Catch Fire (S03E03, 42 minutes) with English subtitles for the deaf, read into Polish. The translation gets 694 subtitles (23,866 characters). The voice reads 651 of them (21,417 characters of Polish), since it skips sound descriptions and songs. Prices of 14 November 2026, in US dollars, from OpenAI's pricing page and ElevenLabs' API pricing page.
Translation and voiceOne episode (42 min)
Built-in, on the NASfree
Built-in translation, ElevenLabs Eleven v4 Turbo0.86
Built-in translation, ElevenLabs Eleven v41.71
OpenAI GPT-6 Luna and GPT Audio 1.5about 2.80
OpenAI GPT-6 Astra and GPT Audio 1.5about 3.35
A two-hour film costs about 2 to 3 times as much, depending on how much dialogue it has: about 1.70 to 2.50 USD with Eleven v4 Turbo, 3.40 to 4.90 with Eleven v4 and 5.60 to 9.60 with OpenAI. The low end is dialogue as dense as in Crank, the high end as in this episode. The OpenAI amounts are estimates; your OpenAI usage page shows the exact one.


The translation in the clips
The model can word a line differently on each run. The tables show the lines in the clips.
English (the film's subtitles)AI translation (gpt-6-luna)The film's own Polish subtitles
It's like I'm slowing down. You know, I'm caught in a tar pit.Jakby wszystko zwalniało. Wiesz, jakbym ugrzązł w smole.Jakbym zwalniał, pływał w smole.
-Blurred vision? -Yeah.-Masz zamazany obraz? -Tak.Nieostre widzenie?
-Dizzy? -Sure.-Kręci ci się w głowie? -Jasne.Zawroty głowy?
-Any pain in your chest? -Not really.-Boli cię w klatce piersiowej? -Nie bardzo.- Bóle w klatce piersiowej? - Raczej nie. Czuję się dość dobrze.
Actually, I'm feeling pretty good right now.Właściwie teraz czuję się całkiem dobrze.(together with the line above)
What are you doing?Co robisz?Gdzie jesteś?
Driving through a mall. Cops chasing me.Jadę przez centrum handlowe. Gonią mnie gliniarze.Jadę przez galerię handlową, uciekam glinom.
English (ElevenLabs transcription)AI translation (gpt-6-luna)The film's own Polish subtitles
I'm the money?To ja wykładam pieniądze?Ja to pieniądze.
Every penny of it.Co do grosza.Każdą częścią.
The treasury has agreed to stake you in the gameSkarbiec zgodził się postawić na ciebie w tej grze.Ministerstwo Finansów zgodziło się wystawić cię do gry.
The transcription treated the first line as a question, and the translation followed it. "Skarbiec" (a treasure vault) is the model's mistake; the film's subtitles say "Ministerstwo Finansów" (the ministry of finance).


Notes
  • On the built-in engine nothing leaves the NAS. When OpenAI or ElevenLabs translates or reads, only the text of the subtitles leaves it; for Create subtitles from speech, the clip's audio does. The video never leaves the NAS.
  • Read an AI translation through before you save. Double-click a subtitle in the studio to fix it.


Guides (in the Rtorrent 16 panel, on the Guides page):
Files, the part "Quickly create film with voice-over"
Media studio, the parts "AI translation and speech", "What a voice-over costs" and "AI subtitle translation and an AI voice-over, step by step"
Polska wersja: Rtorrent 16: tłumaczenie napisów przez AI i lektor AI w Studiu
 
Status
Brak możliwości dodawania odpowiedzi.