Log in

View Full Version : Splice: Video formats don't match :-(


JonE
19th May 2011, 13:01
OK, I give in, what parameters need to match ? I match the frame rate, image size and colour format, what else is there ?

m1 = ImageSource("..\_common\bbc_testCard_C_720x576.jpg", end = 100).AssumeFps(25).BilinearResize(320,240).ConvertToRGB()
m2 = DirectShowSource("FrameNumberTest_DivX.avi",audio=false).AssumeFps(25).BilinearResize(320,240).ConvertToRGB()

return m1+m2

:confused:

TTFN,
Jon

cretindesalpes
19th May 2011, 13:07
I think you should specify RGB32 or RGB24.

JonE
19th May 2011, 14:25
D'oh !

Thanks ... hadn't clicked that ConvertRGB might produce different results. Funny this hasn't tripped me up before.

TTFN,
Jon

IanB
19th May 2011, 15:35
ConvertToRGB() converts to RGB32 except when it is already RGB24. Use ConvertToRGB32() for your case.