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

Video Player is loading.
Current Time 0:00
Duration 13:58
Loaded: 1.17%
Stream Type LIVE
Remaining Time 13:58
 
1x
  • Chapters
  • descriptions off, selected
  • captions off, selected
  • en (Main), selected

    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.

    Loading...
    Go to top of page