Stuart’s MATLAB Videos

Watch and Learn

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

Posted by Stuart McGarrity,

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

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. 

Add A Comment

Your email address will not be published. Required fields are marked *

What is 4 + 10 ?

Preview: hide