Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
FFmpeg
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Pixel formats === {{More citations needed section|date=July 2022}} {| class="wikitable mw-collapsible mw-collapsed" ! rowspan=2| Type ! rowspan=2| Color ! colspan=2| [[Packed pixel|Packed]] ! colspan=3| [[Planar (computer graphics)|Planar]] ! [[Indexed color|Palette]] |- ! Without alpha !! With [[Alpha compositing|alpha]] !! Without alpha !! With alpha !! Chroma-interleaved !! With alpha |- ! rowspan=2 | [[Monochrome]] | [[Binary image|Binary]] (1-bit monochrome) || {{yes|monoblack, monowhite}} || {{sdash}} || {{sdash}} || {{sdash}} || {{sdash}} || {{sdash}} |- | [[Grayscale]] || {{yes|8/9/10/12/14/16bpp}} || {{sdash}} || {{sdash}} || {{yes|16/32bpp}} || {{sdash}} || {{sdash}} |- ! rowspan=6 | [[RGB]] | RGB 1:2:1 (4-bit color) || {{yes|4bpp}} || {{sdash}} || {{sdash}} || {{sdash}} || {{sdash}} || {{sdash}} |- | RGB 3:3:2 ([[8-bit color]]) || {{yes|8bpp}} || {{sdash}} || {{sdash}} || {{sdash}} || {{sdash}} || {{sdash}} |- | RGB 5:5:5 ([[High color]]) || {{yes|16bpp}} || {{sdash}} || {{sdash}} || {{sdash}} || {{sdash}} || {{sdash}} |- | RGB 5:6:5 (High color) || {{yes|16bpp}} || {{sdash}} || {{sdash}} || {{sdash}} || {{sdash}} || {{sdash}} |- | RGB/BGR || {{yes|24/30<ref group="p">10-bit color components with 2-bit padding (X2RGB10)</ref>/48bpp}} || {{yes|32<ref group="p">RGBx (rgb0) and xBGR (0bgr) are also supported</ref>/64bpp}} || {{sdash}} || {{sdash}} || {{sdash}} || {{yes|8bit->32bpp}} |- | GBR<ref group="p">used in YUV-centric codecs such like H.264</ref> || {{sdash}} || {{sdash}} || {{yes|8/9/10/12/14/16bpc}} || {{yes|8/10/12/16bpc}} || {{sdash}} || {{sdash}} |- ! rowspan=2 | RGB [[Floating-point arithmetic|Float]] | RGB || {{yes|32bpc}} || {{yes|16/32bpc}} || {{sdash}} || {{sdash}} || {{sdash}} || {{sdash}} |- | GBR || {{sdash}} || {{sdash}} || {{yes|32bpc}} || {{yes|32bpc}} || {{sdash}} || {{sdash}} |- ! rowspan=10 | [[YUV]] | YVU 4:1:0 || {{sdash}} || {{sdash}} || {{no|(9bpp (YVU9))<ref group="p" name="pixfmt-rawvideo">YVU9, YV12, YV16, and YV24 are supported as ''rawvideo'' codec in FFmpeg.</ref>}} || {{sdash}} || {{sdash}} || {{sdash}} |- | YUV 4:1:0 || {{sdash}} || {{sdash}} || {{yes|9bpp}} || {{sdash}} || {{sdash}} || {{sdash}} |- | YUV 4:1:1 || {{yes|8bpc (UYYVYY)}} || {{sdash}} || {{yes|8bpc}} || {{sdash}} || {{no|(8bpc (NV11))}} || {{sdash}} |- | YVU 4:2:0 || {{sdash}} || {{sdash}} || {{no|(8bpc (YV12))<ref group="p" name="pixfmt-rawvideo" />}} || {{sdash}} || {{yes|8 (NV21)}} || {{sdash}} |- | YUV 4:2:0 || {{sdash}} || {{sdash}} || {{yes|8<ref group="p">I420<!--Windows, libvpx, libx264, libx265--> a.k.a. YUV420P<!--FFmepg, Video4Linux2--></ref>/9/10/12/14/16bpc}} || {{yes|8/9/10/16bpc}} || {{yes|8 (NV12)/10 (P010)/12 (P012)/16bpc (P016)}} || {{sdash}} |- | YVU 4:2:2 || {{sdash}} || {{sdash}} || {{no|(8bpc (YV16))<ref group="p" name="pixfmt-rawvideo" />}} || {{sdash}} || {{no|(8bpc (NV61))}} || {{sdash}} |- | YUV 4:2:2 || {{partial|8 (YUYV<ref group="p">aka YUY2 in Windows</ref> and UYVY)/10 (Y210)/12bpc (Y212)<ref group="p">UYVY 10bpc without a padding is supported as ''bitpacked'' codec in FFmpeg. UYVY 10bpc with 2-bits padding is supported as ''v210'' codec in FFmpeg. 16bpc (Y216) is supported as ''targa_y216'' codec in FFmpeg.</ref>}} || {{sdash}} || {{yes|8<ref group="p">I422 a.k.a. YUV422P</ref>/9/10/12/14/16bpc}} || {{yes|8/9/10/12/16bpc}} || {{yes|8 (NV16)/10 (NV20 and P210)/16bpc (P216)}} || {{sdash}} |- | YUV 4:4:0 || {{sdash}} || {{sdash}} || {{yes|8/10/12bpc}} || {{sdash}} || {{sdash}} || {{sdash}} |- | YVU 4:4:4 || {{sdash}} || {{sdash}} || {{no|(8bpc (YV24))<ref group="p" name="pixfmt-rawvideo" />}} || {{sdash}} || {{yes|8bpc (NV42)}} || {{sdash}} |- | YUV 4:4:4 || {{partial|8 (VUYX)/10<ref group="p">XV30 a.k.a. XVYU2101010</ref>/12bpc<ref group="p">XV36</ref>}}|| {{yes|8<ref group="p">VUYA a.k.a. AYUV</ref> / 16bpc (AYUV64)<ref group="p">10bpc (Y410), 12bpc (Y412), and Y416 (16bpc) are not supported.</ref> }} || {{yes|8<ref group="p">I444 a.k.a. YUV444P</ref>/9/10/12/14/16bpc}} || {{yes|8/9/10/12/16bpc}} || {{yes|8 (NV24)/10 (P410)/ 16bpc (P416)}} || {{sdash}} |- ! [[CIE 1931 color space|XYZ]] | XYZ 4:4:4<ref group="p">used in JPEG2000</ref> || {{yes|12bpc}} || {{sdash}} || {{sdash}} || {{sdash}} || {{sdash}} || {{sdash}} |- ! [[Bayer filter|Bayer]] | BGGR/RGGB/GBRG/GRBG || {{yes|8/16bpp}} || {{sdash}} || {{sdash}} || {{sdash}} || {{sdash}} || {{sdash}} |} <references group="p" /> FFmpeg does not support IMC1-IMC4, AI44, CYMK, [[RGBE image format|RGBE]], Log RGB and other formats. It also does not yet support [[ARGB]] <abbr title="ARGB1555">1:5:5:5</abbr>, <abbr title="A2R10G10B10">2:10:10:10</abbr>, or other [[BMP file format#RGB video subtypes|BMP bitfield]] formats that are not commonly used.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)