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

Latest commit

 

History

History
21 lines (16 loc) · 900 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 900 Bytes

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.