Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
1st October 2024, 23:21 | #1001 | Link |
Banana User
Join Date: Sep 2008
Posts: 1,016
|
Don't use settings you don't understand, your script is complete nonsense.
PHP Code:
Before: After:
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 1st October 2024 at 23:23. |
4th October 2024, 10:46 | #1002 | Link |
Registered User
Join Date: Sep 2024
Posts: 8
|
If someone could give some beginner-level advice on subtitle extraction, I'd be very grateful.
I very often come across old SD videos that have burnt-in subtitles that may still be useful. Those subtitles are often wanted by someone. So I set out from scratch to see if I could (learn how to) extract them. So to use an example: What settings would work best for example to extract from this video? Let's say https://www.youtube.com/watch?v=bJKq7SVNfkM for the simple reason that it's SD but has very legible subtitles. (I have some that are in worse quality but that's for later.) LWLibavVideoSource("C:\Swtools\Backanterna.mp4") InpaintDelogo(Loc="94,368,280,86", Show=4, DynMask=4, DynTune=160, DynMask4H=70, Extract=1, ImgDir="C:\Swtools") Thanks to VoodooFX I installed the required stuff including plugins and I can manage the 'loc' part and I'm extracting png files, like the attached example. But I could probably get better output, right? I've seen mentioned DynMask=5 and I guess in some cases I should specify something with DynColor with a hexadecimal value. (For example if the colours are different such, like on the arte channel: https://www.youtube.com/watch?v=vNwFwdEtpy0) How can I improve the script to get better results in cases like these? (Most of this stuff is new for me, so it's possible an exact argument has to be spelled out for me. But anything that gets me further on the rails I'll very much appreciate!)
__________________
This is nøt å signåture.™ |
10th October 2024, 13:35 | #1003 | Link | |
Banana User
Join Date: Sep 2008
Posts: 1,016
|
Quote:
Both videos are low quality, first learn the subs extraction with the high quality videos.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
|
10th October 2024, 15:47 | #1004 | Link |
Registered User
Join Date: Sep 2024
Posts: 8
|
Out of interest: Is there a specific reason to start with HD?
Meanwhile, if anyone has suggestions how to expand my first attempt above to get better results, I'm all ears.
__________________
This is nøt å signåture.™ |
10th October 2024, 20:00 | #1005 | Link |
Banana User
Join Date: Sep 2008
Posts: 1,016
|
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
11th October 2024, 11:25 | #1006 | Link |
Registered User
Join Date: Sep 2024
Posts: 8
|
So I have the greatest respect for your programming skills, but nevertheless I'd be interested in a more specific reference, or to be given/pointed to an example. Even "see post ##" would already be something. As before, you (the OP) can pass if it doesn't interest you.
As said, a lot of discussion concerns delogoing which is (probably?) irrelevant. The manual describes the functions but that doesn't directly lead to their application from my POV. (On a theoretical level, all information is already somewhere, but that is not how learning works. Otherwise all schoold etc. could close for good. We ALL (yes, OP included) have at one time or another asked questions that we could have found somewhere - in retrospect.) Let me change the question completely: Has anyone tried this (sub. extraction) on old VHS sourced material? If so, how did it go?
__________________
This is nøt å signåture.™ |
11th October 2024, 14:24 | #1007 | Link | ||
Banana User
Join Date: Sep 2008
Posts: 1,016
|
You already posted an example yourself, there -> https://forum.doom9.org/showthread.php?p=2007676
Which is a copy/paste from somewhere, with only Loc adjusted. Quote:
Quote:
PS: No need to post same things on the three different forums.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 11th October 2024 at 19:25. |
||
11th October 2024, 14:51 | #1008 | Link |
Registered User
Join Date: Sep 2024
Posts: 8
|
That's the whole point, isn't it: The example I gave is probably not the best possible outcome. That wouldn't make sense given your earlier demonstrations of results.Yes there is. On the other hand you definitely need not reply on all three. You don't even need to reply on one if you don't want.
(You're making it very hard. You yourself have on occasion also said something wrong or asked for information you could have found. How would you have liked to be put down for something like that?)
__________________
This is nøt å signåture.™ |
11th October 2024, 15:22 | #1009 | Link | |
Banana User
Join Date: Sep 2008
Posts: 1,016
|
Quote:
You need to adjust the script example to video. To be able to do that you need to read the manual. "The whole point": What prevents you reading the manual? You are implying here some nonsense, I've no idea why you post these fantasies.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; 11th October 2024 at 15:38. |
|
11th October 2024, 18:26 | #1010 | Link | |
Registered User
Join Date: Sep 2024
Posts: 8
|
Quote:
But I can give a completely serious answer, if it is a real question. Outside the technical dimension there might after all be things that you didn't think of yet.
__________________
This is nøt å signåture.™ |
|
11th October 2024, 18:45 | #1011 | Link |
Banana User
Join Date: Sep 2008
Posts: 1,016
|
This topic is outside of your dimension.
Go see the doctors, good luck.
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling |
Yesterday, 12:42 | #1012 | Link |
Registered User
Join Date: Sep 2024
Posts: 8
|
Well, I'm sorry you feel that way. There might be more to it then "RTFM", but as said, you're free to pass if explaining with examples is not up your alley - no-one could expect you to answer ALL questions.
Thank you for the help so far and see you in the waiting room then.
__________________
This is nøt å signåture.™ |
Yesterday, 20:32 | #1013 | Link | |
Registered User
Join Date: Apr 2022
Posts: 12
|
Hi,
I sent you a video, VoodooFX. I think the parameters are good, I have much better results than with VideoSubFinder, except that more than 30 subtitles are missing compared to VSF (https://www.subdiff.com/view-EgsS7cG5ej.html), and I don't understand why. I tried to play with SubMinDur, SubMinLuma and SubSusDur with no luck... Here is my parameters: Quote:
Thank you for your help. |
|
Today, 00:27 | #1014 | Link |
Banana User
Join Date: Sep 2008
Posts: 1,016
|
Hi, "Dyn3Seq=24" - it means that subs shorter than 1 sec [your video is ~24 fps] will disappear from a mask, so probably all those 30 subs are shorter than 1 sec.
Read about Dyn3Seq in the manual. And I would use such settings: Code:
InpaintDelogo(Loc="400,800,-400,-40", Show=4, DynMask=3, Dyn3Seq=18, DynTune=210, DynTEdge=1, DynTEdgeThY=15, DynTEdgeInf=4, DynLocUp=2, CorrTh=0.8)
__________________
InpaintDelogo, DoomDelogo, JerkyWEB Fixer, Standalone Faster-Whisper - AI subtitling Last edited by VoodooFX; Today at 00:39. |
Tags |
delogo, hardsubs, ocr, remove, watermark |
Thread Tools | Search this Thread |
Display Modes | |
|
|