View Full Version : Aliasing again, need some help
dragon_warrior
2nd May 2011, 04:30
The title says it all, I've ran into a badly aliased video again, as can be seen from the capture below:
http://thumbnails22.imagebam.com/13045/1e335c130443681.jpg (http://www.imagebam.com/image/1e335c130443681)
Another problem relating to antialiasing was perfectly resolved by Didee: http://forum.doom9.org/showthread.php?t=160362. Unfortunately, seems the script doesn't work well with this type of video.
So here is sample :http://www.mediafire.com/download.php?q636sn6uvr0ypz6
One more question: Is this video hybrid? I once used tdecimate to generate the mkv timecodes and it tells me 86% film and 14% interlaced.
Thank you :thanks:
manono
2nd May 2011, 08:45
So here is sample :http://forum.doom9.org/showthread.php?t=160362
That points to the same thread linked in the previous line, not to a sample.
dragon_warrior
2nd May 2011, 09:30
oh, sorry about that
a proper link: http://www.mediafire.com/download.php?q636sn6uvr0ypz6
Aliasing is only the 2nd-order problem. 1st-order problem is that in the split-scene, the pulldown between left & right pane is not synced.
(That's no problem when the DVD is straighton played on a NTSC TV set @ 30i .... but definetly a problem when you want to recover 24p.)
Quick attempt: (try to) reckognize if a split-scene is present. If yes, use two independent IVTC's for each half. If no, use normal IVTC.
mpeg2source("D:\sample1.d2v")
full = tfm(mode=4,slow=2).TDecimate() # .subtitle("fullscene")
left = crop(0,0,360,0).tfm(mode=4,slow=2).TDecimate() # .subtitle("left")
right = crop(360,0,0,0).tfm(mode=4,slow=2).TDecimate() # .subtitle("right")
split = stackhorizontal(left,right)
top = split.crop(32,16,64,32)
mid = split.crop(32,160,64,32) # currently not used, though it probably should ...
xx = mt_lutf(top,top,mode="average")
msk = xx.mt_lut("x 17 - 255 *").greyscale.pointresize(width,height)
split.mt_merge(full,msk,luma=true,U=3,V=3)
return(last)
Seems to work on this sample. Maybe it would be necessary/more safe to make an additional check with the "mid" snipplet, in order to decide how the "top" snipplet should be judged when it's black.
*lunchbreak is over*
dragon_warrior
2nd May 2011, 16:05
yeah, probably the desync between split scenes is what caused "fake" interlaced
and with the help of your script, some of the aliasing has been removed
dragon_warrior
3rd May 2011, 05:46
Almost forgot, when should I call the antialiasing function? Before or after the IVTC?
After IVTC, when everything is progressive.
dragon_warrior
4th May 2011, 07:18
Ah, this stuff is not that easy to process
Sorry to bother you, but what is exactly the "dots" (on her hair) called?
http://thumbnails24.imagebam.com/13077/f275eb130761141.jpg (http://www.imagebam.com/image/f275eb130761141) http://thumbnails28.imagebam.com/13077/e187d9130761161.jpg (http://www.imagebam.com/image/e187d9130761161)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.