View Single Post
Old 20th August 2016, 14:22   #4  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,664
Quote:
Originally Posted by davidhorman View Post
Quote:
The best I tried is the SimpleResize, but the YV24 and RGB24 color formats aren't supported, so I have a loss of accuracy for the colors
You can always take the three RGB channels, convert them to separate clips, and use simpleresize on each one. Something like this:

Code:
r=clip.showred.converttoyv12
g=clip.showgreen.converttoyv12
b=clip.showblue.converttoyv12

r2=r.simpleresize(... , ...)
g2=g.simpleresize(... , ...)
b2=b.simpleresize(... , ...)

mergergb(r2,g2,b2)
ShowRed().ConvertToYV12() is not lossless, ShowRed("YV12") is.

Code:
r=clip.ShowRed("YV12")
g=clip.ShowGreen("YV12")
b=clip.ShowBlue("YV12")

r2=r.SimpleResize(... , ...)
g2=g.SimpleResize(... , ...)
b2=b.SimpleResize(... , ...)

MergeRGB(r2,g2,b2)
Reel.Deel is offline   Reply With Quote