Log in

View Full Version : Remove artifacts from hybrid source


Dust Signs
13th April 2012, 14:35
Hi,

I recently bought the Family Guy Season 1-11 collection (UK version) and have some problems encoding seasons 1 and 2. I noticed that there have been discussions on this already, like e.g. http://forum.doom9.org/showthread.php?p=1047962#post1047962 where a solution is proposed. Unfortunately, this solution does not work for me as it seems that it is not designed to work for the UK DVDs too.
Please find a sample of the first episode (original source from the DVD) here: http://temp.dustsigns.de/orig.demuxed.m2v (approx. 13 MB)
What I tried so far is to get rid of the hybrid deinterlacing and some noise. As you can see, there is still an extreme amount of color artifacts at the edges and some of the edges are moving around. Please find a filtered and ancoded version of this sample here: http://temp.dustsigns.de/mod.mp4 (approx. 10 MB)
The AviSynth script that I used was the following:
LoadPlugin("C:\StaxRip\Applications\AviSynth plugins\AutoCrop\AutoCrop.dll")
LoadPlugin("C:\StaxRip\Applications\AviSynth plugins\Decomb\Decomb.dll")
LoadPlugin("C:\StaxRip\Applications\AviSynth plugins\Deen\Deen.dll")
LoadPlugin("C:\StaxRip\Applications\DGMPGDec\DGDecode.dll")
MPEG2Source("H:\1_1\orig.demuxed.d2v")
ConvertToYV12()
Telecide(guide=0,post=2,back=2,vthresh=10)
AutoCrop(mode=0,wMultOf=4,hMultOf=4)
Deen()

I am not at all satisfied with the outcome (see sample). Do you have any suggestions on improving the script so that I get rid of most of the other artifacts too?

Thanks in advance
Best regards
Dust Signs

lansing
18th April 2012, 07:06
after a quick search for family guy, i see that the original framerate of this cartoon should be 23.976. So the ideal way to do this is to first bob the clip to 50fps, and then unblend it back to 23.976fps using srestore.


QTGMC(Preset="slower")

Crop(10, 0, -10, -0)
BiFrost() # remove rainbow

srestore(frate=23.976)

##########################
o=last

pref = o.FFT3dgpu(sigma=10)

emask = o.mt_edge("min/max").RemoveGrain(19)
mt_merge(o, pref, emask, chroma="copy second")

you can remove the rainbow artifacts by some derainbow filter, I just randomly used Bifrost here.

As for the jumpy lines, I used fft3dgpu to smooth them. You can try others as fft3dgpu is kind of slow for me.

here's the output of the above script.
http://www.mediafire.com/?pgot9lkdz8t63x0

Dust Signs
21st April 2012, 15:49
Wow, that looks really good. I changed the QTGMC preset to "very slow" and added "sharpen=0.4" to FFT3DGPU as speed is not a concern.

Thanks for your help
Best regards
Dust Signs

lansing
22nd April 2012, 17:05
Wow, that looks really good. I changed the QTGMC preset to "very slow" and added "sharpen=0.4" to FFT3DGPU as speed is not a concern.

Thanks for your help
Best regards
Dust Signs

sigma=10 is kind of overdoing it in my part, i just used it because of that jumpy line in that blue toy gun at 0:10. Usually i won't go over 5

Lyris
22nd April 2012, 17:06
Holy ****, that's what the UK version looks like?

Honestly, that's a joke - ship it back and get the US Region 1 version. It's made from a Component source rather than what looks like a broadcast master. No standards conversion artefacts either, obviously.

Dust Signs
22nd April 2012, 18:29
sigma=10 is kind of overdoing it in my part, i just used it because of that jumpy line in that blue toy gun at 0:10. Usually i won't go over 5

Sigma=10 is ok for me with sharpen=0.4. I prefer less jumpy lines at the cost of a little blurring

Holy ****, that's what the UK version looks like?

Honestly, that's a joke - ship it back and get the US Region 1 version. It's made from a Component source rather than what looks like a broadcast master. No standards conversion artefacts either, obviously.

I didn't hear much good about the Region 1 DVDs either. Is the difference really worth purchasing them?

Best regards
Dust Signs

Lyris
22nd April 2012, 19:18
Well they're not made from composite video sources for a start. They only have very, very mild ringing artefacts.

I don't know which episode that is, but here's a similar shot from the US set. They all look like this except one episode, From memory there is one episode on the set somewhere that's a composite source, but the rest are all component. That one episode doesn't look as bad as the UK version though. I'm amazed, to be honest.

http://i74.photobucket.com/albums/i258/lyris-lite/fg.png

Dust Signs
22nd April 2012, 20:07
That one episode doesn't look as bad as the UK version though. I'm amazed, to be honest.

I thought so too when I first saw the quality of the first two seasons. The other seasons are also far away from being of good quality, but at least no interlacing artifacts have to be removed from them.
I think I'll give the Region 1 DVDs a try in the near future.

Best regards
Dust Signs