i have an .ass subtitle file which was made by using aegisub. the subtitle file has beautiful effects but because of that the file is huge. it has 30,000 lines and it is 29mb
some of the lines are repeated as you can see in this pic:-
[Attachment 52576 - Click to enlarge]
the subtitle file is filled with lines like that. is it possible to clean the subtitle file and delete all those repeated lines without damaging the subtitle effects? if yes then how?
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 10 of 10
Thread
-
-
Have you tried SubtitleEdit to combine duplicate lines?
Tools > Merge lines with same text...
or
Tools > Merge lines with same time codes...
Then Save as...
Drop down box Sub Station Alpha -
i tried it. it didnt work. i sent you a private message
Last edited by cns00; 3rd Apr 2020 at 12:01.
-
I don’t use ASS subtitles so I know next to nothing about them.
Your subtitle was unable to load into SubtitleEdit, as you are probably aware, because it was too large. I was able to load it into MS Word, WordPad and also NotePad++. Big deal, these are not subtitle programs so there isn’t much one can do with them that I am aware of.
I did copy all the lines up to and including time code 00:01:50:080 (34 data lines) and saved them in a separate ASS file that I was able to load into SubtitleEdit. I then chose ‘Merge same time codes...’ and noticed all the ones selected had different text. I them tried ‘Merge same text...’ and only found two duplicate sets. I doubt combining duplicate lines would reduce your file to a reasonable size, but I do not know.
You could load the file into MS Word and a Word macro on the file to remove a duplicate line. I have written word macros before but I don’t do it all the time and have to struggle a little bit when I do. If you have programming experience you could probably write a program to do it also.
Good luck. -
Better get a simple subtitle, this .ass contains karaoke and signs, in karaoke the words are divided into syllables for each line, how could you remove that without spoiling the file.
But if you insist ... you can remove the signs, E.g. in Aegisub "Subtitle"->"Select Lines", "Contains" "TS" in "Field" "Actor". Then hit ctrl+del. (you must have a backup .ass)
In the end export in Aegisub using File->Export Subtitles and save...Last edited by sekininsha; 3rd Apr 2020 at 20:03.
責任者-MDX -
Is this a bug in SubtitleEdit?
https://github.com/SubtitleEdit/subtitleedit/issues/4083 -
-
Subtitle Edit author has provided a new beta in the github issue I linked to above. Please test if that beta can clean via "Tools > Merge lines with same text" as expected.
-
i can't merge or delete repeated lines. if i do that then the text effects will spoil. english text is covering the japanese text which shows on the screen like if there is text on tv or on a signboard and repetition is needed to make the text effect
the only thing that i can do is completely delete each set of repeated text which makes a text effect and i put lines on the top of the screen instead of text effect
Similar Threads
-
How to change a single subtitle image in a PGS subtitle file??
By Gregostus in forum SubtitleReplies: 8Last Post: 14th Nov 2017, 01:26 -
Subtitle file with two languages
By MikeBintouch in forum SubtitleReplies: 2Last Post: 23rd Oct 2017, 03:52 -
Where is the cc/subtitle file?
By lejugemineur in forum Video Streaming DownloadingReplies: 0Last Post: 17th Sep 2016, 16:40 -
what type of subtitle file is this???
By danielko in forum SubtitleReplies: 1Last Post: 27th Jan 2016, 10:41 -
Help! Extract subtitle from file
By WreckITralph1 in forum SubtitleReplies: 3Last Post: 30th Nov 2015, 19:29