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 5th May 2004, 15:29   #1  |  Link
FuPP
TotalEclipseOfTheBrain
 
FuPP's Avatar
 
Join Date: Sep 2002
Posts: 347
HybridFuPP 0.882b is out (05/14/2004)

This avisynth script (avsi) enables both resizing (selectable algorithm), and filtering. Distinct filters can be applied to the different parts of the picture. The main idea is to strongly filter the less visible parts, and very softly the more visible. HybridFuPP uses the best decisions thanks to its ability to detect edges, motion, dark and very lit areas.

for edges -> sharpening filter (optional)
for motion -> spatial filtering (can be adjusted)
for dark and highly lit areas -> strong spatial filtering (can be adjusted)
for other parts -> very soft spatio-temporal filtering (can be adjusted)

HybridFuPP was originally designed for rather clean sources ; the spatio-temporal filter used is though powerful enough to enable noisy sources processing (when increasing the corresponding setting).

Moreover, HybridFuPP enables the user to define its own processing chains. Lot of things are therefore possible !

HybridFuPP is supplied with all necessary filters and a doc.

Link : click with right button to download !

@mods : I have chosen to create a new thread for more readability and because a lot of discussions in the original one were no more valids. But if you don't feel it relevant, please merge both threads.

changelog :

- 0.882b :

- includes a bug fix for destination width or height lower than 256

- 0.881b :

- a bug when using "dering = true" or preset 'anime' has been corrected

- 0.88b :

- No more multiple resizing
- Standard filtering chains have been changed a lot
- Like dark areas, very lit areas are now processed too
- Chroma processing has been improved
- New and more efficient motion detection engine (thanks Manao). The old one, and an improved version of it, are though available too (use parameter MM_Type)
- New presets : "very low", "low", "medium", "high" (default), "very high" and "anime"
- « Debug » mode is now called « Show ». As previously, it enables to display the masks. Using it is easier too.
- New parameters (C_Str = chroma filtering strength, L_Thr = light areas threshold, LP_Str = dark and light areas filtering strength). Some others are no more used (chroma, dark, D_Str, Eresizer, Nresizer, CH…)
- Dering no more returns an error when used with non mod 16 destination width and height. It will simply be disactivated if needed.

- 0.85a to 0.87a :

- Non official alpha versions

- 0.84b :

- It is now possible to create personal processing chains
- Advanced debug mode (displayed with colors, modes can be now combined)
- Added a strength parameter for dark areas processing
- More speed
- No more limits concerning final size for chroma and dark (called ‘special’ in 0.7x versions) modes
- Deringing (optional) is now done after resizing. Mod 16 size limit concerns now only final size.
- Be careful : some parameters have been renamed (ex : special -> dark).
- Parameters order has changed ! so be careful if you used unnamed parameters in previous releases : ex HybridFuPP(448,320,12,7,10,30,9,32,17,1,5,true,true,true,30,0)

- 0.80a to 0.83a :

- Non official alpha versions

- 0.71b :

- Added a threshold parameter for special mode (ie dark areas processing)

- 0.7b :

- Special processing of dark areas, ie soft resizing + strong filtering (optional). Compressibility : up to 12% more
- It is now possible to choose resizing algorithm for edges
- Motion spatial filtering has been re-introduced (because of users request)
- A little bit less speed if dark areas processing is used (activated by default), a little bit more than 0.6b if it is not used

- 0.6b :

- Resizing algorithm and settings can be now selected for picture parts displaying no motion nor edges
- Edge detection algorithm changed (uses Msharpen now)
- Default values have been changed
- Presets have been changed
- It is now possible to override parameters included in a preset
- Spatial filtering has been removed when processing motion (offered a very weak compressibility gain)
- General picture quality improvements
- Speed improvement

- 0.5b :

- Added presets
- Changed defaults for better quality
- Changed spatio-temporal filter position in the chain

- 0.4b :

- Added parameters for both spatio-temporal and spatial filtering
- Changed default value for Edge detection threshold from 15 to 10
- Chroma smoothing is now done after resizing. Dering is still done before. Will see later...

- 0.3b :

- Errors with non mod16 sources are better managed

- 0.2b :

- First downloadable version

Last edited by FuPP; 13th May 2004 at 23:17.
FuPP is offline   Reply With Quote
Old 5th May 2004, 18:50   #2  |  Link
Soulhunter
Bored...
 
Soulhunter's Avatar
 
Join Date: Apr 2003
Location: Unknown
Posts: 2,812
THX...
__________________

Visit my IRC channel
Soulhunter is offline   Reply With Quote
Old 5th May 2004, 19:30   #3  |  Link
Chainmax
Huh?
 
Chainmax's Avatar
 
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
Awesome. I will test this with The Simpsons 1º Season, Spawn 1º Season and Grave of the Fireflies next week.
As promised, I'll post sample clips of the results. Would including the AVS scripts and the XviD settings help with troubleshooting?

[edit]
I have Deen for v2.5 beta2, what is the difference between that and the version you're bundling with HybridFuPP?
[/edit end]
[edit2]
How come none of the presets have sharpening enabled now?
[/edit2 end]

Last edited by Chainmax; 5th May 2004 at 19:39.
Chainmax is offline   Reply With Quote
Old 5th May 2004, 19:42   #4  |  Link
Soulhunter
Bored...
 
Soulhunter's Avatar
 
Join Date: Apr 2003
Location: Unknown
Posts: 2,812
Btw, a very nice readme you wrote...

Nice to read n' good to understand !!!


Congrats, a real paragon for some other scripts...


Bye
__________________

Visit my IRC channel

Last edited by Soulhunter; 5th May 2004 at 20:53.
Soulhunter is offline   Reply With Quote
Old 5th May 2004, 19:48   #5  |  Link
FuPP
TotalEclipseOfTheBrain
 
FuPP's Avatar
 
Join Date: Sep 2002
Posts: 347
@soulhunter
Thanks !

@chainmax
First, sorry for the delay. This version was planned for last week...

Every piece of information is always useful. I personally do not use Xvid, but if I have questions following your tests, I will be able to provide all the details supplied to people that know it well.

Btw, xvid is already very optimized ; this script could be therefore even more useful for people using some other codecs.

It seems that there are sometimes confusion about Deen versions. HybridFuPP requires the latest one. This is the one provided inside the package.

Last, I've removed oversharpening in presets, but removed too some filters that hurt sharpness in some cases (like undot). Btw, if you need even more sharpness, you can use E_Str_X and E_Str_Y parameters.

Thanks in advance for the time you will spend !

FuPP

Last edited by FuPP; 5th May 2004 at 19:54.
FuPP is offline   Reply With Quote
Old 5th May 2004, 20:24   #6  |  Link
DDogg
Retired, but still around
 
DDogg's Avatar
 
Join Date: Oct 2001
Location: Lone Star
Posts: 3,058
FuPP, this is bit of a lazy question so pardon me in advance. Just to test this for full DVD resolution MPEG2, are the defaults ok to use as in "HybridFuPP()" ?

I also noticed it requires the older version of Deen as the newer one will throw an error [this was incorrect information. Pardon me and disregard]. Was this by plan? Frankly, I have used the newer simply because it was newer. Never did any significant tests between them.

Last edited by DDogg; 6th May 2004 at 04:06.
DDogg is offline   Reply With Quote
Old 5th May 2004, 22:00   #7  |  Link
FuPP
TotalEclipseOfTheBrain
 
FuPP's Avatar
 
Join Date: Sep 2002
Posts: 347
Hi DDogg,

Defaults are ok. But with such a resolution, I would even try preset="medium" (or lower ?).

About Deen, I do not get your point. The version in this thread seems to be the same than the one I provide. Anyway, the one in HybridFuPP's package is the last one !

Regards,
FuPP
FuPP is offline   Reply With Quote
Old 5th May 2004, 22:28   #8  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,391
FuPP: :thumbsup:

Soulhunter:
__________________
- We´re at the beginning of the end of mankind´s childhood -

My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!)
Didée is offline   Reply With Quote
Old 6th May 2004, 00:10   #9  |  Link
scharfis_brain
brainless
 
scharfis_brain's Avatar
 
Join Date: Mar 2003
Location: Germany
Posts: 3,653
Chainmax, your PM box is full
__________________
Don't forget the 'c'!

Don't PM me for technical support, please.
scharfis_brain is offline   Reply With Quote
Old 6th May 2004, 00:22   #10  |  Link
FuPP
TotalEclipseOfTheBrain
 
FuPP's Avatar
 
Join Date: Sep 2002
Posts: 347
Hi Scharfis !

two good news :

1/ I have included your idea about motion mask in the Type-3 mask (MM_Type = 3). Thanks again.

2/ I have corrected the doc putting back the missing 'c'. But did not spread it yet. You will have to wait next version .

FuP*
FuPP is offline   Reply With Quote
Old 6th May 2004, 00:56   #11  |  Link
scharfis_brain
brainless
 
scharfis_brain's Avatar
 
Join Date: Mar 2003
Location: Germany
Posts: 3,653
hey, just call me Scharfi
"Scharfis" is the German form for the english term "Scharfi's"
(oh yes and I decided to give more attention to the 'c' by my signature, because You're not the first one dropping it )

I have seen you've implemented my ideo about motionmasking

how does it perform out compared to the other methods?

I think false detected motion won't appear anymore, but which side effect do occur?
__________________
Don't forget the 'c'!

Don't PM me for technical support, please.
scharfis_brain is offline   Reply With Quote
Old 6th May 2004, 02:10   #12  |  Link
Chainmax
Huh?
 
Chainmax's Avatar
 
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
FuPP, mf once told me on a PM that a median cut filter (like UnDot) can sharpen the picture. Are you sure it's the other way around?

scharfis_brain, your PM box is full as well. I tried to send you a PM a couple of hours ago and I couldn't. I cleaned my inbox now, so send me whatever you want.
Chainmax is offline   Reply With Quote
Old 6th May 2004, 04:03   #13  |  Link
DDogg
Retired, but still around
 
DDogg's Avatar
 
Join Date: Oct 2001
Location: Lone Star
Posts: 3,058
FuPP, thanks for the reply. I'll try preset="medium".

You are absolutely correct about the version of Deen in your package being the newest. I would have swore I had downloaded from that thread I referenced. I must have been mistaken and actually had the older one in my plugin Dir.
DDogg is offline   Reply With Quote
Old 6th May 2004, 06:43   #14  |  Link
DarkNite
Almost Silent Member
 
DarkNite's Avatar
 
Join Date: Jun 2002
Location: Purgatory
Posts: 273
Thank You

A much improved version (from what I've seen so far), and only a week late!

Now that Scharfi has mentioned it I find myself looking for "side effects." Once I actually wake up I might even find some.

From my experience with anime sources I'd suggest taking advantage of the min variable in Deen v1.0 beta 1 (which must have been made with smoothing of gradients and flat surfaces in noisy anime on MarcFD's mind). When using Deen on anime I usually go with min=0.25 as a default. IMHO it has a cleaner effect than just using a large radius or high thresholds, and gives a decent compression boost while maintaining more detail.

It would definitely be good for dark areas at least, or am I just misunderstanding the filter's application within your script?

If you're script is taking advantage of this, and I just didn't see it with my half asleep eyes I apologize ahead of time.

/me stumbles towards coffee maker

Edit: My friend just cracked me up with "Hey, is there a flow chart for this script?"
__________________
Rethinking the "Why?" chromosome.

Last edited by DarkNite; 6th May 2004 at 06:45.
DarkNite is offline   Reply With Quote
Old 6th May 2004, 09:28   #15  |  Link
FuPP
TotalEclipseOfTheBrain
 
FuPP's Avatar
 
Join Date: Sep 2002
Posts: 347
Quote:
Originally posted by scharfis_brain
I have seen you've implemented my ideo about motionmasking
how does it perform out compared to the other methods?
It is of course better and more accurate than previously. But it still has the same issue : it only detects moving edges.

Manao's algorithm goes further...

Quote:
Originally posted by Chainmax
a median cut filter (like UnDot) can sharpen the picture
Let's say that I have not experienced the same, and see undot bluring things (slightly though).

Quote:
Originally posted by Darknite
When using Deen on anime I usually go with min=0.25 as a default
For now, the script uses 0.1, which is even more conservative. But preset anime is very new, so there's room for improvement and all suggestions will be welcome .

Quote:
It would definitely be good for dark areas at least
For dark area processing, I use min = 0. Not sure what your question was though...
Quote:
My friend just cracked me up with "Hey, is there a flow chart for this script?
Your friend should really go back to bed

Last edited by FuPP; 6th May 2004 at 09:44.
FuPP is offline   Reply With Quote
Old 7th May 2004, 00:22   #16  |  Link
acrespo
Brazilian Anime Ripper
 
Join Date: Nov 2001
Location: Brazil
Posts: 237
When I enable dering parameter, I receive an error in this line:

Final = Dering ? Eval("Final." + DE) : Final

If I change "Final." with "Final" the problem gone.

I am calling HybridFuPP with width=640, height = 480 and preset="anime"
__________________
Capture cards:
Compro VideoMate Gold+ (Philips SAA7134 based) (not active)
Hauppauge PVR 150MCE (not active)
ATI TV Wonder Elite (active)
acrespo is offline   Reply With Quote
Old 7th May 2004, 08:27   #17  |  Link
FuPP
TotalEclipseOfTheBrain
 
FuPP's Avatar
 
Join Date: Sep 2002
Posts: 347
Yeah ! It seems I managed to create a bug a few seconds before releasing ! See post #1 for new version...

FuPP
FuPP is offline   Reply With Quote
Old 7th May 2004, 10:21   #18  |  Link
amango
Registered User
 
Join Date: Oct 2002
Posts: 92
I can't download the file!

"Le site demandé n'est pas accessible par cette url."
amango is offline   Reply With Quote
Old 7th May 2004, 15:28   #19  |  Link
FuPP
TotalEclipseOfTheBrain
 
FuPP's Avatar
 
Join Date: Sep 2002
Posts: 347
Please, use button right to download and choose "Save as..."

Regards,
FuPP
FuPP is offline   Reply With Quote
Old 7th May 2004, 20:42   #20  |  Link
Soulhunter
Bored...
 
Soulhunter's Avatar
 
Join Date: Apr 2003
Location: Unknown
Posts: 2,812
Quote:
Originally posted by Didée
Soulhunter:
No, I meant mf's scripts...


Bye
__________________

Visit my IRC channel
Soulhunter is offline   Reply With Quote
Reply

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 01:26.


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