PhillipWyllie
7th March 2007, 18:12
I'd like to compare the luma of each field for each frame in a blended-fields(interlaced) video source to try and detect where blending may occur. When a frame is found I'd like to write the frame to a file(eBMP) for later comparison. I thought all I needed to do was to cast the result of lumaDifference into a variable(diff) and then use (diff<threshold) ? imagewriter:nop. But it seems I can't cast the result into the variable diff( I get an error about invalid arguments to lumaDifference and about needing things to compare in the operand <). I can get the result printed onto the video using scriptClip. Any help would be appreciated.
Thanks
Thanks