What is a FOURCC?

本文介绍了FOURCC的概念及其在媒体文件中的应用,特别是在AVI文件中标识视频编解码器的作用。文中列举了一些常见的FOURCC标识符,并解释了如何通过特定的应用程序来识别媒体文件中使用的FOURCC。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

What is a FOURCC?

FOURCC is short for "four character code" - an identifier for a video codec, compression format, color or pixel format used in media files.

A character in this context is a 1 byte/8 bit value, thus a FOURCC always takes up exatly 32 bits/4 bytes in a file.

Another way to write FOURCC is 4CC (4 as in "four" character code).

The four characters in a FOURCC is generally limited to be within the human readable characters in the ASCII table. Because of this it is easy to convey and communicate what the FOURCCs are within a media file.

AVI files is the most widespread, or the first widely used media file format, to use FOURCC identifiers for the codecs used to compress the various video/audio streams within the files

Some of the more well known FOURCCs include "DIVX", "XVID", "H264", "DX50". But these are just a few of the hundredsin use.

Identify which FOURCCs are used within a media file

To find out which FOURCCs are used within a media file, you need to use an application specialized to open and inspect the media file.

In our fourcc identifier section we have several such applications (all free) available for download.

Find out which video codec a FOURCC corresponds to

You may refer to our video codecs for a long list of which FOURCCs that identifies which video codecs.

Audio codecs and audio tags

For audio codecs it is not FOURCCs that is used, but rather audio tags, or an audio identifier - that identifies one specific audio codec or one type of audio compression scheme.

An audio tag is just an integer decimal value (32 bits) or alternatively often specified as a HEX value. Your best bet at locating an audio codec given the audio tag is probablythrough this list.

Comments

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值