Problem Solving
10:30 PM - Started watching Zan Sayonara Zetsubou Sensei ep 02, subbed by gg. Realized that the .mkv file was not HD quality.
10:31 PM - Ripped the subtitle script using an .mkv extraction utility. Started watching the episode using an HD raw with the script file.
10:36 PM - Realized that the subtitles were off sync with the raw video I was using by a few fractions of a second.
10:37 PM - Ran the script through a Java app that I'd written a while ago to make minor corrections to subtitle script timings.
10:46 PM - Realized that, due to where the different raws cut the commercial break out, the latter half of the episode was again a fraction of a second off sync.
10:47 PM - Spent some time reading over the script file, and realized that using my current Java app, which selects lines to adjust based on line number, would be extremely difficult considering the script had several parts that were not in strict chronological order.
10:48 PM - Started rewriting my Java class so that it would adjust times on the basis of their relationship to a preset timestamp, and not the line number.
12:24 AM - After numerous rounds of testing, retesting, comparing the script with the video, working out compiler errors, discovering problems I hadn't considered before, and consulting the Java documentation, the class is complete, functional, and free of bugs and glitches. I run the app, fix the script, and realize that it probably would have taken less time to open the script file in TextPad and manually change all the timestamps.
Nonetheless I praise my own genius at getting the app to work.
2 Comments
Recommended Comments