Changes between Version 10 and Version 11 of HowToConvertYouTubeSBVtoSRT
- Timestamp:
- May 21, 2019, 10:17:09 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowToConvertYouTubeSBVtoSRT
v10 v11 4 4 }}} 5 5 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, over riding 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. 7 7 8 8 As 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: … … 30 30 SRT timestamps have the form `hh`'''`:`'''`mm`'''`:`'''`ss`'''`,`'''`nnn`, SBV timestamps use `h`'''`:`'''`mm`'''`:`'''`ss`'''`.`'''`nnn`. 31 31 32 !YouTube is reasonablysmart 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''. 33 33 34 34 The 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.''
