--- /dev/null
+Media Types
+-----------
+
+ audio/x-raw
+
+ format, G_TYPE_STRING, mandatory
+ The format of the audio samples, see the Formats section for a list
+ of valid sample formats.
+
+ rate, G_TYPE_INT, mandatory
+ The samplerate of the audio
+
+ channels, G_TYPE_INT, mandatory
+ The number of channels
+
+ channel-positions, G_TYPE_VALUE_ARRAY
+ An array with a channel position for each channel. The number of items in
+ this array must be the same as the channels property.
+
+
+Formats
+-------
+
+ The following values can be used for the format string property.
+
+ "S8" 8-bit signed PCM audio
+ "U8" 8-bit unsigned PCM audio
+
+ "S16LE" 16-bit signed PCM audio
+ "S16BE" 16-bit signed PCM audio
+ "U16LE" 16-bit unsigned PCM audio
+ "U16BE" 16-bit unsigned PCM audio
+
+ "S24_32LE" 24-bit signed PCM audio
+ "S24_32BE" 24-bit signed PCM audio
+ "U24_32LE" 24-bit unsigned PCM audio
+ "U24_32BE" 24-bit unsigned PCM audio
+
+ "S32LE" 32-bit signed PCM audio
+ "S32BE" 32-bit signed PCM audio
+ "U32LE" 32-bit unsigned PCM audio
+ "U32BE" 32-bit unsigned PCM audio
+
+ "S24LE" 24-bit signed PCM audio
+ "S24BE" 24-bit signed PCM audio
+ "U24LE" 24-bit unsigned PCM audio
+ "U24BE" 24-bit unsigned PCM audio
+
+ "S20LE" 20-bit signed PCM audio
+ "S20BE" 20-bit signed PCM audio
+ "U20LE" 20-bit unsigned PCM audio
+ "U20BE" 20-bit unsigned PCM audio
+
+ "S18LE" 18-bit signed PCM audio
+ "S18BE" 18-bit signed PCM audio
+ "U18LE" 18-bit unsigned PCM audio
+ "U18BE" 18-bit unsigned PCM audio
+
+ "F32LE" 32-bit floating-point audio
+ "F32BE" 32-bit floating-point audio
+ "F64LE" 64-bit floating-point audio
+ "F64BE" 64-bit floating-point audio
+
+
The pixel aspect ration of the video
format, G_TYPE_STRING, mandatory
- The format of the video
+ The format of the video, see the Formats section for a list of valid format
+ strings.
- * "I420" planar 4:2:0 YUV
+Formats
+-------
+
+ "I420" planar 4:2:0 YUV
Component 0: Y
depth: 8
size (component1) +
size (component2)
- * "YV12" planar 4:2:0 YUV
+ "YV12" planar 4:2:0 YUV
Same as I420 but with U and V planes swapped
size (component1) +
size (component2)
- * "YUY2" packed 4:2:2 YUV
+ "YUY2" packed 4:2:2 YUV
+--+--+--+--+ +--+--+--+--+
|Y0|U0|Y1|V0| |Y2|U2|Y3|V2| ...
default size: rstride (image) * height
- * "YVYU" packed 4:2:2 YUV
+ "YVYU" packed 4:2:2 YUV
Same as "YUY2" but with U and V planes swapped
default size: rstride (image) * height
- * "UYVY" packed 4:2:2 YUV
+ "UYVY" packed 4:2:2 YUV
+--+--+--+--+ +--+--+--+--+
|U0|Y0|V0|Y1| |U2|Y2|V2|Y3| ...
default size: rstride (image) * height
- * "AYUV" packed 4:4:4 YUV with alpha channel
+ "AYUV" packed 4:4:4 YUV with alpha channel
+--+--+--+--+ +--+--+--+--+
|A0|Y0|U0|V0| |A1|Y1|U1|V1| ...
default size: rstride (image) * height
- * "RGBx" sparse rgb packed into 32 bit, space last
+ "RGBx" sparse rgb packed into 32 bit, space last
+--+--+--+--+ +--+--+--+--+
|R0|G0|B0|X | |R1|G1|B1|X | ...
default rstride: width * 4
default size: rstride (image) * height
- * "BGRx" sparse reverse rgb packed into 32 bit, space last
+ "BGRx" sparse reverse rgb packed into 32 bit, space last
+--+--+--+--+ +--+--+--+--+
|B0|G0|R0|X | |B1|G1|R1|X | ...
default rstride: width * 4
default size: rstride (image) * height
- * "xRGB" sparse rgb packed into 32 bit, space first
+ "xRGB" sparse rgb packed into 32 bit, space first
+--+--+--+--+ +--+--+--+--+
|X |R0|G0|B0| |X |R1|G1|B1| ...
default rstride: width * 4
default size: rstride (image) * height
- * "xBGR" sparse reverse rgb packed into 32 bit, space first
+ "xBGR" sparse reverse rgb packed into 32 bit, space first
+--+--+--+--+ +--+--+--+--+
|X |B0|G0|R0| |X |B1|G1|R1| ...
default rstride: width * 4
default size: rstride (image) * height
- * "RGBA" rgb with alpha channel last
+ "RGBA" rgb with alpha channel last
+--+--+--+--+ +--+--+--+--+
|R0|G0|B0|A0| |R1|G1|B1|A1| ...
default rstride: width * 4
default size: rstride (image) * height
- * "BGRA" reverse rgb with alpha channel last
+ "BGRA" reverse rgb with alpha channel last
+--+--+--+--+ +--+--+--+--+
|B0|G0|R0|A0| |B1|G1|R1|A1| ...
default rstride: width * 4
default size: rstride (image) * height
- * "ARGB" rgb with alpha channel first
+ "ARGB" rgb with alpha channel first
+--+--+--+--+ +--+--+--+--+
|A0|R0|G0|B0| |A1|R1|G1|B1| ...
default rstride: width * 4
default size: rstride (image) * height
- * "ABGR" reverse rgb with alpha channel first
+ "ABGR" reverse rgb with alpha channel first
+--+--+--+--+ +--+--+--+--+
|A0|R0|G0|B0| |A1|R1|G1|B1| ...
default rstride: width * 4
default size: rstride (image) * height
- * "RGB" rgb
+ "RGB" rgb
+--+--+--+ +--+--+--+
|R0|G0|B0| |R1|G1|B1| ...
default rstride: RU4 (width * 3)
default size: rstride (image) * height
- * "BGR" reverse rgb
+ "BGR" reverse rgb
+--+--+--+ +--+--+--+
|B0|G0|R0| |B1|G1|R1| ...
default rstride: RU4 (width * 3)
default size: rstride (image) * height
- * "Y41B" planar 4:1:1 YUV
+ "Y41B" planar 4:1:1 YUV
Component 0: Y
depth: 8
size (component1) +
size (component2)
- * "Y42B" planar 4:2:2 YUV
+ "Y42B" planar 4:2:2 YUV
Component 0: Y
depth: 8
size (component1) +
size (component2)
- * "Y444" planar 4:4:4 YUV
+ "Y444" planar 4:4:4 YUV
Component 0: Y
depth: 8
size (component1) +
size (component2)
- * "v210" packed 4:2:2 10-bit YUV, complex format
+ "v210" packed 4:2:2 10-bit YUV, complex format
Component 0: Y
depth: 10
default size: rstride (image) * height
- * "v216" packed 4:2:2 16-bit YUV, Y0-U0-Y1-V1 order
+ "v216" packed 4:2:2 16-bit YUV, Y0-U0-Y1-V1 order
Component 0: Y
depth: 16
default rstride: RU8 (width * 2)
default size: rstride (image) * height
- * "NV12" planar 4:2:0 YUV with interleaved UV plane
+ "NV12" planar 4:2:0 YUV with interleaved UV plane
Component 0: Y
depth: 8
default size: RU4 (width) * RU2 (height) * 3 / 2
- * "NV21" planar 4:2:0 YUV with interleaved VU plane
+ "NV21" planar 4:2:0 YUV with interleaved VU plane
Component 0: Y
depth: 8
Image
default size: RU4 (width) * RU2 (height) * 3 / 2
- * "GRAY8" 8-bit grayscale
- * "Y800" same as "GRAY8"
+ "GRAY8" 8-bit grayscale
+ "Y800" same as "GRAY8"
Component 0: Y
depth: 8
Image
default size: size (component0)
- * "GRAY16_BE" 16-bit grayscale, most significant byte first
+ "GRAY16_BE" 16-bit grayscale, most significant byte first
Component 0: Y
depth: 16
Image
default size: size (component0)
- * "GRAY16_LE" 16-bit grayscale, least significant byte first
- * "Y16" same as "GRAY16_LE"
+ "GRAY16_LE" 16-bit grayscale, least significant byte first
+ "Y16" same as "GRAY16_LE"
Component 0: Y
depth: 16
Image
default size: size (component0)
- * "v308" packed 4:4:4 YUV
+ "v308" packed 4:4:4 YUV
+--+--+--+ +--+--+--+
|Y0|U0|V0| |Y1|U1|V1| ...
default size: rstride (image) * height
- * "RGB16" rgb 5-6-5 bits per component
+ "RGB16" rgb 5-6-5 bits per component
+--+--+--+ +--+--+--+
|R0|G0|B0| |R1|G1|B1| ...
default rstride: RU4 (width * 2)
default size: rstride (image) * height
- * "BGR16" reverse rgb 5-6-5 bits per component
+ "BGR16" reverse rgb 5-6-5 bits per component
+--+--+--+ +--+--+--+
|B0|G0|R0| |B1|G1|R1| ...
default rstride: RU4 (width * 2)
default size: rstride (image) * height
- * "RGB15" rgb 5-5-5 bits per component
+ "RGB15" rgb 5-5-5 bits per component
+--+--+--+ +--+--+--+
|R0|G0|B0| |R1|G1|B1| ...
default rstride: RU4 (width * 2)
default size: rstride (image) * height
- * "BGR15" reverse rgb 5-5-5 bits per component
+ "BGR15" reverse rgb 5-5-5 bits per component
+--+--+--+ +--+--+--+
|B0|G0|R0| |B1|G1|R1| ...
default rstride: RU4 (width * 2)
default size: rstride (image) * height
- * "UYVP" packed 10-bit 4:2:2 YUV (U0-Y0-V0-Y1 U2-Y2-V2-Y3 U4 ...)
+ "UYVP" packed 10-bit 4:2:2 YUV (U0-Y0-V0-Y1 U2-Y2-V2-Y3 U4 ...)
Component 0: Y
depth: 10
default rstride: RU4 (width * 2 * 5)
default size: rstride (image) * height
- * "A420" planar 4:4:2:0 AYUV
+ "A420" planar 4:4:2:0 AYUV
Component 0: Y
depth: 8
size (component2) +
size (component3)
- * "RGB8_PALETTED" 8-bit paletted RGB
+ "RGB8_PALETTED" 8-bit paletted RGB
Component 0: R
depth: 8
default rstride: RU4 (width)
default size: rstride (image) * height
- * "YUV9" planar 4:1:0 YUV
+ "YUV9" planar 4:1:0 YUV
Component 0: Y
depth: 8
size (component1) +
size (component2)
- * "YVU9" planar 4:1:0 YUV (like YUV9 but UV planes swapped)
+ "YVU9" planar 4:1:0 YUV (like YUV9 but UV planes swapped)
Component 0: Y
depth: 8
size (component1) +
size (component2)
- * "IYU1" packed 4:1:1 YUV (Cb-Y0-Y1-Cr-Y2-Y3 ...)
+ "IYU1" packed 4:1:1 YUV (Cb-Y0-Y1-Cr-Y2-Y3 ...)
+--+--+--+ +--+--+--+
|B0|G0|R0| |B1|G1|R1| ...
default rstride: RU4 (RU4 (width) + RU4 (width) / 2)
default size: rstride (image) * height
- * "ARGB64" rgb with alpha channel first, 16 bits per channel
+ "ARGB64" rgb with alpha channel first, 16 bits per channel
+--+--+--+--+ +--+--+--+--+
|A0|R0|G0|B0| |A1|R1|G1|B1| ...
default rstride: width * 8
default size: rstride (image) * height
- * "AYUV64" packed 4:4:4 YUV with alpha channel, 16 bits per channel (A0-Y0-U0-V0 ...)
+ "AYUV64" packed 4:4:4 YUV with alpha channel, 16 bits per channel (A0-Y0-U0-V0 ...)
+--+--+--+--+ +--+--+--+--+
|A0|Y0|U0|V0| |A1|Y1|U1|V1| ...
default rstride: width * 8
default size: rstride (image) * height
- * "r210" packed 4:4:4 RGB, 10 bits per channel
+ "r210" packed 4:4:4 RGB, 10 bits per channel
+--+--+--+ +--+--+--+
|R0|G0|B0| |R1|G1|B1| ...