Quantcast Avisynth: Hybridfupp 0.92b is Out (03/26/2005) - Page 2 - digitalFAQ.com Forums [Archives]
  #21  
05-20-2004, 10:17 AM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
@FuPP,
sorry, sorry, sorry,... I've been following your releases almost from the begining. Even went some time to doom9 to see updates (thanx for keep us informed). I downloaded every new version you posted. I find it very intersting/useful.
... then? (you wonder)
I didn't test it yet. I'm very dedicated to mencoder now, with little time.
But I want to test it now in mencoder, with a captured avi (home-made film, my son )
And I ask you sorry me since, without having tested it, I'll ask a question: is there a way to use HybridFuPP without resizing, just cropping and adding borders/letterboxing?
I read (not carefully ) the complete Readme that comes with the release, and don't know if this can be done, even don't know if you will find it interesting... but in most of my DVD -> KDVD encodes I just crop, no resize.
Congratulations for your nice work.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #22  
05-20-2004, 11:41 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by digitall.doc
is there a way to use HybridFuPP without resizing, just cropping and adding borders/letterboxing?
I read (not carefully ) the complete Readme that comes with the release, and don't know if this can be done, even don't know if you will find it interesting... but in most of my DVD -> KDVD encodes I just crop, no resize.
Congratulations for your nice work.
good question my friend digitall.doc !
i read (not carefully too) but i want to know the same.
Reply With Quote
  #23  
05-20-2004, 01:08 PM
FuPP FuPP is offline
Free Member
 
Join Date: Mar 2004
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Of course it is possible . Simply using HybridFuPP(preset = xxx), without width and height parameters (all parameters are optional in HybridFuPP). Do not hesitate to use medium or even lower preset with such a size.

Be aware too that HybridFuPP could be rather slow when used with such a target size.

Regards,
FuPP
Reply With Quote
  #24  
05-20-2004, 01:41 PM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
That easy!?
Thanx a lot for your fast answer, FuPP.

A doubt then, will edges still be sharpened?. I guess yes.

What would you advise then for a home-made video that is a bit noisy and a little blurred?. I was using:
Code:
Fielddeinterlace(full=false,blend=false)
Crop( 8, 12, -8, -4)
HybridFuPP(704,560,preset="medium",resizer=5) 
AddBorders(0, 0, 0, 16)
LetterBox(16, 16, 16, 16)
Used "medium" since in VirtualDub seemed to me that got artifacts (like gibbs effects) with "low" or "very low".
But now I suppose I'd better use something like:
Code:
Fielddeinterlace(full=false,blend=false)
Crop( 8, 12, -8, -4)
HybridFuPP(preset="medium") 
AddBorders(0, 0, 0, 16)
LetterBox(16, 16, 16, 16)
since resizer maybe is not needed anymore, isn't it?.
Maybe I'll try again with "low" preset.
Do you have any other hint?.
Thanx a lot in advance .
Reply With Quote
  #25  
05-20-2004, 02:59 PM
FuPP FuPP is offline
Free Member
 
Join Date: Mar 2004
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
will edges still be sharpened
I don't use oversharpening anymore in presets. If you want to sharpen edges more, use E_Thr_X and E_Thr_Y parameters (keep in mind that it will be even slower).

As you don't resize, try "very low" !

FuPP
Reply With Quote
  #26  
05-20-2004, 04:00 PM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks again, FuPP.
I started an encoding before reading your post, with HybridFuPP(preset="medium"). Yes, it works in mencoder (I'm using Milan's MencoderAVS). And, yes, it's veeery slow: with a previous script I was using, with deen, unfilter, fielddeinterlace, temporalsoften, asharp, and so, I was getting 5-6 fps; now just 3-4 fps. But in this case, I don't mind.

When it finishes I'll try with very low and see.

I keep in a doubt. I've been reading HybridFuPP.avsi to see if I could solve it, but my chinese isn't very good yet ( ). If a preset is selected and no resizer is changed, it will be selected the default resizer for this preset, isn't it?. If no width and height parameters are given, the function takes actual width and height. But then a resize is applied, but resizes to the same dimensions as input, did I understand this well?.
Would in this case be of any help to change the resizer?. Maybe this is not an especific HybridFuPP question, and is more avisynth one. But, does your function always resize (even when no change in size is applied)?, and does it make a difference to "resize" with one resizer or another?.
FuPP, if you think it's better to open a new thread with this questions, and keep this one just for bugs/suggestions, just make me now...
I'm willing to see the output of your function
Reply With Quote
  #27  
05-20-2004, 04:56 PM
FuPP FuPP is offline
Free Member
 
Join Date: Mar 2004
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Actually, when you use a resizer with output size = input size, then it is a kind of no-op, ie nothing is done. So in that case, resizer doesn't matter.

Quote:
FuPP, if you think it's better to open a new thread with this questions
Don't worry, I think there's enough room in this one

FuPP
Reply With Quote
  #28  
05-20-2004, 05:15 PM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by FuPP
Actually, when you use a resizer with output size = input size, then it is a kind of no-op...
OK, understood now.

Well, encode finished. With the same average bitrate (so the same final filesize) I get a lower average quantizer value in BitrateViewer tahn with my previous scripts. That doesn't mean necessarily better visual result, but... I previewed on PC screen, but I don't see big differences with previous tests. I will burn on DVD and see on TV, and compare.

But I think the source is really difficult to improve, blurred and dirty as I posted. And your function is designed for clean sources. I'll give very low preset also a try, and will compare.

You've been very helpful.
Reply With Quote
  #29  
05-20-2004, 05:55 PM
FuPP FuPP is offline
Free Member
 
Join Date: Mar 2004
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Hard to help you about settings without seeing the source... If it is blurred, you can try to enhance edges (E_Str_X=30, E_Str_Y=30), but sometime it can even look worse ... For more denoising, you can use parameter ST_Str (the higher, the less noise). You could start with 4 and try higher if needed...

FuPP
Reply With Quote
  #30  
05-20-2004, 10:24 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
Fupp,
thank you for previous answers!

now a "new one" :
how can i use HybridFuPP with this "resizes" in the script

LanczosResize(720, 366, 6, 0, 708, 480)
AddBorders(0, 57, 0, 57)



thanks in advance!
Reply With Quote
  #31  
05-21-2004, 02:19 AM
FuPP FuPP is offline
Free Member
 
Join Date: Mar 2004
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Hi my friend !

no you should not use it this way. The correct syntax is :

Crop(6, 0, 708, 480)
HybridFuPP(720, 366, preset=xxx, resizer=5)
AddBorders(0, 57, 0, 57)

But using mod 16 size would speed things a lot....

FuPP
Reply With Quote
  #32  
05-21-2004, 10:32 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
FuPP,
using mod 16? i don't understood!

i change a little the script cos give errors in vdubmod preview.
something was wrong in "my" script and not in HybridFuPP,
see the script now:

Crop(8, 0, 704, 480)
HybridFuPP(720, 368, preset="medium", resizer=5)
AddBorders(0, 56, 0, 56)

i'm encoding toy story 1 (3000 frames) for test !
Reply With Quote
  #33  
05-22-2004, 09:07 AM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
Hi FuPP,
I finally used a ST_Str=5, and E_Str_X=20 and E_Str_Y=20, and looked well. I think I got all I could out of this bad source.

I also tried this, just to see if I understood well how it works:
Code:
HybridFuPP(preset="very low", E_Str_X=20, E_Str_Y=20, ST_Str=5, M="unfilter(-5*M_Str,-5*M_Str)", N2="temporalsoften(1,ST_Str,2*C_Str,15,2).Unfilter(-5*ST_Str,-5*ST_Str)", LP="unfilter(-10*LP_Str,-10*LP_Str)")
I just loaded in VirtualDub too see there was no error (and wasn't ), but didn't try to encode and see if faster than with Deen "a3d".
BTW, when motion is detected (and in dark and lit areas), is unfilter applied in a progressive/adaptive way, or in a linear way?.
I ask because I first tried with:
Code:
..., M="unfilter(-10*M_Str,-10*M_Str)", ...
and when there was motion, it got blurred too much, and seemed to me that was done linearly. Could I then apply a motion adaptive filtering chain for M, the way is done in the MA script?. Just a thought, didn't test.
Congratulations again for your nice function (good idea that of preserving static areas)
Reply With Quote
  #34  
05-22-2004, 06:04 PM
FuPP FuPP is offline
Free Member
 
Join Date: Mar 2004
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
when motion is detected (and in dark and lit areas), is unfilter applied in a progressive/adaptive way, or in a linear way?.
actually, this is less a filtering problem than a mask problem. In this version, I "binarize" the mask. That means that I use a threshold ; below that threshold there's no motion detected, above it there's motion. It is therefore not linear. In next version I will not use binarize function anymore : that implies that motion detected will be more "linear".
Btw you can use M_Thr to reduce the amount of motion detected (M_Thr is linked to the motion vector length).

FuPP
Reply With Quote
  #35  
05-23-2004, 04:16 AM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
Sorry me, I didn't explain it well. But I understood your explanation: motion filtering is only done when motion (above a threshold) is detected.
But once motion is detected, the filter applied has always the same strength.
That's why I asked if in the filtering chain I can add a MA filtering when motion is detected, blurring more when the motion detected is greater, and less with less motion.
Reply With Quote
  #36  
05-23-2004, 04:46 AM
FuPP FuPP is offline
Free Member
 
Join Date: Mar 2004
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Me sorry ; I've not been clear enough.

What I meant is that in next version, as motion mask will no longer be binarized, quantity of blurring will be proportional to the quantity of motion detected (don't forget that the original picture and the blurred one are layered using the mask...). If motion mask detects different quantity of motion for a same frame, quantity of blurring applied won't be the same for each of these parts.

Regards,
FuPP
Reply With Quote
  #37  
05-23-2004, 09:14 AM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
So...
...it will be great

Willing to test it.
Reply With Quote
  #38  
05-23-2004, 09:27 AM
FuPP FuPP is offline
Free Member
 
Join Date: Mar 2004
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
oh, forgot to say : for next version, people will have to pay...
Reply With Quote
  #39  
05-23-2004, 09:43 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by FuPP
oh, forgot to say : for next version, people will have to pay...
What the hell are you talking about, paying for a script
Reply With Quote
  #40  
05-23-2004, 09:46 AM
FuPP FuPP is offline
Free Member
 
Join Date: Mar 2004
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
was kidding... :P
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Best scripts as of 12/2005? rds_correia Avisynth Scripting 22 02-01-2006 01:44 AM
Happy Nikolaus to all 2005 Roc Off-topic Lounge 7 12-06-2005 06:38 PM
AVI to KSVCD et HybridFupp bigfif Video Encoding and Conversion 5 08-20-2004 10:21 AM
Avisynth: Motion adaptive tweaking of HybridFupp? Abond Avisynth Scripting 8 03-31-2004 04:49 PM
Question about HybridFupp Prodater64 Video Encoding and Conversion 22 03-11-2004 04:35 AM

Thread Tools



 
All times are GMT -5. The time now is 02:28 AM  —  vBulletin © Jelsoft Enterprises Ltd