6 width, G_TYPE_INT, mandatory
7 The width of the image in pixels.
9 height, G_TYPE_INT, mandatory
10 The height of the image in pixels
12 framerate, GST_TYPE_FRACTION, default 0/1
13 The framerate of the video 0/1 for variable framerate
15 max-framerate, GST_TYPE_FRACTION, default as framerate
16 For variable framerates this would be the maximum framerate that
17 is expected. This value is only valid when the framerate is 0/1
19 views, G_TYPE_INT, default 1
20 The number of views for multiview video. Each buffer contains
21 multiple GstMetaVideo buffers that describe each view. use the frame id to
22 get access to the different views.
24 interlace-mode, G_TYPE_STRING, default progressive
25 The interlace mode. The following values are possible:
27 "progressive" : all frames are progressive
28 "interleaved" : 2 fields are interleaved in one video frame. Extra buffer
29 flags describe the field order.
30 "mixed" : progressive and interleaved frames, extra buffer flags describe
32 "fields" : 2 fields are stored in one buffer, use the frame ID
33 to get access to the required field. For multiview (the
34 views property > 1) the second field of view N is at N * 2.
35 Each view has only half the amount of lines as noted in the
36 height property, pads specifying the "fields" property
37 must be prepared for this.
39 chroma-site, G_TYPE_STRING, default UNKNOWN
40 The chroma siting of the video frames.
42 "jpeg" : GST_VIDEO_CHROMA_SITE_JPEG
43 "mpeg2": GST_VIDEO_CHROMA_SITE_MPEG2
44 "dv" : GST_VIDEO_CHROMA_SITE_DV
46 colorimetry, G_TYPE_STRING, default UNKNOWN
47 The colorimetry of the video frames predefined colorimetry is given with
54 pixel-aspect-ratio, GST_TYPE_FRACTION, default 1/1
55 The pixel aspect ration of the video
57 format, G_TYPE_STRING, mandatory
58 The format of the video
60 * "I420" planar 4:2:0 YUV
66 default rstride: RU4 (width)
67 default size: rstride (component0) * RU2 (height)
72 default offset: size (component0)
73 default rstride: RU4 (RU2 (width) / 2)
74 default size: rstride (component1) * RU2 (height) / 2
79 default offset: offset (component1) + size (component1)
80 default rstride: RU4 (RU2 (width) / 2)
81 default size: rstride (component2) * RU2 (height) / 2
84 default size: size (component0) +
88 * "YV12" planar 4:2:0 YUV
90 Same as I420 but with U and V planes swapped
96 default rstride: RU4 (width)
97 default size: rstride (component0) * RU2 (height)
102 default offset: offset (component2) + size (component2)
103 default rstride: RU4 (RU2 (width) / 2)
104 default size: rstride (component1) * RU2 (height) / 2
109 default offset: size (component0)
110 default rstride: RU4 (RU2 (width) / 2)
111 default size: rstride (component2) * RU2 (height) / 2
114 default size: size (component0) +
118 * "YUY2" packed 4:2:2 YUV
120 +--+--+--+--+ +--+--+--+--+
121 |Y0|U0|Y1|V0| |Y2|U2|Y3|V2| ...
122 +--+--+--+--+ +--+--+--+--+
140 default rstride: RU4 (width * 2)
141 default size: rstride (image) * height
144 * "YVYU" packed 4:2:2 YUV
146 Same as "YUY2" but with U and V planes swapped
148 +--+--+--+--+ +--+--+--+--+
149 |Y0|V0|Y1|U0| |Y2|V2|Y3|U2| ...
150 +--+--+--+--+ +--+--+--+--+
168 default rstride: RU4 (width * 2)
169 default size: rstride (image) * height
172 * "UYVY" packed 4:2:2 YUV
174 +--+--+--+--+ +--+--+--+--+
175 |U0|Y0|V0|Y1| |U2|Y2|V2|Y3| ...
176 +--+--+--+--+ +--+--+--+--+
194 default rstride: RU4 (width * 2)
195 default size: rstride (image) * height
198 * "AYUV" packed 4:4:4 YUV with alpha channel
200 +--+--+--+--+ +--+--+--+--+
201 |A0|Y0|U0|V0| |A1|Y1|U1|V1| ...
202 +--+--+--+--+ +--+--+--+--+
225 default rstride: width * 4
226 default size: rstride (image) * height
229 * "RGBx" sparse rgb packed into 32 bit, space last
231 +--+--+--+--+ +--+--+--+--+
232 |R0|G0|B0|X | |R1|G1|B1|X | ...
233 +--+--+--+--+ +--+--+--+--+
251 default rstride: width * 4
252 default size: rstride (image) * height
254 * "BGRx" sparse reverse rgb packed into 32 bit, space last
256 +--+--+--+--+ +--+--+--+--+
257 |B0|G0|R0|X | |B1|G1|R1|X | ...
258 +--+--+--+--+ +--+--+--+--+
276 default rstride: width * 4
277 default size: rstride (image) * height
279 * "xRGB" sparse rgb packed into 32 bit, space first
281 +--+--+--+--+ +--+--+--+--+
282 |X |R0|G0|B0| |X |R1|G1|B1| ...
283 +--+--+--+--+ +--+--+--+--+
301 default rstride: width * 4
302 default size: rstride (image) * height
304 * "xBGR" sparse reverse rgb packed into 32 bit, space first
306 +--+--+--+--+ +--+--+--+--+
307 |X |B0|G0|R0| |X |B1|G1|R1| ...
308 +--+--+--+--+ +--+--+--+--+
326 default rstride: width * 4
327 default size: rstride (image) * height
329 * "RGBA" rgb with alpha channel last
331 +--+--+--+--+ +--+--+--+--+
332 |R0|G0|B0|A0| |R1|G1|B1|A1| ...
333 +--+--+--+--+ +--+--+--+--+
356 default rstride: width * 4
357 default size: rstride (image) * height
359 * "BGRA" reverse rgb with alpha channel last
361 +--+--+--+--+ +--+--+--+--+
362 |B0|G0|R0|A0| |B1|G1|R1|A1| ...
363 +--+--+--+--+ +--+--+--+--+
386 default rstride: width * 4
387 default size: rstride (image) * height
389 * "ARGB" rgb with alpha channel first
391 +--+--+--+--+ +--+--+--+--+
392 |A0|R0|G0|B0| |A1|R1|G1|B1| ...
393 +--+--+--+--+ +--+--+--+--+
416 default rstride: width * 4
417 default size: rstride (image) * height
419 * "ABGR" reverse rgb with alpha channel first
421 +--+--+--+--+ +--+--+--+--+
422 |A0|R0|G0|B0| |A1|R1|G1|B1| ...
423 +--+--+--+--+ +--+--+--+--+
446 default rstride: width * 4
447 default size: rstride (image) * height
451 +--+--+--+ +--+--+--+
452 |R0|G0|B0| |R1|G1|B1| ...
453 +--+--+--+ +--+--+--+
471 default rstride: RU4 (width * 3)
472 default size: rstride (image) * height
476 +--+--+--+ +--+--+--+
477 |B0|G0|R0| |B1|G1|R1| ...
478 +--+--+--+ +--+--+--+
496 default rstride: RU4 (width * 3)
497 default size: rstride (image) * height
499 * "Y41B" planar 4:1:1 YUV
505 default rstride: RU4 (width)
506 default size: rstride (component0) * height
511 default offset: size (component0)
512 default rstride: RU16 (width) / 4
513 default size: rstride (component1) * height
518 default offset: offset (component1) + size (component1)
519 default rstride: RU16 (width) / 4
520 default size: rstride (component2) * height
523 default size: size (component0) +
527 * "Y42B" planar 4:2:2 YUV
533 default rstride: RU4 (width)
534 default size: rstride (component0) * height
539 default offset: size (component0)
540 default rstride: RU8 (width) / 2
541 default size: rstride (component1) * height
546 default offset: offset (component1) + size (component1)
547 default rstride: RU8 (width) / 2
548 default size: rstride (component2) * height
551 default size: size (component0) +
555 * "Y444" planar 4:4:4 YUV
561 default rstride: RU4 (width)
562 default size: rstride (component0) * height
567 default offset: size (component0)
568 default rstride: RU4 (width)
569 default size: rstride (component1) * height
574 default offset: offset (component1) + size (component1)
575 default rstride: RU4 (width)
576 default size: rstride (component2) * height
579 default size: size (component0) +
583 * "v210" packed 4:2:2 10-bit YUV, complex format
595 default rstride: RU48 (width) * 128
596 default size: rstride (image) * height
599 * "v216" packed 4:2:2 16-bit YUV, Y0-U0-Y1-V1 order
617 default rstride: RU8 (width * 2)
618 default size: rstride (image) * height
620 * "NV12" planar 4:2:0 YUV with interleaved UV plane
626 default rstride: RU4 (width)
627 default size: rstride (component0) * RU2 (height)
632 default offset: size (component0)
633 default rstride: RU4 (width)
638 default offset: offset (component1) + 1
639 default rstride: RU4 (width)
642 default size: RU4 (width) * RU2 (height) * 3 / 2
645 * "NV21" planar 4:2:0 YUV with interleaved VU plane
651 default rstride: RU4 (width)
652 default size: rstride (component0) * RU2 (height)
657 default offset: offset (component1) + 1
658 default rstride: RU4 (width)
663 default offset: size (component0)
664 default rstride: RU4 (width)
667 default size: RU4 (width) * RU2 (height) * 3 / 2
669 * "GRAY8" 8-bit grayscale
670 * "Y800" same as "GRAY8"
676 default rstride: RU4 (width)
677 default size: rstride (component0) * height
680 default size: size (component0)
682 * "GRAY16_BE" 16-bit grayscale, most significant byte first
688 default rstride: RU4 (width * 2)
689 default size: rstride (component0) * height
692 default size: size (component0)
694 * "GRAY16_LE" 16-bit grayscale, least significant byte first
695 * "Y16" same as "GRAY16_LE"
701 default rstride: RU4 (width * 2)
702 default size: rstride (component0) * height
705 default size: size (component0)
707 * "v308" packed 4:4:4 YUV
709 +--+--+--+ +--+--+--+
710 |Y0|U0|V0| |Y1|U1|V1| ...
711 +--+--+--+ +--+--+--+
729 default rstride: RU4 (width * 3)
730 default size: rstride (image) * height
733 * "RGB16" rgb 5-6-5 bits per component
735 +--+--+--+ +--+--+--+
736 |R0|G0|B0| |R1|G1|B1| ...
737 +--+--+--+ +--+--+--+
752 default rstride: RU4 (width * 2)
753 default size: rstride (image) * height
755 * "BGR16" reverse rgb 5-6-5 bits per component
757 +--+--+--+ +--+--+--+
758 |B0|G0|R0| |B1|G1|R1| ...
759 +--+--+--+ +--+--+--+
774 default rstride: RU4 (width * 2)
775 default size: rstride (image) * height
777 * "RGB15" rgb 5-5-5 bits per component
779 +--+--+--+ +--+--+--+
780 |R0|G0|B0| |R1|G1|B1| ...
781 +--+--+--+ +--+--+--+
796 default rstride: RU4 (width * 2)
797 default size: rstride (image) * height
799 * "BGR15" reverse rgb 5-5-5 bits per component
801 +--+--+--+ +--+--+--+
802 |B0|G0|R0| |B1|G1|R1| ...
803 +--+--+--+ +--+--+--+
818 default rstride: RU4 (width * 2)
819 default size: rstride (image) * height
821 * "UYVP" packed 10-bit 4:2:2 YUV (U0-Y0-V0-Y1 U2-Y2-V2-Y3 U4 ...)
833 default rstride: RU4 (width * 2 * 5)
834 default size: rstride (image) * height
836 * "A420" planar 4:4:2:0 AYUV
842 default rstride: RU4 (width)
843 default size: rstride (component0) * RU2 (height)
848 default offset: size (component0)
849 default rstride: RU4 (RU2 (width) / 2)
850 default size: rstride (component1) * (RU2 (height) / 2)
855 default offset: size (component0) + size (component1)
856 default rstride: RU4 (RU2 (width) / 2)
857 default size: rstride (component2) * (RU2 (height) / 2)
862 default offset: size (component0) + size (component1) +
864 default rstride: RU4 (width)
865 default size: rstride (component3) * RU2 (height)
868 default size: size (component0) +
873 * "RGB8_PALETTED" 8-bit paletted RGB
886 default rstride: RU4 (width)
887 default size: rstride (image) * height
889 * "YUV9" planar 4:1:0 YUV
895 default rstride: RU4 (width)
896 default size: rstride (component0) * height
901 default offset: size (component0)
902 default rstride: RU4 (RU4 (width) / 4)
903 default size: rstride (component1) * (RU4 (height) / 4)
908 default offset: offset (component1) + size (component1)
909 default rstride: RU4 (RU4 (width) / 4)
910 default size: rstride (component2) * (RU4 (height) / 4)
913 default size: size (component0) +
917 * "YVU9" planar 4:1:0 YUV (like YUV9 but UV planes swapped)
923 default rstride: RU4 (width)
924 default size: rstride (component0) * height
929 default offset: offset (component2) + size (component2)
930 default rstride: RU4 (RU4 (width) / 4)
931 default size: rstride (component1) * (RU4 (height) / 4)
936 default offset: size (component0)
937 default rstride: RU4 (RU4 (width) / 4)
938 default size: rstride (component2) * (RU4 (height) / 4)
941 default size: size (component0) +
945 * "IYU1" packed 4:1:1 YUV (Cb-Y0-Y1-Cr-Y2-Y3 ...)
947 +--+--+--+ +--+--+--+
948 |B0|G0|R0| |B1|G1|R1| ...
949 +--+--+--+ +--+--+--+
967 default rstride: RU4 (RU4 (width) + RU4 (width) / 2)
968 default size: rstride (image) * height
970 * "ARGB64" rgb with alpha channel first, 16 bits per channel
972 +--+--+--+--+ +--+--+--+--+
973 |A0|R0|G0|B0| |A1|R1|G1|B1| ...
974 +--+--+--+--+ +--+--+--+--+
997 default rstride: width * 8
998 default size: rstride (image) * height
1000 * "AYUV64" packed 4:4:4 YUV with alpha channel, 16 bits per channel (A0-Y0-U0-V0 ...)
1002 +--+--+--+--+ +--+--+--+--+
1003 |A0|Y0|U0|V0| |A1|Y1|U1|V1| ...
1004 +--+--+--+--+ +--+--+--+--+
1027 default rstride: width * 8
1028 default size: rstride (image) * height
1030 * "r210" packed 4:4:4 RGB, 10 bits per channel
1032 +--+--+--+ +--+--+--+
1033 |R0|G0|B0| |R1|G1|B1| ...
1034 +--+--+--+ +--+--+--+
1049 default rstride: width * 4
1050 default size: rstride (image) * height