Log in

View Full Version : Ulysses 31: Deinterlace without blendings


XadoX
24th January 2007, 15:04
Hi I already postet a topic @ the german doom9 forum (http://forum.gleitz.info/showthread.php?t=32791) but until now there was not much response.

If have got the DVDs from the old cartoon Ulysses 31. The picture is not the best so i was trying to clean it a little bit up. So i started to deinterlace, and here the problem already starts.

It seems to be a normwandlung (how is the english word for that), so i used the last Restore24 Version i found @ doom9 with its default settings.

After that the videoframerate changed from 25 to 23.9. The deinterlacing is done good but there are still much of these blendings around.

Can anybody please help? Here a smal sample (http://rapidshare.com/files/12092815/EP20_cut.m2v.html) of the video.

Mug Funky
24th January 2007, 15:30
haha! killer theme tune in that show.

i'd do a straight bob and spend a good amount of time checking out the video. i'm pretty sure that one was all Film, but it's so old (and the transfers are off one-inch), so it may be a pure 24fps transfer rather than an NTSC 23.976 fps transfer.

try the bob + changefps(7*23.976) + selectevery(7,x) combo. keep changing the "x" from 0 to 7 until there's no blends around. if there's no x that gives zero blends, either change the framerate to 7*24 or give up.

also bear in mind that being so old it's probably got that stupid temporal lag thing where bright objects persist for several frames... if that's the case then perfect deblending will be impossible.

remember to use a motion-adaptive bob, not internal bob...

XadoX
25th January 2007, 09:25
thx Mug Funk i've tried your suggestion. My deinterlacing line ist as follows:

TDeint(mode=1).changefps(7*23.976).selectevery(7,X)
In this case i receive the best result with the value 2 for the X. But this is the same result like Restore24 did before. There are still much of these blends around.

As I see there will be no good way to deinterlace these footage :(

MOmonster
25th January 2007, 10:01
Tdeint(mode=1)+Cdeblend(omode=3,bthresh=0.7) kills all blends in your short sample and will perform nice for all of these 12fps scenes. Lower the bthresh for better results with 24fps scenes. The right decimator is mostly the problem. Tdecimate mode 2 or 7 could perform nice.
Mrestore gives me a fluid output, but some blends are left. Maybe I should add a special 12fps code to the next version for better anime restoring.

XadoX
29th January 2007, 14:10
@MOmonster:
As so often before, the results of your deinterlacing scripts are very good, a few blendings still remain. But if i look at the result in motion the few blendings are not relay recognised.

Here a encoding (http://rapidshare.com/files/13929892/Sample.avi.html) with following script:
### PLUGIN LOAD ###
LoadPlugin("degrainmedian.dll")
LoadPlugin("fft3dfilter.dll")
LoadPlugin("aWarpSharp.dll")
LoadPlugin("LimitedSupport.dll")
LoadPlugin("mt_masktools.dll")
LoadPlugin("TDeint.dll")
LoadPlugin("tivtc.dll")

### IMPORTS ###
Import("cdeblend.avs")
Import("FastLinesDarken.avs")
Import("LimitedSharpenFaster.avs")

### SOURCE LOAD ###
MPEG2Source("EP20_cut.d2v", cpu=4, info=3)
#FadeIO(25)

### DEINTERLACE ###
TDeint(mode=1).Cdeblend(omode=3, bthresh=0.7)
Tdecimate(mode=2)

### HOT PIXEL ENTFERNUNG ###
DeGrainMedian(limitY=5,limitUV=5,mode=3)

### DENOISE ###
FFT3DFilter(Sigma=6,plane=4,wintype=1)

### Sharpen ###
FastLineDarken(strength=128,thinning=0)
aWarpSharp(depth=16,cm=1)
LimitedSharpenFaster()

### RESIZE ###
LanczosResize(704,528,10,2,698,572)

MOmonster
1st February 2007, 09:40
If you have the free space on your hd , I think it is useful to do a extra pass to a lossless temp.avi only with tdeint and Cdeblend (not tdecimate) and then use the other filters for the final encoding. Cdeblend have some little problems with the script combi. There will be less blends and maybe a better motion (because tdecimate works better this way) if you do this extra pass.
The quality of your small xvid sample is a bit too low for my opinion. IMO itīs not so profitable to use nice filters like tdeint and fft3d and then encode too a middle quality. But of course this is only my opinion.

XadoX
1st February 2007, 10:34
The quality of your small xvid sample is a bit too low for my opinion. IMO itīs not so profitable to use nice filters like tdeint and fft3d and then encode too a middle quality. But of course this is only my opinion.
Oh thats correct. I have encoded it this way because i only whated to have an AVI file as preview instead of real time preview in VirtualDub to see the script results. didee told me somethime ago that his restore24 script do not allow on the fly scrubbing in virtualdub. So for better preview i to a quick and dirty encoding in xvid.

The final encodings will be done with x264 with better encoding settings.

...I think it is useful to do a extra pass to a lossless temp.avi only with tdeint and Cdeblend (not tdecimate) and then use the other filters for the final encoding...
So lets give it a trie.