VideoHelp Forum

Try DVDFab and download streaming video, copy, convert or make Blu-rays,DVDs! Download free trial !
+ Reply to Thread
Results 1 to 6 of 6
Thread
  1. Hello,

    I want to insert <font size="20px"> to all line in my sub srt like this


    How can i do this for all line without copy pates ?

    I'm have subtitle editor and aegisub here

    Thanks everybody
    Quote Quote  
  2. Anything that looks like a table I import into Excel, do the changes there, and then export back out again. There are probably import/export macros already created but if not, if you know how to write macros in Excel, it probably wouldn't take long.

    [edit]Here's one such: http://www.wxfs.org/guides/ConvertingExceltoSRTfile

    You can skip 98% of it and just use the exporter.
    Quote Quote  
  3. Originally Posted by johnmeyer View Post
    Anything that looks like a table I import into Excel, do the changes there, and then export back out again. There are probably import/export macros already created but if not, if you know how to write macros in Excel, it probably wouldn't take long.

    [edit]Here's one such: http://www.wxfs.org/guides/ConvertingExceltoSRTfile

    You can skip 98% of it and just use the exporter.
    thanks for your reply, i need find other way faster because i have more than 200 file
    Quote Quote  
  4. replace
    ^
    <font size="20px"> check regex
    Quote Quote  
  5. Any regex capable text editor would be faster and if all your subs are in ssa harder to do regex inserts in srt than ssa eg. Notepad++

    1. Batch convert all your srts to ssa
    2 .replace
    ,,
    ,,<font size="20px">
    3. do for all files [most capable text editors can do this]

    SRT
    1
    00:00:48,674 --> 00:00:50,540
    Who are we?


    2
    00:00:50,634 --> 00:00:54,218
    Are we simply what others
    want us to be?


    3
    00:00:54,304 --> 00:00:58,344
    Are we destined to a fate
    beyond our control?
    SSA
    Dialogue: Marked=0,0:00:48.67,0:00:50.54,*Default,NTP,0000,0 000,0000,,Who are we?
    Dialogue: Marked=0,0:00:50.63,0:00:54.21,*Default,NTP,0000,0 000,0000,,Are we simply what others\Nwant us to be?
    Dialogue: Marked=0,0:00:54.30,0:00:58.34,*Default,NTP,0000,0 000,0000,,Are we destined to a fate\Nbeyond our control?
    SSA with replacements
    Dialogue: Marked=0,0:00:48.67,0:00:50.54,*Default,NTP,0000,0 000,0000,,<font size="20px"> Who are we?
    Dialogue: Marked=0,0:00:50.63,0:00:54.21,*Default,NTP,0000,0 000,0000,,<font size="20px"> Are we simply what others\Nwant us to be?
    Dialogue: Marked=0,0:00:54.30,0:00:58.34,*Default,NTP,0000,0 000,0000,,<font size="20px"> Are we destined to a fate\Nbeyond our control?
    Last edited by teodz1984; 5th Sep 2019 at 20:35.
    Quote Quote  
  6. Note that SubtitleEdit has regular expression (regex) support in-built ("Edit"->"Multiple replace" or "Edit"->"Replace"). It can even batch this for multiple files ("Tools"->"Batch convert").
    Quote Quote  



Similar Threads