Clear Filters
Clear Filters

Where can I find information about the four letter codes used by the compression parameter of AVIFILE in MATLAB?

1 view (last 30 days)
I would like to create an AVI-file using a custom codec. The documentation states that I need specify a "four-character code that identifies the codec (typically included in the codec documentation)." I can not locate this four digit code in the codec documentation.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 4 Nov 2022
Edited: MathWorks Support Team on 4 Nov 2022
The four-character codes which need to be specified to select the codec are sometimes referred to as FourCC codes. Each codec has a unique four-letter code on Microsoft Windows. There are several websites that list these codes.
For example, to specify the Indeo 5 codec you would use the command
f=avifile('tmpmpg.avi','compression','IV50')
Note that to use a custom codec, it must be installed in your computer.

More Answers (0)

Tags

No tags entered yet.

Products

Community Treasure Hunt

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

Start Hunting!