Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.
/ unisub Public archive

Unisub merges two .srt files into one. It could also convert chinese characters to pinyin

License

Notifications You must be signed in to change notification settings

waggledans/unisub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unisub

Unisub is used by Chinese learners that didn't learn enough characters to read subtitles and yet they want to watch Chinese movies with Chinese subs. It could also be used to combine two different subs files into one

Mandarin subs - add pinyin (or generate separate pinyin only srt file)

  1. Find a movie in Chinese
  2. Find subtitles file in SubRip format in Chinese
  3. Generate pinyin file that matches Chinese subtitles: bin/do_srt.py -i <your-chinese-subfile> -o <pinyin-file>
  4. Optionally you can merge <chinese.srt> and <pinyin.srt> bin/do_srt.py -i <your-chinese-subfile> -o <pinyin-file> -c
  5. Load new subtitles file and watch a movie with both Hanzi and Pinyin subs

Merging two srt files into one

  1. Merge 2 srt files (in different languages perhaps) bin/do_srt.py -i <subfile1> -e <subfile2> -o <output-file>

See bin/do_srt.py --help for more information.

About

Unisub merges two .srt files into one. It could also convert chinese characters to pinyin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published