Quantcast Interesting Avisynth Resizing Thread at Doom9.org - Page 4 - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #61  
03-04-2004, 08:19 AM
Icarus3000 Icarus3000 is offline
Free Member
 
Join Date: Feb 2003
Posts: 258
Thanks: 0
Thanked 0 Times in 0 Posts
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
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
  #62  
03-04-2004, 11:30 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
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
But I was relating the word combination: (FU)FuPP(MA)Motion Adaptive a(N)d (CHU)lerias

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
( Relating it to the complexity of the script, of course. Not to the functionality )

-kwag
Reply With Quote
  #63  
03-04-2004, 06:33 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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 ?
Reply With Quote
  #64  
03-04-2004, 06:36 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #65  
03-04-2004, 06:41 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #66  
03-04-2004, 06:45 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #67  
03-04-2004, 06:46 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #68  
03-04-2004, 06:52 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
Here is another place if anyone else is having trouble finding it

http://mf.creations.nl/avs/filters/
Reply With Quote
  #69  
03-04-2004, 07:52 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #70  
03-04-2004, 08:08 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
@kwag

I can't see any of these flaws you're refering to. 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...
__________________
AudioSlave
Reply With Quote
  #71  
03-04-2004, 08:32 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by audioslave
@kwag

I can't see any of these flaws you're refering to. 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.



Reply With Quote
  #72  
03-04-2004, 08:40 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
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?
__________________
AudioSlave
Reply With Quote
  #73  
03-04-2004, 08:48 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
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 ...................
}
Reply With Quote
  #74  
03-04-2004, 08:51 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
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...
__________________
AudioSlave
Reply With Quote
  #75  
03-04-2004, 08:55 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
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

Reply With Quote
  #76  
03-04-2004, 08:59 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
@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.
__________________
AudioSlave
Reply With Quote
  #77  
03-04-2004, 09:02 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #78  
03-04-2004, 09:09 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
I have absolutely no idea. You're the script wizard kwag...
__________________
AudioSlave
Reply With Quote
  #79  
03-04-2004, 09:16 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
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.
Reply With Quote
  #80  
03-04-2004, 09:20 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by audioslave
I have absolutely no idea.
I think it really doesn't make a difference.
Quote:
You're the script wizard kwag...
I'm not

-kwag
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Interesting results with YlevelsS supermule Avisynth Scripting 2 08-06-2006 11:59 PM
Avisynth: Interesting ASharp phenomenon... audioslave Avisynth Scripting 12 10-23-2003 06:36 AM
Avisynth: Latest Scripts Thread EvilFactor Avisynth Scripting 3 06-16-2003 11:53 PM
Avisynth: Resizing? CheronAph Avisynth Scripting 5 03-01-2003 08:41 PM
AviSynth 2.05 filter Compare for debugging is interesting... black prince Avisynth Scripting 0 09-25-2002 08:57 PM




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