List Video Codecs, FourCC

Lists all available video compressors for usage with avifile in Matlab
4.3K Downloads
Updated 16 Feb 2011

View License

This function GETFOURCC gives a list of available Video encoder-codecs in
the current Windows installation. The FourCC code of a codec in the list
can be used to select a custom compressor in the AVIFILE function.

Usage :

getfourcc , Will display a list with available video codecs
or
L = getfourcc , Returns a struct with all available video codecs


Supported OS,
Windows NT, 2000, Vista, Windows 7


Example Output,

Four CC | Description (Driver / DLL)
-----------+---------------------------------------------- -----
mrle | Microsoft - Run Length Encoding (msrle32.dll)
msvc | Microsoft - Video 1 (msvidc32.dll)
i420 | Intel - Indeo 4 codec (iyuv_32.dll)
cvid | Supermac - Cinepak (iccvid.dll)

See also avifile/addframe, avifile/close, movie2avi

Cite As

Dirk-Jan Kroon (2024). List Video Codecs, FourCC (https://www.mathworks.com/matlabcentral/fileexchange/28706-list-video-codecs-fourcc), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.4.0.0

Added try-catch

1.3.0.0

Fixed bug : Inner for-loop used also the variable "i"

1.0.0.0