VideoHelp Forum
+ Reply to Thread
Page 3 of 3
FirstFirst 1 2 3
Results 61 to 69 of 69
Thread
  1. Video Damager VoodooFX's Avatar
    Join Date
    Oct 2021
    Location
    At Doom9
    Search PM
    Originally Posted by Spiny Norman View Post
    So that's all done. The video now starts playing, except that it looks like it's 2 bit quality. (Probably supposed to.)
    Now find HD video with subtitles as Hypocrites1915 doesn't have any.
    It's black and white mask, a good mask is when you see only subtitles but don't see any other things.


    Originally Posted by Spiny Norman View Post
    Is the following correct?
    No.
    Extraction is activated with "Extract=1" parameter.
    Quote Quote  
  2. Originally Posted by VoodooFX View Post
    Now find HD video with subtitles as Hypocrites1915 doesn't have any.
    It's black and white mask, a good mask is when you see only subtitles but don't see any other things.
    It has title cards (intertitles), and automated extraction could really speed things up for those as well.
    Originally Posted by VoodooFX View Post
    Extraction is activated with "Extract=1" parameter.
    If you'd use a script for this example, what would it look like?
    Last edited by Spiny Norman; 19th Sep 2024 at 14:58.
    This is nøt å signåture.™
    Quote Quote  
  3. This is what I've got so far:

    LWLibavVideoSource("C:\Swtools\Hypocrites1915.mp4" )
    InpaintDelogo(Loc="60,80,360,180", Show=4, DynMask=4, DynTune=160, DynMask4H=70, Extract=1, ImgDir="C:\Swtools\")

    That at least creates a file ~SubsMask2Img_FrameDB_20240920_125431_764.DB and a lot of image files. Some are false positives but others are promising, like the attachment.

    How could I improve this further? I can also find a proper subtitle example (in colour) if that helps.
    Image Attached Images  
    This is nøt å signåture.™
    Quote Quote  
  4. Originally Posted by VoodooFX View Post
    Hypocrites1915 doesn't have any subtitles, learn it with normal video.
    That's what you said before, but I just posted a screenshot of a title card, so doesn't that prove that it's not impossible? Silent movies are a niche but they need OCR and translation too.

    Anyway, it doesn't matter because there's plenty of other material. Something in colour then. Let's say this video: https://www.youtube.com/watch?v=rS-29jqkDUo
    The resolution isn't terribly high, but to be honest that's really where a good script can make a difference. HD hard coded subs are crystal clear and even the GUI solution can get those in accurately.
    This is nøt å signåture.™
    Quote Quote  
  5. Hopefully you are still willing to help with this example. It is exactly in this resolution and quality (sometimes even worse, but not often better) that I have many videos that would be so handy to OCR the subtitles from. In other words, if I can get this to work well, then it could really be extremely useful.

    The results that I get are very promising but seem halfway there. This is the full script:

    LWLibavVideoSource("C:\Swtools\Backanterna.mp4")
    InpaintDelogo(Loc="94,368,280,86", Show=4, DynMask=4, DynTune=160, DynMask4H=70, Extract=1, ImgDir="C:\Swtools\")

    I get for example this screenshot:
    Image Attached Images  
    This is nøt å signåture.™
    Quote Quote  
  6. Video Damager VoodooFX's Avatar
    Join Date
    Oct 2021
    Location
    At Doom9
    Search PM
    You are just copy/pasting same command for different videos, do you think it somehow magically will work for everything?
    Help you with reading the manual or what?

    Told you already, start doing things with "HD hard coded subs are crystal clear" videos, when you have crystal clear understanding what you are doing with them then you can go for the difficult videos.

    Now you are asking help to drive a car when you can't even enter it...
    Quote Quote  
  7. Originally Posted by VoodooFX View Post
    Now you are asking help to drive a car when you can't even enter it...
    Quite so; I used that analogy myself when discribing this conversation to others.

    Because it's also like the driving instructor won't demonstrate some essentials just by showing what it should look like. You praised this method as much better by all standards than whatever GUI there currently was. I want to see it in action on mediocre videos, because that's where a superior technology can make all the difference. I'm not sure if that's such a bad test case (just like I'm not sure that it won't work on silent movie title cards).

    You could say for example, "my script for that video would look like this, because of these particulars (colours, shapes, background etc.)".

    Explaining by example (problem- or case-based to to speak) could have saved you a lot of time as well (e.g. now you had to tip me to use LWLibavVideoSource instead of AVIFileSource).

    Or, please point me more precisely to where that information is found, then I'll thank you, and start reading. If it's there, then I missed it. (Do you mean the Doom9 forum thread? That's 50 pages and a lot of it is concerned with removing logos.)
    This is nøt å signåture.™
    Quote Quote  
  8. Video Damager VoodooFX's Avatar
    Join Date
    Oct 2021
    Location
    At Doom9
    Search PM
    You had plenty of demonstrations 3 years ago, where did that led?

    Originally Posted by Spiny Norman View Post
    Explaining by example could have saved you a lot of time as well (e.g. now you had to tip me to use LWLibavVideoSource instead of AVIFileSource).
    Not doing your work saved me plenty of time already. Keep refusing to follow my instructions and it will save me even more time.
    Btw, you was told about LWLibavVideoSource 3 year ago, but you was too lazy to read few pages back...

    Originally Posted by Spiny Norman View Post
    Or, please point me more precisely to where that information is found, then I'll thank you, and start reading. If it's there, then I missed it. (Do you mean the Doom9 forum thread? That's 50 pages and a lot of it is concerned with removing logos.)
    The manual is at the top of the script, read about "DynMask" stuff, reading the forums may help too.

    Originally Posted by Spiny Norman View Post
    ... a superior technology...
    Your knowledge on the topic is lagging a lot, today's superior technology is AI based.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!