Jump to content

SubtitleCreator - Application to create subtitles.


BillOatman

Recommended Posts

BillOatman

SubtitleCreator is an open source NET8 console application to create subtitles either automatically after recording or manually.

It has versions that run under Windows as well as Linux, RasPi, and OSX ... though I have only ever tried Windows.

It can create a .SRT file, and optionally merge the video file and the SRT file into a MKV container. It can also optionally translate Spanish or French audio into English subtitles.

It uses Whisper.net and ffmpeg to make the magic happen.

set drive=%~d1
set folder=%~p1
set filename=%~n1
c:
cd\SubtitleCreator
SubtitleCreator -ffmpegpath="C:\ffmpeg\bin" -infile="%drive%%folder%%filename%.ts" -model=medium -nomerge

I have mine setup to run comskip first, then SubtitleCreator.

The link to the binaries and source are here.

Note that based on my testing, using the medium model does a great job. However, depending
upon the strength of your machine running this app, it can take quite a while to generate the
subtitles. My box is several years old and by no means a supercomputer but not a boat anchor
either, a recording that was 66 minutes in length took 60 minutes to generate the SRT file.

SubtitleCreator.pdf

Edited by BillOatman
  • Thanks 1
Link to comment
Share on other sites

rbjtech

Thanks Bill.

Does it only work on TS files - as I'm getting an error if I try and pass it a MKV using EAC3 Audio as input for example ?

From the log -

Unrecoverable exception extracting audio from the video file. The Media format is recognized but is invalid. (0xC00D3E8C)

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...