VideoHelp Forum
+ Reply to Thread
Results 1 to 8 of 8
Thread
  1. Hello!

    I have over 100 subtitles and on every one of them I want to add a text at the beggning "SAMPLE TEXT". ( a new line).
    How can I do that and in what program ?
    Quote Quote  
  2. I think that with subtitleedit you can't ... if not someone correct me.
    You can create a subtitle of intro (eg. 0~2 sec) with the line you want:

    1
    00:00:00,005 --> 00:00:02,000
    "SAMPLE TEXT"

    and join them with ffmpeg in a batch file... we make a text file: my_list.txt

    file 'intro.srt'
    file '%%a'

    Code:
    @echo 
    set "ConcatScript=my_list.txt"
    for %%a in (*.srt) do (
        (echo file 'intro.srt'
        echo file '%%~a'
           )>"%ConcatScript%"
    C:\ffmpeg\ffmpeg -f concat -i "%ConcatScript%" "%%~a.new.srt"
    )
    pause
    I have tried it and it works, I suppose that some expert can correct something .. I don't know ...

    But it is a way out of your problem..
    責任者-MDX
    Quote Quote  
  3. I'm a Super Moderator johns0's Avatar
    Join Date
    Jun 2002
    Location
    canada
    Search Comp PM
    You think can do that with subtitle edit but you have to go in the settings and find the options.
    I think,therefore i am a hamster.
    Quote Quote  
  4. Member
    Join Date
    Jul 2011
    Location
    Denmark
    Search Comp PM
    Edit: Ah, sorry - misunderstood... don't think SE can do this.
    Last edited by Nikse; 16th Apr 2020 at 04:38. Reason: Misunderstood...
    Quote Quote  
  5. Originally Posted by sekininsha View Post
    I think that with subtitleedit you can't ... if not someone correct me.
    You can create a subtitle of intro (eg. 0~2 sec) with the line you want:

    1
    00:00:00,005 --> 00:00:02,000
    "SAMPLE TEXT"

    and join them with ffmpeg in a batch file... we make a text file: my_list.txt

    file 'intro.srt'
    file '%%a'

    Code:
    @echo 
    set "ConcatScript=my_list.txt"
    for %%a in (*.srt) do (
        (echo file 'intro.srt'
        echo file '%%~a'
           )>"%ConcatScript%"
    C:\ffmpeg\ffmpeg -f concat -i "%ConcatScript%" "%%~a.new.srt"
    )
    pause
    I have tried it and it works, I suppose that some expert can correct something .. I don't know ...

    But it is a way out of your problem..
    It's working , but the problem is that is changing the timings and then the subtitle will be in out of sync.
    Quote Quote  
  6. I'm a Super Moderator johns0's Avatar
    Join Date
    Jun 2002
    Location
    canada
    Search Comp PM
    You can use batch convert with offset time codes for all the affected srt with subtitle edit.
    I think,therefore i am a hamster.
    Quote Quote  
  7. If I set for all subtitles to show 2 seconds ealier to get them in sync , the intro it's removed .
    Quote Quote  
  8. It's working , but the problem is that is changing the timings and then the subtitle will be in out of sync.
    Sorry .. I had not seen this situation.

    Try ..

    Start by applying the 'Offset time codes' (2,000/ Show earlier) in SE .. and then apply the batch adding the intro .
    責任者-MDX
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!