Pookie
22nd August 2006, 03:11
Trying to figure out a workaround on this one, but I'm feeling even dumber than usual.
PNG Sequence w Alpha Channel --> Add Motion Blur --> Output PNG Sequence w Alpha Channel
CoronaSequence("c:\input\*.png", sort=1)
converttoyv12() # kill the alpha channel
source=last
backward_vectors = source.MVAnalyse(isb = true, truemotion=true)
forward_vectors = source.MVAnalyse(isb = false, truemotion=true)
z=source.MVFlowBlur(backward_vectors, forward_vectors, blur=30)
return z.converttorgb32().ImageWriter("C:\output\",start=0, type = "png")
Beautiful looking motion blur, but alpha channel long gone...
Notes:
- I believe CoronaSequence output is RGB32
- MVtools requires YV12 or YUY2
- Perhaps motion blur that works in RGB is available?
- Perhaps Masktools could create a Pseudo Alpha Mask which can be layered back on the image sequence ?
PNG Sequence w Alpha Channel --> Add Motion Blur --> Output PNG Sequence w Alpha Channel
CoronaSequence("c:\input\*.png", sort=1)
converttoyv12() # kill the alpha channel
source=last
backward_vectors = source.MVAnalyse(isb = true, truemotion=true)
forward_vectors = source.MVAnalyse(isb = false, truemotion=true)
z=source.MVFlowBlur(backward_vectors, forward_vectors, blur=30)
return z.converttorgb32().ImageWriter("C:\output\",start=0, type = "png")
Beautiful looking motion blur, but alpha channel long gone...
Notes:
- I believe CoronaSequence output is RGB32
- MVtools requires YV12 or YUY2
- Perhaps motion blur that works in RGB is available?
- Perhaps Masktools could create a Pseudo Alpha Mask which can be layered back on the image sequence ?