Codecs: Difference between revisions

From AniDB
Jump to navigation Jump to search
(comment)
m (tempsave)
Line 1: Line 1:
{{update}}
{{update}}
 
{{TOCright}}
When adding video codec data, we don't want the FourCC value, but the actual codec used to encode the video.
When adding video codec data, we don't want the FourCC value, but the actual codec used to encode the video.


'''Why is that?'''
==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.
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.


==Anidb serversite codeclist==
as we munched together some codecs on the anidb side to less clutter the codeclist and as some of them are just not worth to add here some notes about them:
===H.264/AVC===
this covers x264, h264 and other codecs from the AVC profile. If you feel like it specify the actual codec in the videostream comment field. (AOM .6 will/should add a note about it)
===Xvid===
just xvid. often encoder hide this one bedind "div4" for higher "compatibility" (lets all blame deathwolf for that)
===ASP other===
this basically covers all ASP codecs not currently listed<br>
add a note to the videostream comment field. (AOM .6 will/should add a note about it)
this covers, but is not limited to:
*'''3ivX'''
*'''lavc'''
===DivX Unk===
BS that will get killed once [[AOM|AOM .6]] is out and autocreing those makred files to the correct codec.<br>
'''DON'T USE!'''
===DivX 3===
(also known as DivX ;) )<br>
hacked version of the MS Mp43 codec, which is a MS bastard implementation of MPEG-4<br>
===DivX 4===
first rewritten version and now standard implementation of MPEG-4 by the divx group.
===DivX 5 (also DivX 6)===
2nd rewritten version by the divx group. DivX 6 doesn't differ enough to add a seperate entry<br>
If you feel like it specify the actual codec in the videostream comment field. (AOM .6 will/should add a note about it)
===MPEG-1===
MPEG-1 is a 1990 standard used to compress audio and video (AV) digital data. MPEG-1 defines a group of AV coding standards agreed upon by MPEG (Moving Picture Experts Group). MPEG-1 video is used by the Video CD format. The output quality at usual VCD bit rates is roughly that of a VCR.<br>
''(source: wikipedia)''<br>
This includes [http://en.wikipedia.org/wiki/Video_CD VCD] and [http://en.wikipedia.org/wiki/SMPEG SMPEG] files.
===MPEG-2===
MPEG-2 (1994) is a standard used primarily to compress audio and video (AV) digital data. MPEG-2 is the designation for a group of coding standards for AV, agreed upon by MPEG (Moving Pictures Experts Group), and published as the ISO/IEC 13818 international standard. MPEG-2 is typically used to encode audio and video for broadcast signals, including direct broadcast satellite and Cable TV. MPEG-2, with some modifications, is also the coding format used by standard commercial DVD movies.
''(source: wikipedia)''<br>
This includes [http://en.wikipedia.org/wiki/SVCD SVCD] and [http://en.wikipedia.org/wiki/DVD#DVD-Video DVD] files.


The following is a table showing the codec detection rules used by [[AOM]], in order: FourCC, Codec, short name of codec, ??? <!-- what's the final value? -->
==AOM .5==
The following is a table showing the codec detection rules used by [[AOM|AOM .5]], in order: FourCC, Codec, short name of codec, codecid
<pre>
<pre>
('div3',      'DivX 3 Low-Motion',  'DivX3',    '3'),
('div3',      'DivX 3 Low-Motion',  'DivX3',    '3'),
Line 26: Line 70:
('mp43',      'S-Mpeg 4 version 3', 'MS MP4x', '18')</pre>
('mp43',      'S-Mpeg 4 version 3', 'MS MP4x', '18')</pre>


'''aom.6 atm''' (speak up!)
==Avdump/AOM .6==
* If ''[user]'' (aka 0x01B2) is defined:
[[Avdump]] looks at fourcc and the metadata in the file. Meaning it will accurately (as much as possible) present the right codec.
:* 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. --[[User:Rar|Rar]] 15:50, 11 May 2006 (CEST)
<add possible list of linked codecs from avdump -> anidb>


===Trustworthy programs===
==Trustworthy programs==
*[[AOM]]
*[[Avdump]]
*[http://virtualdubmod.sourceforge.net/ Virtualdubmod]


[[Category:Guidelines]]
[[Category:Guidelines]]

Revision as of 10:50, 22 May 2006

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.

Anidb serversite codeclist

as we munched together some codecs on the anidb side to less clutter the codeclist and as some of them are just not worth to add here some notes about them:

H.264/AVC

this covers x264, h264 and other codecs from the AVC profile. If you feel like it specify the actual codec in the videostream comment field. (AOM .6 will/should add a note about it)

Xvid

just xvid. often encoder hide this one bedind "div4" for higher "compatibility" (lets all blame deathwolf for that)

ASP other

this basically covers all ASP codecs not currently listed
add a note to the videostream comment field. (AOM .6 will/should add a note about it)

this covers, but is not limited to:

  • 3ivX
  • lavc

DivX Unk

BS that will get killed once AOM .6 is out and autocreing those makred files to the correct codec.
DON'T USE!

DivX 3

(also known as DivX ;) )
hacked version of the MS Mp43 codec, which is a MS bastard implementation of MPEG-4

DivX 4

first rewritten version and now standard implementation of MPEG-4 by the divx group.

DivX 5 (also DivX 6)

2nd rewritten version by the divx group. DivX 6 doesn't differ enough to add a seperate entry
If you feel like it specify the actual codec in the videostream comment field. (AOM .6 will/should add a note about it)

MPEG-1

MPEG-1 is a 1990 standard used to compress audio and video (AV) digital data. MPEG-1 defines a group of AV coding standards agreed upon by MPEG (Moving Picture Experts Group). MPEG-1 video is used by the Video CD format. The output quality at usual VCD bit rates is roughly that of a VCR.
(source: wikipedia)

This includes VCD and SMPEG files.

MPEG-2

MPEG-2 (1994) is a standard used primarily to compress audio and video (AV) digital data. MPEG-2 is the designation for a group of coding standards for AV, agreed upon by MPEG (Moving Pictures Experts Group), and published as the ISO/IEC 13818 international standard. MPEG-2 is typically used to encode audio and video for broadcast signals, including direct broadcast satellite and Cable TV. MPEG-2, with some modifications, is also the coding format used by standard commercial DVD movies. (source: wikipedia)

This includes SVCD and DVD files.

AOM .5

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

('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')

Avdump/AOM .6

Avdump looks at fourcc and the metadata in the file. Meaning it will accurately (as much as possible) present the right codec.

<add possible list of linked codecs from avdump -> anidb>

Trustworthy programs