WhisperTimeSync
WhisperTimeSync copied to clipboard
Crash with long SRT File
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?
@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.
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.