mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
Some more additions to the list... We proposed to use different mimetypes for float/int/law audio, and for rgb/yuv......
Original commit message from CVS: Some more additions to the list... We proposed to use different mimetypes for float/int/law audio, and for rgb/yuv... waiting for comments
This commit is contained in:
parent
0a5ff649a8
commit
535ebb2f49
1 changed files with 58 additions and 30 deletions
|
@ -111,8 +111,8 @@ Preface - (optional) properties for all video formats:
|
|||
'height' = X (INT)
|
||||
'pixel_width' and 'pixel_height' = X (2xINT, together aspect ratio)
|
||||
|
||||
1a - Raw Video (YUV/YCbCr)
|
||||
mimetype: video/raw
|
||||
1 - Raw Video (YUV/YCbCr)
|
||||
mimetype: video/x-raw-yuv
|
||||
properties: 'format' = 'XXXX' (fourcc)
|
||||
known fourccs: YUY2, I420, Y41P, YVYU, UYVY, etc.
|
||||
|
||||
|
@ -137,10 +137,9 @@ Preface - (optional) properties for all video formats:
|
|||
|
||||
Note: YUV-4:4:4 (both planar and packed, in multiple orders) are missing.
|
||||
|
||||
1b - Raw Video (RGB)
|
||||
mimetype: video/raw
|
||||
properties: 'format' = 'RGB ' (fourcc)
|
||||
'endianness' = 1234/4321 (INT) <- endianness
|
||||
2 - Raw Video (RGB)
|
||||
mimetype: video/x-raw-rgb
|
||||
properties: 'endianness' = 1234/4321 (INT) <- endianness
|
||||
'depth' = 15/16/24 (INT) <- bits per pixel (depth)
|
||||
'bpp' = 16/24/32 (INT) <- bits per pixel (in memory)
|
||||
'red_mask' = bitmask (0x..) (INT) <- red pixel mask
|
||||
|
@ -186,67 +185,71 @@ Preface - (optional) properties for all video formats:
|
|||
'green_mask' = 0x03e0
|
||||
'blue_mask' = 0x003f
|
||||
|
||||
2 - MPEG-1, -2 and -4 video (ISO/LA MPEG)
|
||||
3 - MPEG-1, -2 and -4 video (ISO/LA MPEG)
|
||||
mimetype: video/mpeg
|
||||
properties: 'systemstream' = FALSE (BOOLEAN)
|
||||
'mpegversion' = 1/2/4 (INT)
|
||||
known fourccs: MPEG, MPGI
|
||||
|
||||
3 - DivX 3.x, 4.x and 5.x video
|
||||
4 - DivX 3.x, 4.x and 5.x video
|
||||
mimetype: video/divx
|
||||
optional properties: 'divxversion' = 3/4/5 (INT)
|
||||
known fourccs: DIV3, DIV4, DIV5, DIVX, DX50, DIVX, divx
|
||||
|
||||
4 - Microsoft MPEG 4.1, 4.2 and 4.3
|
||||
5 - Microsoft MPEG 4.1, 4.2 and 4.3
|
||||
mimetype: video/x-msmpeg
|
||||
optional properties: 'mpegversion' = 41/42/43 (INT)
|
||||
known fourccs: MPG4, MP42, MP43
|
||||
|
||||
5 - Motion-JPEG (official and extended)
|
||||
6 - Motion-JPEG (official and extended)
|
||||
mimetype: video/jpeg
|
||||
known fourccs: MJPG (YUY2 MJPEG), JPEG (any), PIXL (Pinnacle/Miro), VIXL
|
||||
|
||||
6 - Sorensen (Quicktime - SVQ1/SVQ3)
|
||||
7 - Sorensen (Quicktime - SVQ1/SVQ3)
|
||||
mimetypes: video/x-svq
|
||||
properties: 'svqversion' = 1/3 (INT)
|
||||
|
||||
7 - H263 and related codecs
|
||||
8 - H263 and related codecs
|
||||
mimetype: video/h263
|
||||
known fourccs: H263, i263, M263, x263, VDOW, VIVO
|
||||
|
||||
8 - RealVideo (Real)
|
||||
9 - RealVideo (Real)
|
||||
mimetype: video/realvideo
|
||||
|
||||
9 - Digital Video (DV)
|
||||
10 - Digital Video (DV)
|
||||
mimetype: video/dv
|
||||
properties: 'systemstream' = FALSE (BOOLEAN)
|
||||
known fourccs: DVSD, dvsd
|
||||
|
||||
10 - Windows Media Video 1 and 2 (WMV)
|
||||
11 - Windows Media Video 1 and 2 (WMV)
|
||||
mimetype: video/wmv
|
||||
properties: 'wmvversion' = 1/2 (INT)
|
||||
|
||||
11 - XviD
|
||||
12 - XviD
|
||||
mimetype: video/xvid
|
||||
known fourccs: xvid, XVID
|
||||
|
||||
12 - 3IVX
|
||||
13 - 3IVX
|
||||
mimetype: video/3ivx
|
||||
known fourccs: 3IV1, 3IV2
|
||||
known fourccs: 3IV0, 3IV1, 3IV2
|
||||
|
||||
13 - Ogg/Tarkin (Xiph)
|
||||
14 - Ogg/Tarkin (Xiph)
|
||||
mimetype: video/x-tarkin
|
||||
|
||||
15 - VP3
|
||||
mimetype: video/vp3
|
||||
|
||||
15 - Ogg/Theora (Xiph, VP3-like)
|
||||
16 - Ogg/Theora (Xiph, VP3-like)
|
||||
mimetype: video/x-theora
|
||||
|
||||
16 - Huffyuv
|
||||
17 - Huffyuv
|
||||
mimetype: video/x-huffyuv
|
||||
known fourccs: HFYU
|
||||
|
||||
18 - FF Video 1
|
||||
mimetype: video/x-ffv
|
||||
properties: 'ffvversion' = 1 (INT)
|
||||
|
||||
TODO: colorspace identifications for MJPEG? How? Move MPEG4-compatible codecs
|
||||
over to video/mpeg with a subtype (xvid, divx3, divx4, divx5, iso, ...)?
|
||||
interlacing?
|
||||
|
@ -259,35 +262,60 @@ Preface - (optional) properties for all audio formats:
|
|||
'rate' = X (int) <- sampling rate
|
||||
'channels' = X (int) <- number of audio channels
|
||||
|
||||
1 - Raw Audio
|
||||
mimetype: audio/raw
|
||||
1 - Raw Audio (integer format)
|
||||
mimetype: audio/x-raw-int
|
||||
properties: 'width' = X (INT) <- memory bits per sample
|
||||
'depth' = X (INT) <- used bits per sample
|
||||
'law' = 0/1/2 (INT) <- no law (0), alaw (1) or mulaw (2)
|
||||
'signedness' = X (BOOLEAN)
|
||||
'endianness' = 1234/4321 <- endianness of audio stream
|
||||
|
||||
2 - MPEG-1 layer 1/2/3 audio
|
||||
2 - Raw Audio (floating point format)
|
||||
mimetype: audio/x-raw-float
|
||||
properties: 'layout' = "gdouble" and "gfloat" (STRING)
|
||||
'intercept' = X (FLOAT)
|
||||
'slope' = X (FLOAT)
|
||||
|
||||
3 - Alaw Raw Audio
|
||||
mimetype: audio/x-alaw
|
||||
|
||||
4 - Mulaw Raw Audio
|
||||
mimetype: audio/x-mulaw
|
||||
|
||||
5 - MPEG-1 layer 1/2/3 audio
|
||||
mimetype: audio/x-mp3
|
||||
properties: 'layer' = 1/2/3 (INT)
|
||||
|
||||
3 - Ogg/Vorbis
|
||||
6 - Ogg/Vorbis
|
||||
mimetype: audio/vorbis
|
||||
|
||||
4 - Windows Media Audio 1 and 2 (WMA)
|
||||
7 - Windows Media Audio 1 and 2 (WMA)
|
||||
mimetype: audio/wma
|
||||
properties: 'wmaversion' = 1/2 (INT)
|
||||
|
||||
5 - AC3
|
||||
8 - AC3
|
||||
mimetype: audio/a52
|
||||
|
||||
6 - FLAC (Free Lossless Audio Codec)
|
||||
9 - FLAC (Free Lossless Audio Codec)
|
||||
mimetype: audio/x-flac
|
||||
|
||||
7 - MACE 3/6 (Quicktime audio)
|
||||
10 - MACE 3/6 (Quicktime audio)
|
||||
mimetype: audio/x-mace
|
||||
properties: 'maceversion' = 3/6 (INT)
|
||||
|
||||
11 - MPEG-4 AAC
|
||||
mimetype: audio/x-mpeg-aac
|
||||
properties: 'mpegversion' = 4 (INT)
|
||||
'systemstream' = FALSE (BOOLEAN)
|
||||
|
||||
12 - IMA ADPCM Quicktime
|
||||
mimetype: audio/x-ima-adpcm-quicktime
|
||||
|
||||
13 - IMA ADPCM WAV
|
||||
mimetype: audio/x-ima-adpcm-wav
|
||||
|
||||
14 - ADPCM MS (Microsoft?)
|
||||
mimetype: audio/x-adpcm-ms
|
||||
|
||||
4 - Status of this document
|
||||
---------------------------
|
||||
Not all plugins strictly follow these guidelines yet, but these are the
|
||||
|
|
Loading…
Reference in a new issue