Stuart’s MATLAB Videos

Watch and Learn

Converting a Set of Video Caption Text Files From One Format to Another

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
  • fscanf

Play the video in full screen mode for a better viewing experience. 

|
  • print

Comments

To leave a comment, please click here to sign in to your MathWorks Account or create a new one.