SubtitleEdit / subtitleedit

the subtitle editor :)
http://www.nikse.dk/SubtitleEdit/Help
GNU General Public License v3.0
8.52k stars 895 forks source link

[Feature Request]Some subtitles lines exported by whisper are too long,can split long line by any chars add to batch mod? #6446

Closed i990049 closed 1 year ago

i990049 commented 1 year ago

屏幕截图(155) 屏幕截图(156) I hope the batch convert mode can batch split long lines according to the settings.

屏幕截图(157)

https://wwi.lanzoup.com/idAwt0giqywh Here is the test ass,the settings will show which lines are more than 19 characters.

niksedk commented 1 year ago

Could you attach a small audio file with... is that Chinese? Could you attach the file error_log.txt ?

i990049 commented 1 year ago

Could you attach a small audio file with... is that Chinese? Could you attach the file error_log.txt ?

屏幕截图(158) Maybe you haven't understood what I mean, whisper is no problem, the problem is that after translating into other languages and merging subtitles, the length of subtitles needs to be controlled, and the length of each Chinese character and alphabet text is different. This is the audio processed by izotope, click the red button to download the audio. This is another subtitle I made, each line Chinese and English are a separate line, you can see that the maximum number of Chinese words in each line is not the same as the maximum number of English words, Chinese characters are much wider than English. audio in Italian https://wwi.lanzoup.com/iaGoB0gn0s5i another ass already well done https://wwi.lanzoup.com/iqvWZ0gn10fg

niksedk commented 1 year ago

Could you attach the error_log.txt too ?

i990049 commented 1 year ago

There is no error_log.txt, because SE just can't batch split Chinese subtitle no more than 19 characters.It just can't work.You can try the first link ass file above.

niksedk commented 1 year ago

Whisper should also log to error_log.txt - are you using latest SE?

i990049 commented 1 year ago

Whisper should also log to error_log.txt - are you using latest SE?

The first two pictures show that the version I use is 3.6.10,and I said it can't split long characters more than 19 by the batch mode.Test file is the first link above, no error_log.txt.