Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash with long SRT File #11

Open
fullheart opened this issue Aug 26, 2023 · 2 comments
Open

Crash with long SRT File #11

fullheart opened this issue Aug 26, 2023 · 2 comments

Comments

@fullheart
Copy link

First, THANK YOU for this great pieces of Software ❤️ !! I am amazed how well this tool apply text to a subtitle file.

Problem:
When I try to apply a bigger text (156 KB) to a long SRT file (424 KB) the execution fails with this output:

Error: Command failed: java -Xmx30G -jar /usr/src/cli/WhisperTimeSync.jar ./upload/192b597d-bb16-42a3-b1a0-793031a99f07/input.srt ./upload/192b597d-bb16-42a3-b1a0-793031a99f07/input.txt de
Killed

    at ChildProcess.exithandler (node:child_process:419:12)
    at ChildProcess.emit (node:events:514:28)
    at maybeClose (node:internal/child_process:1091:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:514:28)
    at Pipe.<anonymous> (node:net:323:12)

This is a Whisper SRT Transcription of a Video with a duration of 4 hours 51 mins.

How I can resolve this problem?

@EtienneAb3d
Copy link
Owner

@fullheart

Did you truncate the error message? Hard to understand it like this.

But, yes : as said at the bottom of the ReadMe, this aligner is not efficient on large files. I have an other one I may adapt to do the same as WhisperTimeSync on large files, but I won't release it as free/open-source. If you have a budget, we can discuss of it.

With WhisperTimeSync, the only real solution I see is to cut you video in smaller parts to process them independently, and merge the results afterward.

@fullheart
Copy link
Author

Hi @EtienneAb3d

Thank you for your feedback. Ok, I understand. I use this project for a non-profit organisation, that has not budget for an extension. But thank you for the offer and the mentioned workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants