View Single Post
Old 13th November 2002, 14:57   #11  |  Link
hakko504
Remember Rule One
 
hakko504's Avatar
 
Join Date: Oct 2001
Location: SWEDEN
Posts: 1,611
@trbarry

Would it be possible for you to implement a correct BOB mode in TomsMoComp? Right now you can use it to create a smart bob function, but there are some minor details that isn't right if I do it the way I currently does it.
Code:
function Bob1(clip clip)
{
Top=clip.TomsMoComp(1,15,1)
Bottom=clip.TomsMoComp(0,15,1)
return Interleave(Top,Bottom)
}

function Bob2(clip clip)
{
double=clip.separatefields.DoubleWeave
return TomsMoComp(1,15,1)
}
Assuming (as usual) that the input clip cosists of 1t1b 2t2b etc, then Bob1 will create the sequence 1t1b 1t1b 2t2b 2t2b... where the fields in italics are the ones altered by TomsMoComp. Bob2 on the other hand will create the following sequence: 1t1b 2t1b 2t2b 3t2b which is slightly more like it, the fields appear in the correct order, but this time only the bottoms fields are adjusted. As far as I can tell a true smart bob should create this sequence: 1t1b 2t1b 2t2b 3t2b

Other than that, I just want to say thank you to all involved in AviSynth 2.5a. With a proper deinterlacer available it is finally time to switch completely, as I usually only do quick conversions with source->deinterlace->resize most of the time.
__________________
/hakko

http://www.boardgamegeek.com
hakko504 is offline   Reply With Quote