Output every word in a separate line #107
Replies: 9 comments 40 replies
-
This option is already in Faster-Whisper, and it's enabled by default. Just that it doesn't output every single word in new lines. |
Beta Was this translation helpful? Give feedback.
-
Implemented in |
Beta Was this translation helpful? Give feedback.
-
I'm not sure, but I think what's added in one line is made up for in subsequent lines. As it is only 100ms it is practically imperceptible.
These special characters. I noticed that neither Google Translate nor Git Hub make these characters appear. I show this in the screen recording I sent.
I made a request but received no response If you can fix this it will be a great help and one less script in the lives of those who edit subtitles. 50ms is enough 😄 |
Beta Was this translation helpful? Give feedback.
-
To solve this I convert the .srt to .ass format or burn the .ass directly into the video with ffmpeg. |
Beta Was this translation helpful? Give feedback.
-
Did you manage to do this hack to adjust the very short duration times? I tested version 160.6 and there are still words with a duration of less than 34ms in --one_word srt and vtt file. I only mentioned this subject again so you don't forget.😄 |
Beta Was this translation helpful? Give feedback.
-
Check this test build with upgraded If you see an issue then post .srt and .json files. |
Beta Was this translation helpful? Give feedback.
-
I did several tests. It has improved a lot, but words lasting less than 50ms still occur. Here is one of the tests I did. There is a .txt file informing which lines the very short durations occur on. It also has the results before modification to compare the results. I noticed that this trial version only produces srt files. I tried outputting to other formats but it only produces srt files. That's why I didn't send the files in .json format. The .json files that are attached are from the models I used. |
Beta Was this translation helpful? Give feedback.
-
Hi Jedit, saw your video on the word highlights which I thought was pretty darn cool. Am trying to figure out something similar for Davinci Resolve if you'd be kind enough to shed some light on the scripting logic behind what your script is actually doing to the 2 subtitles layers? |
Beta Was this translation helpful? Give feedback.
-
Cool discussion, 😅 ! Do you have some plan to update the Linux version with the new features showed here, Purfview? Thank you to develop the whisper_standalone_win ❤️ ! |
Beta Was this translation helpful? Give feedback.
-
Hi,
Is it possible to add an option to generate word by word separately with their respective duration equal to Buzz "Word Level Timings" option?
I found this option to be very useful, as if you use Subtitle Edit Tools > Merge Short Lines option on the generated file, you can create a default subtitle by choosing the maximum characters per line. The most incredible thing is that the synchronization is practically perfect, obeying all the pauses. I think this happens because Subtitle Edit takes into account the duration of each word to create the default subtitle.
The only problem I found is that some words have very short durations. Some words even have a duration of 0.000 and to fix this I had to make a custom script that adjusts all times with a duration of less than 100ms to 100ms.
See my screen recording to understand better. I've attached the files I used in the test in case you need them.
https://drive.google.com/file/d/14CtJvPXTxREUtyGrtx47wPf0mXdfaSxV/view?usp=sharing
I think this option in Whisper Faster would be useful because Buzz is very limited and does not offer the option of command lines for the user to specify the variables they want.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions