Changes between Version 10 and Version 11 of HowToConvertYouTubeSBVtoSRT


Ignore:
Timestamp:
May 21, 2019, 10:17:09 PM (7 years ago)
Author:
omniplex
Comment:

added tags witout inventing new tags

Legend:

Unmodified
Added
Removed
Modified
  • HowToConvertYouTubeSBVtoSRT

    v10 v11  
    44}}}
    55
    6 [https://support.google.com/youtube/answer/2734698?hl=en&ref_topic=7296214 YouTube] supports only the basic features of SBV (SuBView) and SRT (!SubRipText) closed captions. Notably users can download existing closed captions (including auto-generated subtitles) as SBV, convert them to SRT supported by, e.g., ''MPlayer'', edit the subtitles in a text editor such as `vim` or `notepad` (hint: !YouTube wants UTF-8), and upload the fixed version to !YouTube, overriding the old subtitles for the given language.
     6[https://support.google.com/youtube/answer/2734698?hl=en&ref_topic=7296214 YouTube] supports only the basic features of SBV (SuBView) and SRT (!SubRipText) closed captions. Notably users can download existing closed captions (including auto-generated subtitles) as SBV, convert them to SRT supported by, e.g., ''MPlayer'', edit the subtitles in a text editor such as `vim` or `notepad` (hint: !YouTube wants UTF-8), and upload the fixed version to !YouTube, overwriting the old subtitles for the given language.
    77
    88As far as !YouTube supports these two formats (among others) they are very similar. The SRT captions start with a counter (increasing numbers), followed by the ''from'''''` --> `'''''to'' timestamps, text (one or two lines), and an empty line:
     
    3030SRT timestamps have the form `hh`'''`:`'''`mm`'''`:`'''`ss`'''`,`'''`nnn`, SBV timestamps use `h`'''`:`'''`mm`'''`:`'''`ss`'''`.`'''`nnn`.
    3131
    32 !YouTube is reasonably smart enough to detect and report simple errors, but you should make sure that timestamps do not overlap, i.e., the earliest ''from'' in the next caption can be the same as the ''to'' end of the last caption. Obviously the duration should be not too short, and it cannot be "negative" with a ''from'' later than its corresponding ''to''.
     32!YouTube is smart enough to detect and report simple errors, but you should make sure that timestamps do not overlap, i.e., the earliest ''from'' in the next caption can be the same as the ''to'' end of the last caption. Obviously the duration should be not too short, and it cannot be "negative" with a ''from'' later than its corresponding ''to''.
    3333
    3434The auto-generated SBV example shown above (downloaded from a !YouTube movie trailer) actually uses overlapping timestamps, and ''FFmpeg'' kept them as is in its SRT conversion. ''If you know more about this feature (?) please add some info here.''