mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-03 21:23:48 +00:00
[BUG] Burned-in subtitles failed / killed when detect italics #638
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Hayholten on GitHub (Jun 8, 2021).
Hello everyone !
Hope you are wel ;)
CCExtractor version:
CCExtractor detailed version info
Version: 0.87
Git commit: Unknown
Compilation date: 2018-11-30
File SHA256: Could not open file
Libraries used by CCExtractor
Tesseract Version: 4.1.1
Leptonica Version: leptonica-1.79.0
libGPAC Version: 0.7.2-DEV
zlib: 1.2.11
utf8proc Version: 2.5.0
protobuf-c Version: 1.1.1
libpng Version: 1.6.34
FreeType
libhash
nuklear
libzvbi
In raising this issue, I confirm the following:
Necessary information
ccextractor input.mp4 -ocrlang fra -out=webvtt -nobom -utf8 --nofontcolor -hardsubx -subcolor white -detect_italics -conf_thresh 60
Video links
https://drive.google.com/file/d/1ef-iiBtucK7qZQGzMuKMPsPn7ZBJp203/view?usp=sharing
Additional information
So here's the problem.
Everything starts well with CCExtractor until it encounters italic subtitles. In my example, it starts at 06:41 and every time, regardless of the settings, the process seems to be killed. Here is the log of my command:
Can you help me with this problem? I should point out that even when I don't ask for italics, the issue still appears.
Thank you very much for your feedback.
@canihavesomecoffee commented on GitHub (Jun 8, 2021):
Have you tried with the latest version (0.88), or tried on the current master? The issue might be fixed on there already :)
@cfsmp3 commented on GitHub (Jun 8, 2021):
This is fixed on master:
@Hayholten see result file (attached).
Lifechanger-vtt.zip
@Hayholten commented on GitHub (Jun 8, 2021):
Hello again,
Many thanks for your answers ;)
@cfsmp3
Unfortunately, I tried everything to install a more recent version using the 3 proposed solutions.
I'm having a lot of problems with permissions, etc. I specify that I use a VM on Amazon AWS3. Could you help me?
Example:
@cfsmp3 commented on GitHub (Jun 8, 2021):
@Hayholten Did you just clone that repo from master on a directory or was it unzipped or something strange?
That error mensajes that pre-build.sh is not executable (but it would be if it was a git clone).
Probably
Will fix that specific problem.
@Hayholten commented on GitHub (Jun 8, 2021):
@cfsmp3
Indeed, I had tried the installation by downloading the package and not by cloning the master.
Now, CCExtractor is installed ;)
But I still have a problem. When I run my command, I get the following message:
I tried to solve the problem by runing the command:
And here is the result. A problem of library it seems to me...
@cfsmp3 commented on GitHub (Jun 8, 2021):
@Hayholten Make sure you read the relevant document - docs/HARDSUBX.TXT or something like that, it explains what you need to install.
@Hayholten commented on GitHub (Jun 9, 2021):
@cfsmp3
It took me hours (I am far from being an expert) but I think I am close. I first reinstalled FFmpeg because I use it a lot for other tasks.
It is present:
Use -h to get full help or, even better, run 'man ffmpeg'
However, I still have an error that I can't identify:
Thanks again for all your help ;)
@cfsmp3 commented on GitHub (Jun 9, 2021):
Typically that means that the input file doesn't exist or is not readable.
@Hayholten commented on GitHub (Jun 9, 2021):
Hi @cfsmp3,
Thanks for your feedback.
It is however exactly the same file that you tested :/ And I have the same problem when testing with others.
When I go back to the procedure, I think that the "./build_hardsubx" did not work properly:
Not being an expert, it was much easier for me to run a "sudo apt install" (that's why I was working on the old version).
But I'm still investigating ;)
@Hayholten commented on GitHub (Jun 9, 2021):
Hi everyone ;)
Spend half a day to figure how to install CCExtractor.
Unfortunately, nothing...
I checked what I could and everything seems to be installed but whatever file I used, error :/
I use Ubuntu focal. Do you know if there is a method to install the software via another distribution?
Like tis one: https://packages.ubuntu.com/groovy/ccextractor
It's much easier to install and all the dependencies are done automatically, if I understand correctly.
And for info:
Thanks ;)