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. Is it possible to format a subtitle and add a hyphen to the begining and end of a continuing subtitle line? Like this:

    Example sub (.srt):

    Code:
    1
    00:00:48,966 --> 00:00:53,720
    Today he was so angry and happy
    at the same time,
    
    2
    00:00:53,929 --> 00:00:57,683
    he went to the store and bought a
    couple of books. Then the walked home
    
    3
    00:00:57,849 --> 00:01:01,102
    with joy and jumped in the pool.
    
    4
    00:00:57,849 --> 00:01:01,102
    One day he was in a bad mood and he
    didn't get happier when he read.
    TO THIS:


    Code:
    1
    00:00:48,966 --> 00:00:53,720
    Today he was so angry and happy
    at the same time-
    
    2
    00:00:53,929 --> 00:00:57,683
    -he went to the store and bought a
    couple of books. Then the walked home-
    
    3
    00:00:57,849 --> 00:01:01,102
    -with joy and jumped in the pool.
    
    4
    00:00:57,849 --> 00:01:01,102
    One day he was in a bad mood and he
    didn't get happier when he read.

    This is the standard for scandinavian subtitles. I'm used to read subtitles in this way.

    I can't figure out how to format an existing subtitle to match this "pattern". A little bit of help please. Which program should I use? Subtitle Edit?

    Thank you.
    Last edited by Rob-; 20th Sep 2016 at 14:18.
    Quote Quote  
  2. Member
    Join Date
    Aug 2010
    Location
    San Francisco, California
    Search PM
    In English captioning style, do not use dashes unless a sentence is interrupted for emphasis, or by another sound or speaker. (Hyphens are only for compounds.) Take care not to break phrases across captions. For example, your first three captions should be

    Today he was so angry
    and happy at the same time,

    he went to the store
    and bought a couple of books.

    Then he walked home with joy
    and jumped in the pool.
    Last edited by JVRaines; 16th Sep 2016 at 19:25.
    Quote Quote  
  3. Originally Posted by JVRaines View Post
    In English captioning style, do not use dashes unless a sentence is interrupted for emphasis, or by another sound or speaker. (Hyphens are only for compounds.) Take care not to break phrases across captions. For example, your first three captions should be

    Today he was so angry
    and happy at the same time,

    he went to the store
    and bought a couple of books.

    Then he walked home with joy
    and jumped in the pool.
    Thank you for your answer. I simply wrote the example subtitle in English so it's more understandable. I am still searching for a solution. Otherwishe I have to accomplish the subtitles manually with adding the dashes to almost every single line! Anyone that can help?
    Quote Quote  
  4. Member netmask56's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Search Comp PM
    Maybe show an example in your language with the dash a different colour etc. Is the dash an N dash or an M dash ? Not sure if either of those could cause a problem.
    BeyonWiz T3 PVR ~ Popcorn A-500 ~ Samsung ES8000 65" LED TV ~ Windows 7 64bit ~ Yamaha RX-A1070 ~ QnapTS851-4G
    Quote Quote  
  5. Member
    Join Date
    Aug 2010
    Location
    San Francisco, California
    Search PM
    Sorry, I misunderstood about the language. I believe my advice to avoid breaking phrases would apply to any Western language, but of course it's up to your preference.

    I would use a regex search-and-replace in a text editor such as Notepad++. Here is the logic you need to implement:

    1. Add a dash after any alphabetic character which is followed by two newlines.
    2. Add a dash before any lowercase alphabetic character which is preceded by a numeral and a newline.
    Quote Quote  
  6. That's what I'm searching for. Thanks... I'm not a programmer so this seems very difficult. Could you please be more specific? What sould I replace nothing with? Is it also possible to add the dash to a line with italic tags?
    Quote Quote  



Similar Threads