digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Interesting Avisynth resizing thread at doom9.org (http://www.digitalfaq.com/archives/avisynth/8149-interesting-avisynth-resizing.html)

Icarus3000 03-04-2004 08:19 AM

I want to give this new HybridFuPP script a try, but have 2 questions. Using this new function with TMPGenc:

a) Should I use the "High Quality" setting or the "Motion Estimate Search" seting?

b) Should "Detect Scene Change" be checked or unchecked?

Thanks,
Icarus

kwag 03-04-2004 11:30 AM

Quote:

Originally Posted by incredible
@Kwag

what is "FUMANCHU" or "FUBAR" ? Did I miss something?

:)

Search google for "La venganza de fumanchu" and you'll get your answer :lol:
But I was relating the word combination: (FU)FuPP(MA)Motion Adaptive a(N)d (CHU)lerias :lol:

As for FUBAR, it's a term used in many programming examples and documentation almost everywhere.
It stands for: (F)uc..d (U)p (B)eyond (A)ll (R)ecognition :hihi:
( Relating it to the complexity of the script, of course. Not to the functionality )

-kwag

Dialhot 03-04-2004 06:33 PM

I have problem using HybridFuPP_071_b.

It complains about "no MotionMask" function. I saw on waterenterprise that it is included in Mpeg2Dec2 and Mpeg2Dec. The first one does not exists for avs2.5.4 (is that normal ?) so I installed Mpeg2Dec.

Now the message is "MotionMask : no argument named thY1 (hybridfupp line 116) " :-(

Can you help me ?

bigggt 03-04-2004 06:36 PM

Hi Phil,you need to get the correct version of masktools 149

http://forum.doom9.org/showthread.ph...0&pagenumber=2

Its about a quarter way down

Dialhot 03-04-2004 06:41 PM

Quote:

Originally Posted by bigggt
Hi Phil,you need to get the correct version of masktools 149

http://forum.doom9.org/showthread.ph...0&pagenumber=2

Its about a quarter way down

Damn, there is a new version. I didn't see it.

Thanks :-)

bigggt 03-04-2004 06:45 PM

Its weird i was getting no motionmask(blah blah)when i was using a different version of masktools but since i got 149 no more problems

Dialhot 03-04-2004 06:46 PM

Quote:

Originally Posted by bigggt
Its weird i was getting no motionmask(blah blah)when i was using a different version of masktools but since i got 149 no more problems

I edited my post.

bigggt 03-04-2004 06:52 PM

Here is another place if anyone else is having trouble finding it

http://mf.creations.nl/avs/filters/

kwag 03-04-2004 07:52 PM

I tested the script, and it is great. However, there is a flaw :!:
After every scene change, there are trails of the prior scene, on the scene just after the change.
Nobody saw this :?:

-kwag

audioslave 03-04-2004 08:08 PM

@kwag

I can't see any of these flaws you're refering to. 8O Could you describe it more, please?
BTW I'm using "Motion search precision: High quality (slow)" in TMPGEnc. If you're not, please try again with that setting...

EDIT: No matter what "Motion search precision" I set I can't seem to get the flaws you mentioned...

kwag 03-04-2004 08:32 PM

Quote:

Originally Posted by audioslave
@kwag

I can't see any of these flaws you're refering to. 8O Could you describe it more, please?

BTW I'm using "Motion search precition: High quality (slow)" in TMPGEnc. If you're not, please try again with that setting...

It's not an encoder issue. It's a filter issue, and it's clearly visible.
Not to mention some color bleeding artifacts that I also noticed on some scene changes.

Here, look at these screenshots, and look at the artifact from the first shot, clearly visible on the second shot.
The planet's "halo", is clearly seen on the second shot, but not on the third shot.

http://www.digitalfaq.com/archives/i.../2004/03/1.png
http://www.digitalfaq.com/archives/i.../2004/03/2.png
http://www.digitalfaq.com/archives/i.../2004/03/3.png

audioslave 03-04-2004 08:40 PM

I see what you mean, kwag. But no matter how hard I look I can't see any trace of this phenomenon on the movies I've encoded with HybridFuPP... :? Could you please post the script you used?

kwag 03-04-2004 08:48 PM

Quote:

Originally Posted by audioslave
I see what you mean, kwag. But no matter how hard I look I can't see any trace of this phenomenon on the movies I've encoded with HybridFuPP... :? Could you please post the script you used?

Code:

## DLL Section ##
#
LoadPlugin("C:\filters25\mpeg2dec3.dll")
LoadPlugin("C:\filters25\masktools.dll")
LoadPlugin("C:\filters25\undot.dll")
LoadPlugin("C:\filters25\unfilter.dll")
LoadPlugin("C:\filters25\fluxsmooth.dll")
LoadPlugin("C:\filters25\MSharpen.dll")
#
####

## Defined Variables and Constants ##
#


#
####

## Main section and static filters ###
#
Mpeg2Source("K:\RED_PLANET\VIDEO_TS\red.d2v")
BicubicResize(704, 272, 0, 0.6, 11, 60, 698, 360)

HybridFuPP(704, 272, Preset="High", Chroma=False )

#
#

AddBorders(0, 104, 0, 104)
LetterBox(16, 16, 16, 16)

#
#
## Functions ###

function fmin( int f1, int f2) {
  return ( f1<f2 ) ? f1 : f2
}
 
#
####



# HybridFuPP 0.71b

Function HybridFupp(clip input, int "width", int "height", int "E_Thr", int "ST_Str", int "SP_Str", int "sharp_x", \
                    int"sharp_y", int "M_Thr", int "M_SCD",int "Nresizer", int "Eresizer", bool "chroma", bool "dering", \
                    bool "special", int "special_Thr", string "preset", int "debug")
{
..................... code here. Deleted to save screen space ...................
}


audioslave 03-04-2004 08:51 PM

Wierd :!: :? I'm lost... Do you use the latest version of the filters used in the function? I don't know if it makes a difference but what the heck...

incredible 03-04-2004 08:55 PM

Quote:

Originally Posted by Kwag
Mpeg2Source("K:\RED_PLANET\VIDEO_TS\red.d2v")
BicubicResize(704, 272, 0, 0.6, 11, 60, 698, 360)

HybridFuPP(704, 272, Preset="High", Chroma=False )

As HybridFupp does do the scaling for you, you just should "split" Bicubic resize into its cropping part:

Mpeg2Source("K:\RED_PLANET\VIDEO_TS\red.d2v")
Crop(11, 60, 698, 360)

HybridFuPP(704, 272, Preset="High", Chroma=False )

... or do not set the resolutions in HybridFupp if using the whole bicubic command as Hyb.Fupp it gots an internal incoming stream width/height detection ... As I remeber when I couldn't resist looking at the avsi inside

;-)

audioslave 03-04-2004 08:59 PM

@kwag

This is how my script looks:
Quote:

Mpeg2Source("D:\DVD Rip\BBII\BBII.d2v")
#LanczosResize(448, 304, 6, 76, 708, 426) # Only here for reference!!!
Crop(6, 76, 708, 426)
HybridFuPP(448, 304, Preset="High", Chroma=False)
AddBorders(16, 136, 16, 136)
VobSub("D:\DVD Rip\BBII\VTS_01_0")
And I've put the HybridFuPP.avsi into the Avisynth 2.5 plugin folder.

kwag 03-04-2004 09:02 PM

Quote:

Originally Posted by incredible
As HybridFupp does do the scaling for you, you just should "split" Bicubic resize into its cropping part:

That doesn't work for me, because Crop needs even numbers. So I get an error message when I try to open the .avs script.
Is there really any advantage to do it that way :?:

-kwag

audioslave 03-04-2004 09:09 PM

I have absolutely no idea. :roll: You're the script wizard kwag... 8) :wink:

incredible 03-04-2004 09:16 PM

Quote:

Originally Posted by kwag
Quote:

Originally Posted by incredible
As HybridFupp does do the scaling for you, you just should "split" Bicubic resize into its cropping part:

That doesn't work for me, because Crop needs even numbers. So I get an error message when I try to open the .avs script.
Is there really any advantage to do it that way :?:

-kwag

Whats the big deal when cropping using even numbers as it makes sense, ok maybe loosing "one" px as line ;-)

Well if advantage or not, if choosing Bicubic and its 0,0.6 algorythm you're already affecting/sharpening the Image before entering into Hyb.Fupp! So IF using Bicubic then change from 0,0.6 to 0,0

So I also do correct myself and recomend to let Hyb.Fupp do all the resizing including the usage of crop() before.

kwag 03-04-2004 09:20 PM

Quote:

Originally Posted by audioslave
I have absolutely no idea. :roll:

I think it really doesn't make a difference.
Quote:

You're the script wizard kwag... 8) :wink:
I'm not :mrgreen:

-kwag


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

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.