Subtitles fixing #434
JesusGod-Pope666-Info
started this conversation in
Show and tell
Replies: 2 comments 4 replies
-
Purfview |
Beta Was this translation helpful? Give feedback.
0 replies
-
Btw, you can output JSON, then you can input that JSON into Faster-Whisper-XXL later and use different "subtitles fixing" options. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I finally got it working in audioMotion, so now I just need to find the setting for me. Apparently audioMotion seems to support vtt and not srt - and the vtt test file I had was faulty and would not work, so I never got any further with it. But as I was testing things with Whisper I all of a sudden saw subtitles working in audioMotion working. After some tedious work I found out that only one kind of file work for it and why the old file I tested with did not work. Not sure why I did not test with other vtt files then that single one - and ended up giving up.
--output_format vtt
You can also do --output_format all if you wanna see every kind of file format it can produce things in.
Anyway - now that it works in audioMotion, and I know what file format works, I need to sort out the best settings for subtitles.
Not looked into the other video player I have, I know it works with the srt format but not sure if it works with vtt - so.... Well, we will see. Lets keep to audioMotion for now.
So, I have been looking into the help file for Sub info - never been good at those help files.... But lets have a look:
--standard
Quick hardcoded preset to split lines in standard way.
42 chars per 2 lines with max_comma_cent=70 and
--sentence are activated automatically. (default: False)
--standard_asia
'Quick hardcoded preset to split lines in standard way
for some Asian languages. 16 chars per 2 lines with
max_comma_cent=80 and --sentence are activated
automatically. (default: False)
--sentence
Enables splitting lines to sentences for srt and vtt
subs. Every sentence starts in the new segment. By
default meant to output whole sentence per line for
better translations, but not limited to, read about '
--max_...' parameters. Note: has no effect on
'highlight_words'. (default: False)
--max_comma
(requires --sentence) After this line length a comma
is treated as the end of sentence. Note: disabled if
it's over or equal to --max_line_width. (default: 250)
--max_comma_cent {50,60,70,80,90,100}
(requires --sentence) Percentage of --max_line_width
when it starts breaking the line after comma. Note:
100 = disabled. (default: 100)
--max_gap
(requires --sentence) Threshold for a gap length in
seconds, longer gaps are treated as dots. (default: 3.0)
--max_line_width
The maximum number of characters in a line before
breaking the line. (default: 1000)
--max_line_count
The maximum number of lines in one sub segment.
(default: 1)
--min_dist_to_end {0,4,5,6,7,8,9,10,11,12}
(requires --sentence) If from words like 'the', 'Mr.'
and ect. to the end of line distance is less than set
then it starts in a new line. Note: 0 = disabled.
(default: 0)
Hardcodes tries : --standard and --standard_asia
--output_format vtt
--sentence
--max_comma
--max_comma_cent {50,60,70,80,90,100}
--max_gap
--max_line_width
--max_line_count
--min_dist_to_end {0,4,5,6,7,8,9,10,11,12}
Beta Was this translation helpful? Give feedback.
All reactions