Quote:
Originally Posted by blaze077
Could anyone tell me why Avisynth gives an error when trying to use the chroma planes of YV12 videos that output a non-mod2 chroma plane but have a mod2 luma resolution?
Resolutions such as: 1760x990 or 1504x846
Script:
Code:
BlankClip(240, 1760, 990, pixel_type="YV12").UToY()
"Filter Error: Attempted to request a planar frame that wasn't mod2 in height!"
The BlankClip filter call alone works well.
Thank you.
EDIT: How would one process the chroma separately in this case? UToY() outputs a YV12 video so it cannot be non-mod2. And adding a ConvertToY8() call after UToY() also does not work.
|
UToY is old, it's for avs25, use UToY8 is avs26
and in avs+ there are ExtractU