Be the first to rate this file! 23 downloads (last 30 days) File Size: 2.13 KB File ID: #21740

avi2gif

by Kedar Patwardhan

 

14 Oct 2008 (Updated 28 Oct 2008)

No BSD License  

Converts avi video files to gif animations

Download Now | Watch this File

File Information
Description

User supplies the avi file and the number of loops required for the gif animation, and this function converts the entire avi video into a gif animation.

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
11 Feb 2009 Oliver Woodford

MATLAB does support color gif files. All gif files are 8-bit, so just supply indexed images with a 256 color colormap. Use rgb2ind to convert color images.

Please login to add a comment or rating.
Updates
28 Oct 2008

Corrected bugs with over-writing existing gif files. Also, MATLAB does not support color gif files, hence removed related processing. Added 'warning off' at the beginning in order to supress 'image values out of range' warnings.

Tag Activity for this File
Tag Applied By Date/Time
video Kedar Patwardhan 22 Oct 2008 10:24:19
convert avi to gif Kedar Patwardhan 22 Oct 2008 10:24:19
gif Kedar Patwardhan 22 Oct 2008 10:24:19
avi Kedar Patwardhan 22 Oct 2008 10:24:19
convert Kedar Patwardhan 22 Oct 2008 10:24:19
animation Kedar Patwardhan 22 Oct 2008 10:24:19
loops Kedar Patwardhan 22 Oct 2008 10:24:19
animation Cristina McIntire 07 Nov 2008 12:52:35
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com