Log in

View Full Version : Help with subrip pls


Dymblos
25th June 2019, 23:43
Im trying to extract subtitles from an hardsubs video
I know how to OCR... the last time i use this program was back in 2012 (W7) and works fine..

But now im trying again and i get an error.. I do not know how to solve

The video file is in MP4,. after reading some forums, some ppl say i have to convert to AVI, so i already do that and the same error

LoadPlugin("d:\data\dgdecode.dll")
DirectShowSource("C:\Users\xxxxx\Desktop\Video\asd.mp4", 23.976, true, false, true)
ConvertToRGB24()


I dont know why that log aim to "d:" hard drive.. there is just a few documents there.. not any dgdecode.dll.. <- i do not know what is that dll

Alsoiinstalled Avisynth 2.6.0 and still the same result
btw I do not know if this install the 64bits or 32bits.. or just dosen't matter

Im using Windows 10 x64

ChaosKing
25th June 2019, 23:56
Avisynth+ is recommended now https://github.com/pinterf/AviSynthPlus/releases/tag/r2772-MT
If you google "dgdecode" the first page has all the info you need http://avisynth.nl/index.php/DGDecode
And for DirectShowSource you dont need dgdecode at all (you can delete this line)

Subtitle Edit https://www.nikse.dk/subtitleedit/ has great OCR support (via tesseract). You should try it.

Dymblos
26th June 2019, 00:39
AviSynthPlus-MT-r2772.exe
or this AviSynthPlus-MT-r2772-with-vc_redist.exe
about the dgdecode.. if you see the error log: LoadPlugin("d:\data\dgdecode.dll")
d: hard drive is almost empty.. just a few doc files (games guides).. nothing more.. Why the program try to load that plugin from there? I dont even know if I have that installed :S

What you mean delete this line?.. the little windows that open the program when I try to open the video files can be deleted.

I have that program, Subtitle Edit.

Dymblos
26th June 2019, 00:43
After installing the Avi + and try to open the avil file, this ask about using directshow instead avysinth.. select no
Then got this error:

OpenDMLSource("C:\Users\xxxxx\Videos\01.avi", false)
ConvertToRGB24()

After press Ok.. a Warning

"No suitable compressor could be found to give RGB32 images"
If the video does no appear in the video windows, recompress

ChaosKing
28th June 2019, 22:07
"No suitable compressor could be found to give RGB32 images"


It probably means that you're missing the correct video codec. Try ffms2 instead of opendmlsource. (ffms2 is a plugin)

Why do you need avisynth? Subtitle Edit should open videos without avisynth.