Stuart’s MATLAB Videos

Watch and Learn

Calculating the Duration of an Animated GIF file

I have a function that returns the duration of a video file. It only supports standard video files like MP4 or MKV and uses videoReader. I want to add support for animated GIF files which are not supported by videoReader.

Features covered in this code-along style video include:

  • videoReader
  • imread, imfinfo

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

  • print


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