CCExtractor / ccextractor

CCExtractor - Official version maintained by the core team
https://www.ccextractor.org
GNU General Public License v2.0
721 stars 426 forks source link

[BUG] Issue 1077 Still lives #1576

Open GlowTube opened 1 year ago

GlowTube commented 1 year ago

In raising this issue, I confirm the following:

Necessary information

Additional information

I do a lot of ccextracting of .ts files via a pipeline of bash scripts. 99% of the time this works perfectly, but 1% of the time ccextractor produces a zero length .srt file as described in issue 1077 (which is marked as closed). My script detects this condition and does 'n' retries spaced at 1-minute intervals, but the zero-length output file is reproduced each time. The REALLY WEIRD thing is that, if I grab just the ccextractor line from the script and run it interactively as the same user and with the same cwd, on the same .ts file, it works the first time, every time, and produces ~100K of subtitles. Same file, same command, different output.

For the script case, I also did obvious stuff such as making sure ccextractor was running at good priority, and that disk space wasn't an issue. And ccextractor does work correctly in my scripts, >almost< all the time. It's not a showstopper for me as the system notifies me whenever a zero-length file is created, and it's easy for me to re-run and overwrite.

Ubuntu 22.04.3 LTS, ccextractor 0.93+ds2-2 from the normal apt distribution.