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

评论

要发表评论,请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。