Avisynthplus color formats
From Avisynth wiki
(Difference between revisions)
Raffriff42 (Talk | contribs) (Add Fourcc, Version columns) |
Raffriff42 (Talk | contribs) m (tweak appearance) |
||
Line 16: | Line 16: | ||
| style="text-align:right;padding-right:3em" | 8 | | style="text-align:right;padding-right:3em" | 8 | ||
| style="text-align:center" | x | | style="text-align:center" | x | ||
− | | style="text-align:center" | | + | | style="text-align:center" | {{AvsIcon2}} |
| | | | ||
|- | |- | ||
Line 32: | Line 32: | ||
| style="text-align:right;padding-right:3em" | 8 | | style="text-align:right;padding-right:3em" | 8 | ||
| style="text-align:center" | x | | style="text-align:center" | x | ||
− | | style="text-align:center" | | + | | style="text-align:center" | {{AvsIcon2}} |
| | | | ||
|- | |- | ||
Line 144: | Line 144: | ||
| style="text-align:right;padding-right:3em" | 8 | | style="text-align:right;padding-right:3em" | 8 | ||
| | | | ||
− | | style="text-align:center" | | + | | style="text-align:center" | {{AvsIcon2}} |
| ''aka YUV444, YV24'' | | ''aka YUV444, YV24'' | ||
|- | |- | ||
Line 192: | Line 192: | ||
| style="text-align:right;padding-right:3em" | 8 | | style="text-align:right;padding-right:3em" | 8 | ||
| | | | ||
− | | style="text-align:center" | | + | | style="text-align:center" | {{AvsIcon2}} |
| ''aka YUVA444'' | | ''aka YUVA444'' | ||
|- | |- | ||
Line 240: | Line 240: | ||
| style="text-align:right;padding-right:3em" | 8 | | style="text-align:right;padding-right:3em" | 8 | ||
| style="text-align:center" | x | | style="text-align:center" | x | ||
− | | style="text-align:center" | | + | | style="text-align:center" | {{AvsIcon2}} |
| | | | ||
|- | |- | ||
Line 248: | Line 248: | ||
| style="text-align:right;padding-right:3em" | 8 | | style="text-align:right;padding-right:3em" | 8 | ||
| | | | ||
− | | style="text-align:center" | | + | | style="text-align:center" | {{AvsIcon2}} |
| ''aka YUV422, YV16'' | | ''aka YUV422, YV16'' | ||
|- | |- | ||
Line 296: | Line 296: | ||
| style="text-align:right;padding-right:3em" | 8 | | style="text-align:right;padding-right:3em" | 8 | ||
| | | | ||
− | | style="text-align:center" | | + | | style="text-align:center" | {{AvsIcon2}} |
| ''aka YUVA422'' | | ''aka YUVA422'' | ||
|- | |- | ||
Line 344: | Line 344: | ||
| style="text-align:right;padding-right:3em" | 8 | | style="text-align:right;padding-right:3em" | 8 | ||
| | | | ||
− | | style="text-align:center" | | + | | style="text-align:center" | {{AvsIcon2}} |
| ''aka YUV420, YV12'' | | ''aka YUV420, YV12'' | ||
|- | |- | ||
Line 352: | Line 352: | ||
| style="text-align:right;padding-right:3em" | 8 | | style="text-align:right;padding-right:3em" | 8 | ||
| | | | ||
− | | style="text-align:center" | | + | | style="text-align:center" | {{AvsIcon2}} |
| ''aka YUV420, YV12'' | | ''aka YUV420, YV12'' | ||
|- | |- | ||
Line 400: | Line 400: | ||
| style="text-align:right;padding-right:3em" | 8 | | style="text-align:right;padding-right:3em" | 8 | ||
| | | | ||
− | | style="text-align:center" | | + | | style="text-align:center" | {{AvsIcon2}} |
| ''aka YUVA420'' | | ''aka YUVA420'' | ||
|- | |- | ||
Line 448: | Line 448: | ||
| style="text-align:right;padding-right:3em" | 8 | | style="text-align:right;padding-right:3em" | 8 | ||
| | | | ||
− | | style="text-align:center" | | + | | style="text-align:center" | {{AvsIcon2}} |
| ''aka YUV411, YV411'' | | ''aka YUV411, YV411'' | ||
|- | |- | ||
Line 464: | Line 464: | ||
| style="text-align:right;padding-right:3em" | 8 | | style="text-align:right;padding-right:3em" | 8 | ||
| style="text-align:center" | (both) | | style="text-align:center" | (both) | ||
− | | style="text-align:center" | | + | | style="text-align:center" | {{AvsIcon2}} |
| | | | ||
|- | |- | ||
Line 508: | Line 508: | ||
|} | |} | ||
{{HiddenAnchor|footnotes}} | {{HiddenAnchor|footnotes}} | ||
− | {{BoldColor|black|140|¹}} ''[[FourCC]]: 4 characters used to identify media data formats. Data from [https://www.ffmpeg.org/ ffmpeg]. Unknown if blank.'' | + | |
− | {{BoldColor|black|140|²}} ''32bit is floating-point; all others are integer.'' | + | {| border="0" |
− | {{BoldColor|black|140|³}} ''[[Interleaved]] if marked; else [[Planar]].'' | + | |- |
− | {{BoldColor|black|100|§}} ''VfW only: this format is served to [[wikipedia:Video_for_Windows|Video for Windows]] clients but not used within AviSynth'' | + | |align="center" style="width:3em"|{{AvsIcon2}} |
− | {{BoldColor|black|100|§}} ''v210 output requires [[Internal_functions#OPT_Enable_V210|OPT_Enable_V210]]'' | + | | Supported in AviSynth 2.6.x |
+ | |- | ||
+ | |align="center"|{{AvsPluscon2}} | ||
+ | | Supported in both AviSynth & AviSynth+ | ||
+ | |- | ||
+ | |align="center"|{{BoldColor|black|140|¹}} | ||
+ | |''[[FourCC]]: 4 characters used to identify media data formats. Data from [https://www.ffmpeg.org/ ffmpeg]. Unknown if blank.'' | ||
+ | |- | ||
+ | |align="center"|{{BoldColor|black|140|²}} | ||
+ | |''32bit is floating-point; all others are integer.'' | ||
+ | |- | ||
+ | |align="center"|{{BoldColor|black|140|³}} | ||
+ | |''[[Interleaved]] if marked; else [[Planar]].'' | ||
+ | |- | ||
+ | |align="center"|{{BoldColor|black|100|§}} | ||
+ | |''VfW only: this format is served to [[wikipedia:Video_for_Windows|Video for Windows]] clients but not used within AviSynth'' | ||
+ | |- | ||
+ | |align="center"|{{BoldColor|black|100|§}} | ||
+ | |''v210 output requires [[Internal_functions#OPT_Enable_V210|OPT_Enable_V210]]'' | ||
+ | |} | ||
===== See also: ===== | ===== See also: ===== | ||
Line 527: | Line 546: | ||
[[Category:Avisynthplus]] | [[Category:Avisynthplus]] | ||
+ | <!-- | ||
+ | |||
+ | {| style="height:100px; border="1" cellpadding="4" class="wikitable" | ||
+ | |- | ||
+ | !Name | ||
+ | !Formats | ||
+ | |- | ||
+ | | All | ||
+ | | RGB, YUV | ||
+ | |- | ||
+ | | [[RGB]] | ||
+ | | [[RGB24]], [[RGB32]] | ||
+ | |- | ||
+ | | [[YUV]] | ||
+ | | [[YUY2]], YUV Planar | ||
+ | |- | ||
+ | | YUV [[Planar]] | ||
+ | | [[YV24]]♦, [[YV16]]♦, [[YV12]], [[YV411]]♦, [[Y8]]♦ | ||
+ | |} | ||
+ | |||
+ | {| border="0" | ||
+ | |- | ||
+ | | colspan="2"|''Notes and exceptions.'' | ||
+ | |- | ||
+ | | style="width:1.5em" |♦ | ||
+ | | Not supported in AviSynth version 2.58 or below | ||
+ | |- | ||
+ | | § | ||
+ | | 8-bit only; no [[Deep_Color|Deep color]] | ||
+ | |- | ||
+ | | ♥ | ||
+ | | 32-bit Float not supported (8, 10, 12, 14, 16 bit) | ||
+ | |- | ||
+ | | ¦ | ||
+ | | [[Planar]] color not supported | ||
+ | |- | ||
+ | | ? | ||
+ | | [[Interleaved]] color not supported | ||
+ | |} | ||
+ | |||
+ | --> |
Revision as of 04:28, 16 October 2017
AviSynth+ |
---|
All AVS+ color formats (pixel types)
Group | PixelType | FourCC¹ | Bit depth² | Interleaved³ | Version | Remarks |
---|---|---|---|---|---|---|
RGB | RGB24 | BGR[24]
|
8 | x | [A] | |
RGB | RGB48 | BGR0
|
16 | x | [+] | |
RGBA | RGB32 | BGRA
|
8 | x | [A] | |
RGBA | RGB64 | BRA[64]
|
16 | x | [+] | |
RGB | RGBP8 | G3[0][8]
|
8 | [+] | aka RGBP | |
RGB | RGBP10 | G3[0][10]
|
10 | [+] | ||
RGB | RGBP12 | G3[0][12]
|
12 | [+] | ||
RGB | RGBP14 | G3[0][14]
|
14 | [+] | ||
RGB | RGBP16 | G3[0][16]
|
16 | [+] | ||
RGB | RGBPS |
|
32 | [+] | ||
RGBA | RGBAP8 | G4[0][8]
|
8 | [+] | aka RGBAP | |
RGBA | RGBAP10 | G4[0][10]
|
10 | [+] | ||
RGBA | RGBAP12 | G4[0][12]
|
12 | [+] | ||
RGBA | RGBAP14 |
|
14 | [+] | ||
RGBA | RGBAP16 | G4[0][16]
|
16 | [+] | ||
RGBA | RGBAPS |
|
32 | [+] | ||
YUV444 | YUV444P8 | 444P
|
8 | [A] | aka YUV444, YV24 | |
YUV444 | YUV444P10 | Y3[0][10]
|
10 | [+] | ||
YUV444 | YUV444P12 | Y3[0][12]
|
12 | [+] | ||
YUV444 | YUV444P14 | Y3[0][14]
|
14 | [+] | ||
YUV444 | YUV444P16 | Y3[0][16]
|
16 | [+] | ||
YUV444 | YUV444PS |
|
32 | [+] | ||
YUVA444 | YUVA444P8 | Y4[0][8]
|
8 | [A] | aka YUVA444 | |
YUVA444 | YUVA444P10 | Y4[0][10]
|
10 | [+] | ||
YUVA444 | YUVA444P12 |
|
12 | [+] | ||
YUVA444 | YUVA444P14 |
|
14 | [+] | ||
YUVA444 | YUVA444P16 | Y4[0][16]
|
16 | [+] | ||
YUVA444 | YUVA444PS |
|
32 | [+] | ||
YUV422 | YUY2 | YUY2
|
8 | x | [A] | |
YUV422 | YUV422P8 | Y42B
|
8 | [A] | aka YUV422, YV16 | |
YUV422 | YUV422P10 | Y3[10][10]
|
10 | x | [+] | aka v210; VfW only § |
YUV422 | YUV422P12 | Y3[10][12]
|
12 | [+] | ||
YUV422 | YUV422P14 | Y3[10][14]
|
14 | [+] | ||
YUV422 | YUV422P16 | Y3[10][16]
|
16 | [+] | aka P216 | |
YUV422 | YUV422PS |
|
32 | [+] | ||
YUVA422 | YUVA422P8 | Y4[10][8]
|
8 | [A] | aka YUVA422 | |
YUVA422 | YUVA422P10 | Y4[10][10]
|
10 | [+] | ||
YUVA422 | YUVA422P12 |
|
12 | [+] | ||
YUVA422 | YUVA422P14 |
|
14 | [+] | ||
YUVA422 | YUVA422P16 | Y4[10][16]
|
16 | [+] | ||
YUVA422 | YUVA422PS |
|
32 | [+] | ||
YUV420 | YV12 | I420
|
8 | [A] | aka YUV420, YV12 | |
YUV420 | YUV420P8 | I420
|
8 | [A] | aka YUV420, YV12 | |
YUV420 | YUV420P10 | Y3[11][10]
|
10 | [+] | ||
YUV420 | YUV420P12 | Y3[11][12]
|
12 | [+] | ||
YUV420 | YUV420P14 | Y3[11][14]
|
14 | [+] | ||
YUV420 | YUV420P16 | Y3[11][16]
|
16 | [+] | ||
YUV420 | YUV420PS |
|
32 | [+] | ||
YUVA420 | YUVA420P8 | Y4[11][8]
|
8 | [A] | aka YUVA420 | |
YUVA420 | YUVA420P10 | Y4[11][10]
|
10 | [+] | ||
YUVA420 | YUVA420P12 |
|
12 | [+] | ||
YUVA420 | YUVA420P14 |
|
14 | [+] | ||
YUVA420 | YUVA420P16 | Y4[11][16]
|
16 | [+] | ||
YUV420 | YUVA420PS |
|
32 | [+] | ||
YUV411 | YUV411P8 | Y41B
|
8 | [A] | aka YUV411, YV411 | |
YUV410 | YUV9 |
|
8 | [+] | read only? | |
Y only | Y8 | Y800
|
8 | (both) | [A] | |
Y only | Y10 |
|
10 | (both) | [+] | |
Y only | Y12 |
|
12 | (both) | [+] | |
Y only | Y14 |
|
14 | (both) | [+] | |
Y only | Y16 | Y1[0][16]
|
16 | (both) | [+] | |
Y only | Y32 |
|
32 | (both) | [+] |
[A] | Supported in AviSynth 2.6.x |
[+] | Supported in both AviSynth & AviSynth+ |
¹ | FourCC: 4 characters used to identify media data formats. Data from ffmpeg. Unknown if blank. |
² | 32bit is floating-point; all others are integer. |
³ | Interleaved if marked; else Planar. |
§ | VfW only: this format is served to Video for Windows clients but not used within AviSynth |
§ | v210 output requires OPT_Enable_V210 |
See also:
External Links:
- 10-bit and 16-bit YUV Video Formats (microsoft.com)
- V210 (multimedia.cx)
- YUV pixel formats (fourcc.org)
- RGB pixel formats (fourcc.org)