I offered to help my colleague Josh to convert a bunch of video caption text files from one format called DFXP to another called WebVTT. The text files store lists of voice-over captions with start and ending timestamps plus language information. I used some of MATLAB’s string handling functions to do it.
Features covered in this code-along style video include:
- regexp, regexprep and + operator
Follow me (@stuartmcgarrity) if you want to be notified via Twitter when I post.
Play the video in full screen mode for a better viewing experience.