Extract
From Avisynth wiki
(Difference between revisions)
m (correction) |
m |
||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
<div style="max-width:82em; min-width:42em;" > | <div style="max-width:82em; min-width:42em;" > | ||
+ | <div {{BlueBox2|40|0|3px solid purple}} > | ||
+ | {{AvsPlusFullname}}<br> | ||
+ | Up-to-date documentation: [https://avisynthplus.readthedocs.io/en/latest/avisynthdoc/corefilters/extract.html https://avisynthplus.readthedocs.io] | ||
+ | </div> | ||
+ | |||
+ | |||
{{AvsPlusFilter}} | {{AvsPlusFilter}} | ||
__TOC__ | __TOC__ | ||
Line 6: | Line 12: | ||
<div style="max-width:62em; min-width:42em;" > | <div style="max-width:62em; min-width:42em;" > | ||
+ | |||
Extract a plane from the source clip.<br> | Extract a plane from the source clip.<br> | ||
Resulting clip is ''Y''-only ([[Y8]], [[Avisynthplus_color_formats|Y10]] etc. as appropriate)<br> | Resulting clip is ''Y''-only ([[Y8]], [[Avisynthplus_color_formats|Y10]] etc. as appropriate)<br> |
Latest revision as of 06:33, 18 September 2022
AviSynth+
Up-to-date documentation: https://avisynthplus.readthedocs.io
AVS+ |
---|
This feature is specific to AviSynthPlus. It is not supported in other AviSynth versions. |
Contents |
Extract a plane from the source clip.
Resulting clip is Y-only (Y8, Y10 etc. as appropriate)
Replaces ShowAlpha/Red/Green/Blue, UToY/VToY and ConvertToY8 with high bit depth support.
[edit] Syntax and Parameters
ExtractY(clip)
ExtractU(clip)
ExtractV(clip)
ExtractA(clip)
ExtractR(clip)
ExtractG(clip)
ExtractB(clip)
PlaneToY(clip, string plane)
- clip =
- Source clip.
- If specified plane does not exist, an error is raised.
- string plane = "Y"
- The color plane to be extracted.
- If specified plane does not exist, an error is raised.
ShowY(clip, string pixel_type)
ShowU(clip, string pixel_type)
ShowV(clip, string pixel_type)
- clip =
- Source clip. Accepts 8-16 integer bit depths, but not Float.
- If specified plane does not exist, an error is raised.
- string pixel_type = (same as clip)
- Set color format of the returned clip.
- Cannot convert bit depths or YUV↔RGB, but can convert from 4:4:4 to 4:2:0 etc.
[edit] Changes
20161116 | first added, replacing AToY8, GToY8, BToY8, RToY8 |