Extract hardcoded subtitles to SRT

All hardware and software related discussion topics here. Advice, discussion and opinions on either topic are welcome.
User avatar
Night457
Global Moderator
Posts: 8825
Likes:
Joined: Sat Dec 28, 2019 3:44 pm

Extract hardcoded subtitles to SRT

Post by Night457 »   2 likes

ghost wrote: Sat Jun 07, 2025 8:18 am BTW: I found a new program for extracting hardcoded subtitles.

Video Subtitle Extractor: https://github.com/YaoFANGUK/video-subtitle-extractor

You get a srt file just with one click and it does a very good job. The default gui is in chinese, but you can change it to English.
User avatar
Alex_kaplan
Posts: 617
Likes:
Joined: Sun Sep 22, 2024 3:19 pm

Re: Extract hardcoded subtitles to SRT

Post by Alex_kaplan »   0 likes

Who can help me to extract hardcoded subtitles from this French movie, - just I can not find anywhere in the network subtitles to this French movie, also the quality of Full HD everywhere premium, the only version found in the network 720p, would be very grateful for subtitles (subtitles in Thai )

La Belle Bleue (2023) France

https://iplayerhls.com/in018e55knx8

[Image]
User avatar
DreamScape
Posts: 1059
Likes:
Joined: Tue Sep 15, 2020 7:06 am

Re: Extract hardcoded subtitles to SRT

Post by DreamScape »   1 likes

I haven't tried the new tool yet, but I generally avoid OCR'ing text that I can't even type on my keyboard. There's just too much error correction that needs to be done even in the most optimistic case.
User avatar
ghost
Site Admin
Posts: 11353
Likes:
Joined: Sun Mar 07, 2004 1:00 am

Re: Extract hardcoded subtitles to SRT

Post by ghost »   0 likes

DreamScape wrote: Mon Jun 09, 2025 10:02 pm I haven't tried the new tool yet, but I generally avoid OCR'ing text that I can't even type on my keyboard. There's just too much error correction that needs to be done even in the most optimistic case.
It worked pretty well for me, only with a few corrections to do.

It's at least a better solution than VideoSubFinder. And it's a lot less work.
User avatar
Alex_kaplan
Posts: 617
Likes:
Joined: Sun Sep 22, 2024 3:19 pm

Re: Extract hardcoded subtitles to SRT

Post by Alex_kaplan »   0 likes

DreamScape wrote: Mon Jun 09, 2025 10:02 pm I haven't tried the new tool yet, but I generally avoid OCR'ing text that I can't even type on my keyboard. There's just too much error correction that needs to be done even in the most optimistic case.

Yes, about the accuracy of these subtitles I do not know, this language for me also like Chinese (characters) - I just thought as Night457 wrote in the previous post - you get the STR file and then translate it into English text using such online applications :roll:

https://www.onlinedoctranslator.com/app ... ionprocess
User avatar
Night457
Global Moderator
Posts: 8825
Likes:
Joined: Sat Dec 28, 2019 3:44 pm

Re: Extract hardcoded subtitles to SRT

Post by Night457 »   0 likes

Please note that I created this thread to make it easier to find information about this software for future FLM searchers, and discuss it as needed. I do not actually know anything about this software myself! My post simply QUOTED what ghost had already posted in another thread. I know he makes good software recommendations.
User avatar
ghost
Site Admin
Posts: 11353
Likes:
Joined: Sun Mar 07, 2004 1:00 am

Re: Extract hardcoded subtitles to SRT

Post by ghost »   2 likes

To make it clear: This software is only for extracting hardcoded subtitles to a srt file. No translation.

As I wrote before: You can change the GUI language to English.
voyagerabba
Posts: 29
Likes:
Joined: Fri May 30, 2025 9:31 am

Re: Extract hardcoded subtitles to SRT

Post by voyagerabba »   2 likes

Many thanks. I was just looking for this.

Downloaded CPU version which is much smaller. Before using, I opened "settings" file with Notepad and changed Chinese lines as below and saved the file:
Interface = English
Language = eng

Then opened GUI in English, choosed the language of my hardcoded subtitles (from Settings) and clicked Run:
[Processing] Start to extract subtitle information, this step may take a long time, please be patient...
It took 40 minutes to extract hardcoded subtitles from a 2-hour-TV-record.

SRT file created in the same folder with the video.

Good results. No time errors.

Some language errors to be manually corrected, most of them are unnecessary spaces between characters.
User avatar
DreamScape
Posts: 1059
Likes:
Joined: Tue Sep 15, 2020 7:06 am

Re: Extract hardcoded subtitles to SRT

Post by DreamScape »   0 likes

ghost wrote: Mon Jun 09, 2025 10:37 pm It worked pretty well for me, only with a few corrections to do.

It's at least a better solution than VideoSubFinder. And it's a lot less work.
With Dutch, I had extra spaces in nearly every line.

I notice with English things went much more smoothly.

In fact, the issue with Dutch is that the AI wants to split Dutch words into smaller English words. Perhaps it has been over-trained.

Have you seen something similar or am I doing something wrong?

It does have a hell of time with parenthesis too, skipping many of them and adding unnecessary spacing.

It is funny how desperate it is to read letters off of t-shirts and how crazy it gets if someone is reading a newspaper.
User avatar
ghost
Site Admin
Posts: 11353
Likes:
Joined: Sun Mar 07, 2004 1:00 am

Re: Extract hardcoded subtitles to SRT

Post by ghost »   0 likes

With Dutch, I had extra spaces in nearly every line.
I never had this issue before, but this can easily be fixed with SubtitleEdit (Spell check, fix common errors...).

I've also tried it with a different language than English (was it Spanish?) and the result was pretty good.

What I noticed is, that some periods at the end of sentences are skipped. But think of VideoSubFinder: You offen get resuts like)/z8hf.$kjsjk...
All in all I think this software does a pretty good job. Of course it's not perfect.
It is funny how desperate it is to read letters off of t-shirts and how crazy it gets if someone is reading a newspaper.
Use the fast mode. The accurate mode went crazy for me too.
Post Reply