Log in

View Full Version : How to remove ghosting for anime?


rhaz
20th June 2013, 11:19
Hi. I use MeGUI to encode from DVDs to x264/.mkv. I used this script:

LoadPlugin("Decomb.dll")
Telecide(order=1,guide=1).Decimate()

And got this:
http://i.imgur.com/UWUGuoa.jpg

The interlacing is gone and etc, but I noticed those strange artifacts. Can someone explain me how that is called and what is the solution, if any.

Also I noticed FPS from 29 dropped to 23.

Guest
20th June 2013, 15:16
Also I noticed FPS from 29 dropped to 23. Of course it did, you have performed inverse telecine processing.

Atak_Snajpera
20th June 2013, 16:07
Also I noticed FPS from 29 dropped to 23.

To be exact from 29.97 fps to 23.976 fps. Most likely that ghosting effect was already in source before telecine conversion.

rhaz
20th June 2013, 16:47
So in other words...?

LoRd_MuldeR
20th June 2013, 18:26
If you apply SeparateFields() on the unprocessed original source, do you still see the artifacts?

In that case, the source probably has been subject to field-blending at some point during production and there is no way to simply "undo" this.

Though, something like Srestore (http://avisynth.org/mediawiki/Srestore) might be able to reduce the blending...

rhaz
20th June 2013, 19:00
Yeah, I tried that and srestore but I get same result.

Next question then, why it has so many dupe frames? Or is it supposed to be like that for animations?

LoRd_MuldeR
20th June 2013, 20:44
Yeah, duplicate frames are not unusual at all in animations...

http://neuron2.net/dup/dupnew.html

Guest
20th June 2013, 22:32
Yeah, I tried that and srestore but I get same result. Now you need to post a link to an unprocessed source sample that we can use to duplicate the effect. You can cut VOBs with DGSplit.

raffriff42
21st June 2013, 00:35
Looks like it's a chroma offset thing. Here's a crude way to fix it.

https://www.dropbox.com/s/l7koyul9n0ak0ns/chroma-offset-fix-UWUGuoa4.png?raw=1

#avisynth

## requires AVSLib
## http://avslib.sourceforge.net/
LoadModule("avslib", "filters", "channels")

C=ImageSource("UWUGuoa.jpg")
C=C.Crop(0,0,C.Width-(C.Width % 2),C.Height-(C.Height % 2))
C=C.ConvertToYV16()

Y=C.ShowY()
U=C.ShowU()
V=C.ShowV()

return StackHorizontal(C, MergeYUV(
\ Y,
\ Overlay(U, U, x=0, y=2),
\ Overlay(V, V, x=1, y=3)))