Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 18th August 2008, 12:09   #1  |  Link
aand
Learning fast
 
aand's Avatar
 
Join Date: May 2008
Location: Bucharest
Posts: 33
any plugin for ghosting?

I was wondering if the is a way to get rid of this artefacts (they are more noticeable in motion):

300kB .mkv sample 1



5MB .mkv sample2

On the Avisynth wiki I've found 'Ghostbuster' which is too old and doesn't work anymore, so I tried the equivalent "Exorcist" VirtualDub filter which I found to be more damage than restore.

Last edited by aand; 18th August 2008 at 12:11.
aand is offline   Reply With Quote
Old 18th August 2008, 14:09   #2  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 711
I had to use unblend() once, and it was quite effective. But the source was anime.
__________________
...desu!
Mystery Keeper is offline   Reply With Quote
Old 19th August 2008, 10:57   #3  |  Link
mikeytown2
Resize Abuser
 
mikeytown2's Avatar
 
Join Date: Apr 2005
Location: Seattle, WA
Posts: 623
Try http://niiyan.net/?EraseGhost
mikeytown2 is offline   Reply With Quote
Old 19th August 2008, 18:43   #4  |  Link
Amrit
Registered User
 
Join Date: Jan 2008
Posts: 55
How about bobing then restoring?
Amrit is offline   Reply With Quote
Old 19th August 2008, 21:39   #5  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 711
Quote:
Originally Posted by Amrit View Post
How about bobing then restoring?
1) That's a great quality loss.
2) It may not solve the problem at all if there's progressive blending or other filters artifacts.
__________________
...desu!
Mystery Keeper is offline   Reply With Quote
Old 20th August 2008, 04:36   #6  |  Link
Amrit
Registered User
 
Join Date: Jan 2008
Posts: 55
Quote:
Originally Posted by Mystery Keeper View Post
1) That's a great quality loss.
2) It may not solve the problem at all if there's progressive blending or other filters artifacts.
So you advice Unblend on Ghosting?
Amrit is offline   Reply With Quote
Old 20th August 2008, 10:07   #7  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 711
Quote:
Originally Posted by Amrit View Post
So you advice Unblend on Ghosting?
I don't know. Only had that problem once on anime, and Unblend solved it completely. But the main rule of video filtering is "There's no universal solution".
__________________
...desu!
Mystery Keeper is offline   Reply With Quote
Old 20th August 2008, 13:18   #8  |  Link
FlimsyFeet
Registered User
 
Join Date: Feb 2003
Posts: 362
"Ghosting" could refer to 2 seperate things - as I understand it, maybe someone else knows better, but it could be either motion afterimages of bright objects in previous frames, caused by blended fields or a side effect of too strong temporal noise filtering. Or it could be repeated fringes to the left or right dues to analogue refelections or interference.

The "streaking" in the first image looks like an analogue artefact, similar to what I get with my cheap TV when there's a picture showing a window with venetian blinds! Unfortunately I don't know what it is that causes this kind of effect, or what you can do about it.
FlimsyFeet is offline   Reply With Quote
Old 20th August 2008, 14:14   #9  |  Link
xbox360
Registered User
 
xbox360's Avatar
 
Join Date: Aug 2006
Location: Region 3 with NDS Encryption
Posts: 355
Can anyone help translate to english LGhost ( http://nullinfo.s21.xrea.com/#LGhost ) & warpsharp 2008/03/25 ( http://seraphy.fam.cx/~seraphy/progr...arp/index.html ) for Ghosting Usage, please. Thank You very very very much in advance.
xbox360 is offline   Reply With Quote
Old 20th August 2008, 23:25   #10  |  Link
Nightshiver
Quality Freak
 
Join Date: Jun 2007
Location: Area 52
Posts: 597
LGhost:

Description

* Plug-ins for the removal of ghost Avisynth
* YUY2 mode and mode YV12
* Brightness only see only brightness changes
* Ghost and the removal of ghost edge brightness (ringing) can be removed

The link you gave for warpsharp doesn't talk about ghost removal, it talks about color conversion.
Nightshiver is offline   Reply With Quote
Old 21st August 2008, 04:34   #11  |  Link
xbox360
Registered User
 
xbox360's Avatar
 
Join Date: Aug 2006
Location: Region 3 with NDS Encryption
Posts: 355
What I meant was translate to english the plugin settings so I know how to tweak them, please help & thank you in advance.
xbox360 is offline   Reply With Quote
Old 28th August 2008, 10:00   #12  |  Link
xbox360
Registered User
 
xbox360's Avatar
 
Join Date: Aug 2006
Location: Region 3 with NDS Encryption
Posts: 355
Please Help, please !
xbox360 is offline   Reply With Quote
Old 28th August 2008, 12:26   #13  |  Link
AVIL
Registered User
 
Join Date: Nov 2004
Location: Spain
Posts: 401
Hi:

I've extracted help from zip, deleted japanese chars and added commentaries (bold text):

Quote:
LGhost.dll v0.3.01 Copyright(C) 2002, 2003 minamina

Avisynth Plugin - Ghost Reduction (YUY2 and YV12 Only, Luminance Ghost Only)

Colorspaces:

Avisynth
YUY2
YV12

Dll suitable for each avisynth's version:

LGhost1.dll : Avisynth 1.0, 2.0
LGhost.dll : Avisynth 2.5

Loading:
LoadPlugin("LGhost.dll")

Sintax:

LGhost(clip, mode0, shift0, intensity0, ... , mode17, shift17, intensity17)

Parameters:

mode 0 : (default), 1 : 2 : 3 : 4 :
shift (-clip.width ‚clip.width, default 0)
intensity (-128 ‚ 127, default 0)

Examples:

LGhost(mode0 = 1, shift0 = 3, intensity0 = -15)
LGhost(2, 4, 20, 2, 7, 10, 1, -4, -15, 1, -7, -5)


I think only obscure parm is mode but trial and error can do miracles.

Anyway, a few is more than nothing.

Good luck
AVIL is offline   Reply With Quote
Old 28th August 2008, 21:17   #14  |  Link
AVIL
Registered User
 
Join Date: Nov 2004
Location: Spain
Posts: 401
Hi again:

I've found an translation to english of the readme.txt:

Quote:
LGhost.dll v0.3.01 Copyright(C) 2002, 2003 minamina

Avisynth Plugin - Ghost Reduction (YUY2 and YV12 Only, Luminance Ghost Only)


- Description

Avisynth ghost removal plugin
YUY2 and YV12 luminance ghost and edge ringing removal

LGhost1.dll : Avisynth 1.0, 2.0
LGhost.dll : Avisynth 2.5


- Method of use

LoadPlugin("LGhost.dll")
LGhost(clip, mode0, shift0, intensity0, ... , mode17, shift17, intensity17)

0 - 17 corresponds to up to 18 ghosts

mode 0 : disabled (default)
1 : edge ghost removal
2 : brightness go strike removal
3 : leading edge ghost removal
4 : trailing edge ghost removal
shift shift width (-clip.width to clip.width, default 0)
intensity strength (-128 to 127, default 0)


- Example

LGhost(mode0 = 1, shift0 = 3, intensity0 = -15)
LGhost(2, 4, 20, 2, 7, 10, 1, -4, -15, 1, -7, -5)


- History

2003/03/16 v0.3.01 Avisynth 2.5 version written
YV12 mode written
2002/12/23 v0.2.01 Added leading and trailing edge ghost removal
LGhost.auf.avs bundled
2002/12/15 v0.1.02 Corrected bug when using FrameCache with LGhost
2002/11/11 v0.1.01 Open failure cord/code ??? deletion
2002/11/03 v0.0.03 Setting UI deletion -> LGhost.auf.avs compilation
2002/11/03 WarpSharp added to avsfilter
2002/10/07 v0.0.02 edge ghost removal added
2002/09/26 EraseGhost added to WarpSharp
2002/09/24 v0.0.01 First release

Unauthorized translation to English by Fred Thompson utils@mindspring.com
AVIL is offline   Reply With Quote
Old 2nd September 2008, 12:46   #15  |  Link
xbox360
Registered User
 
xbox360's Avatar
 
Join Date: Aug 2006
Location: Region 3 with NDS Encryption
Posts: 355
Thank You very very much ! This is awesome ! I really really really really really apreciate it. Also it would have helped many other leechers !
xbox360 is offline   Reply With Quote
Old 4th January 2010, 18:09   #16  |  Link
fjhdavid
Registered User
 
Join Date: Nov 2002
Posts: 220
xbox 360, did you use the LGhost filter finally?

what about the parameters you choose? what are the results?

did you find another avisynth filter?

thanks
Francois
fjhdavid is offline   Reply With Quote
Old 13th April 2010, 05:28   #17  |  Link
whatyaar
Registered User
 
Join Date: Sep 2007
Posts: 21
i also waiting for the xbox360 reply...show us some light dude.
whatyaar is offline   Reply With Quote
Old 11th May 2014, 23:39   #18  |  Link
satmonk
Registered User
 
Join Date: Oct 2005
Posts: 14
LGhost does not have a named argument "mode0"

I cannot get this filter to work :-(
satmonk is offline   Reply With Quote
Old 12th May 2014, 07:23   #19  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 7,086
RT_PluginParam() should extract CPP type argument list.
RT_Stats here: http://forum.doom9.org/showthread.php?t=165479

From Docs
Code:
RT_PluginParam(String FunctionName)
 FunctionName, String, name of Avisynth built-in or Plugin filter or function name.
 Returns "", if FunctionName Parameter string not found.
 Returns String, the Avisynth CPP Interface style argument specifier string used by Avisynth to determine argument types and optional names.
  Optional arguments have square brackets surrounding their name as in [name] and are followed by a type specifier character that gives
  the type. Unnamed arguments are not optional. eg "cc[arg1]b[arg2]i" would be two compulsory unnamed clip args, followed by optional
  'arg1' of type bool and optional 'arg2' of type int.
    # Argument type specifier strings.
      c - Video Clip
      i - Integer number
      f - Float number
      s - String
      b - boolean
      . - Any type (dot)
    # Array Specifiers
      i* - Integer Array, zero or more
      i+ - Integer Array, one or more
      .* - Any type Array, zero or more
      .+ - Any type Array, one or more
    #    Etc
   To show params:-
      colorbars().Killaudio()
      S=RT_PluginParam("RT_YStats")
      S=RT_StrReplace(S,"[",Chr(10)+"[")
      RT_Subtitle(s)
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 12th May 2014 at 07:29.
StainlessS is offline   Reply With Quote
Old 31st March 2015, 01:36   #20  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,281
Quote:
Originally Posted by fjhdavid View Post
xbox 360, did you use the LGhost filter finally?

what about the parameters you choose? what are the results?

did you find another avisynth filter?

thanks
Francois
Quote:
Originally Posted by whatyaar View Post
i also waiting for the xbox360 reply...show us some light dude.
Quote:
Originally Posted by satmonk View Post
LGhost does not have a named argument "mode0"

I cannot get this filter to work :-(
use value directly by arrangement and it will work, EX:- http://forum.doom9.org/showthread.ph...99#post1715299

it is the best solution available at this moment

http://avisynth.nl/index.php/Externa...#Ghost_Removal

But unfortunately, it doesn't touch chroma, just luma

hope someone update it since it open source
__________________
My Avisynth Stuff
real.finder is offline   Reply With Quote
Reply

Tags
ghosting

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:25.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.