Codecs

From AniDB
Revision as of 13:50, 11 May 2006 by Rar (talk | contribs) (comment)
Jump to navigation Jump to search
The information on this page needs to be updated to reflect the current status of AniDB.
Remove this message when done.

When adding video codec data, we don't want the FourCC value, but the actual codec used to encode the video.

Why is that?

Groups often change the FourCC to increase "compatibility" so adding the FourCC is sometimes just wrong. However, many modern groups set/leave it to the correct value, and modern containers (Matroska) have no need for FourCCs anymore.


The following is a table showing the codec detection rules used by AOM, in order: FourCC, Codec, short name of codec, ???

('div3',      'DivX 3 Low-Motion',  'DivX3',    '3'),
('div3/div3', 'DivX 3 Low-Motion',  'DivX3',    '3'),
('div4/div3', 'DivX 3 Fast-Motion', 'DivX3',    '3'),
('div5',      'DivX 5.0',           'DivX5',    '7'),
('dx50',      'DivX 5.0',           'DivX5',    '7'),
('xvid/dx50', 'DivX 5.0',           'DivX5',    '7'),
('divx/dx50', 'DivX 5.0',           'DivX5',    '7'),
('divx',      'DivX 4 (OpenDivX)',  'DivX4',    '5'),
('divx/divx', 'DivX 4 (OpenDivX)',  'DivX4',    '5'),
('DIVX/DIVX', 'XviD',               'XviD',    '17'),
('xvid',      'XviD',               'XviD',    '17'),
('xvid/xvid', 'XviD',               'XviD',    '17'),
('xvid/divx', 'DivX 4 (OpenDivX)',  'DivX4',    '5'),
('mp42',      'S-Mpeg 4 version 2', 'MS MP4x', '18'),
('mp43',      'S-Mpeg 4 version 3', 'MS MP4x', '18')

aom.6 atm (speak up!)

  • If [user] (aka 0x01B2) is defined:
  • If it includes 'FFmpeg' or 'Lavc' -> MPG4
  • If it includes 'XviD' -> XviD
  • If it includes 'DivX50' -> DivX5
  • If it includes 'div3' -> DivX3
  • If fourcc is defined -> fourcctb
  • -> Native (mkv/mp4/etc.)
I'd urge that all text metadata in the container should get dumped to autocreq comment field, should make any issues easier to spot. --Rar 15:50, 11 May 2006 (CEST)

Trustworthy programs