View Single Post
Old 29th May 2012, 14:23   #15  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
mg262's CompareVersions

Code:
Function CompareVersions(clip A, clip B, bool "copy") {
# (c) mg262, http://forum.doom9.org/showthread.php?p=679687#post679687 
 	A=A.ConvertToYUY2()
 	B=B.ConvertToYUY2()

	copy = default(copy, false)

	halfwidth = A.Width()/2

	left  = A.crop(0, 0, halfwidth,0)
	right = copy ? B.crop(0, 0, halfwidth,0) : B.crop(halfwidth, 0, 0, 0)

	return stackHorizontal(left, right)
}
EDIT: By the way, the vectorscope images on ColourLike thread, I think the upper two images
are the source images (eg dvd and vhs) and the lower two are the two images produced via
ColourLike when converting eg dvd->vhs colors and vhs->dvd colors.
EDIT: There is a native Avisynth version of VectorScope on WarpEnterprises, modded by Wilbert.

EDIT: Updated ColourLike helpfile

EDIT: ColorYUV2() now available here, with Graffers:
http://forum.doom9.org/showthread.php?t=156774
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 1st June 2012 at 03:29.
StainlessS is offline   Reply With Quote