Quantcast Interesting Avisynth Resizing Thread at Doom9.org - Page 7 - digitalFAQ.com Forums [Archives]
  #121  
03-13-2004, 06: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
Thanx a lot Fupp! Can't wait to test!
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
  #122  
03-13-2004, 06:16 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
Simulcasting Inc

-kwag
Reply With Quote
  #123  
03-13-2004, 06:19 PM
FuPP FuPP is offline
Free Member
 
Join Date: Mar 2004
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
You got it FuPP
I just scrolled through the section where the artifact was showing, and it's gone bye bye

Thanks,
-kwag
:P
Reply With Quote
  #124  
03-13-2004, 06:21 PM
FuPP FuPP is offline
Free Member
 
Join Date: Mar 2004
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
Thanx a lot Fupp! Can't wait to test!
Please do ! And let me know...

Regards,
FuPP
Reply With Quote
  #125  
03-13-2004, 06:28 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
Anyone out there running MUTE, you'll find a very small sample called HybridFuPP_084_ffvfw_KDVD_sample.m2v
Or just search for KVCD, and you'll see it plus some of the old samples
Can't wait , get it here: http://www.kvcd.net/HybridFuPP_084_f...DVD_sample.m2v (It's only 637KB)

-kwag
Reply With Quote
  #126  
03-13-2004, 06:44 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
Great work FuPP - again! Will start testing right away.

P.S. Nice clip kwag!
__________________
AudioSlave
Reply With Quote
  #127  
03-13-2004, 10:33 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
Ok guys, here we go

I made three sample encodes, one with FuPP, another with Deen and one with modified MA script.
All samples encoded MPEG-2 (KDVD) at 704x480 using KVCD Notch Matrix, and TMPGEnc at a CQ of 70.

This are the scripts used:

FuPP script:
Code:
Mpeg2Source("K:\RED_PLANET\VIDEO_TS\red.d2v")
BicubicResize(704, 272, 0, 0.6, 11, 60, 698, 360)
HybridFuPP(704, 272, Preset="High", Chroma=True )
AddBorders(0, 104, 0, 104)
LetterBox(16, 16, 16, 16)
Deen script:
Code:
Mpeg2Source("K:\RED_PLANET\VIDEO_TS\red.d2v")
BicubicResize(704, 272, 0, 0.6, 11, 60, 698, 360)
deen()
AddBorders(0, 104, 0, 104)
LetterBox(16, 16, 16, 16)
Modified MA script (reduced to a single line) :
Code:
Mpeg2Source("K:\RED_PLANET\VIDEO_TS\red.d2v")
BicubicResize(704, 272, 0, 0.6, 11, 60, 698, 360)
ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1)  ") 
AddBorders(0, 104, 0, 104)
LetterBox(16, 16, 16, 16)
The results are interesting
Code:
FuPP - File Size: 2,444KB - Encode Time: 1m:16s
Deen - File Size: 2,410KB - Encode Time: 1m:13s
MA -   File Size: 2,342KB - Encode Time: 0m:48s
Edit: Don't trust encode times, because I have many things running in my PC
But file sizes are correct and consistent, no matter what CPU overhead there is.


Here are the samples:
http://www.kvcd.net/red-fupp.m2v
http://www.kvcd.net/red-deen.m2v
http://www.kvcd.net/red-ma.m2v

-kwag
Reply With Quote
  #128  
03-13-2004, 10:52 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
cool!
i'm downloading to see the quality of each script!

seems off topic but :
i like too much of the deen filter with this parameters:
deen("a3d",3,4,1,4) # light cleaning
why don't use in MA and/or FuPP
Reply With Quote
  #129  
03-13-2004, 11:05 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 jorel
cool!
i'm downloading to see the quality of each script!
I see the quality of FuPP slightly better than MA, and Deen and MA about the same.
If this difference is notable on a TV, I'm not so sure.
But for file size, specially on a long and very active (action) movie, I'm sure the MA will have the smallest file size.
On a drama type movie, the results of file size will probably be about the same with FuPP or MA, but quality of FuPP will be better.
Quote:
seems off topic but :
i like too much of the deen filter with this parameters:
deen("a3d",3,4,1,4) # light cleaning
why don't use in MA and/or FuPP
I just wanted to do a test by stripping down a many components as I could.
Really, the MA, is this single line of code:
Code:
ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1)  ")


-kwag
Reply With Quote
  #130  
03-13-2004, 11:25 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
i see different:

MA and Deen are equal but better matizes,
look the little lights(red,yellow and green)
in the begining of the samples, the color of the skin (face),
the "brown" of the planet and the red light of the "aircraft" (nave,ufo,don't know the name)!

Fupp change the matizes to green and all colors are faded!
(less intensity,washed)
use the same scenes that i used for MA and Deen like posted!

for me, MA and Deen have better matizes than Fupp
Reply With Quote
  #131  
03-13-2004, 11:46 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 jorel
i see different:

MA and Deen are equal but better matizes,
look the little lights(red,yellow and green)
in the begining of the samples, the color of the skin (face),
DAMN jorel, you have the eye of an eagle
I hadn't seen that. Here are screenshots of exactly what you mean:

FuPP:


Deen:


MA:
Quote:


the "brown" of the planet and the red light of the "aircraft" (nave,ufo,don't know the name)!

Fupp change the matizes to green and all colors are faded!
(less intensity,washed)
use the same scenes that i used for MA and Deen like posted!

for me, MA and Deen have better matizes than Fupp
You're correct
I need to go to your eye doctor

-kwag
Reply With Quote
  #132  
03-13-2004, 11:52 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

now you know what means:

"nose on the screen" :0)
in my signature.



Reply With Quote
  #133  
03-13-2004, 11:54 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 jorel

now you know what means:

"nose on the screen" :0)
in my signature.
HAHAHA Yes, now I do

-kwag
Reply With Quote
  #134  
03-14-2004, 02:56 AM
fabrice fabrice is offline
Free Member
 
Join Date: Mar 2003
Location: Madrid-Spain
Posts: 515
Thanks: 0
Thanked 0 Times in 0 Posts
Hi everyone,

And what about replacing the MA part with this lines?
Quote:
MM = last.MotionMask(thY1= 12, thY2= 25, thSD= 33, y=3, u=1, v=1).Expand()
DM = last.Binarize(threshold=40).Deflate()

Dark = last.blur(1.5)
NoMoNoEdge = last.TemporalSoften( 3, 4, 8, 10, 2)
Motion = last.blur(1.2)

layer1 = MaskedMerge(NoMoNoEdge, dark, DM, y=3, u=1, v=1)
layer3 = MaskedMerge(layer1, Motion, MM, y=3, u=1, v=1)

return layer3
(idea from hybridfupp, but with some modifications)
The speed is a lot better, and I have to compare the quality...

Cu
Fabrice
Reply With Quote
  #135  
03-14-2004, 04:24 AM
FuPP FuPP is offline
Free Member
 
Join Date: Mar 2004
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Kwag : could you provide me the sample ? I'm quiet surprised about colors as I have used colorYUV(analyze=true) to check that and it was ok !

PS : I was wondering if this sample is not a little bit too dark to have an opinion about quality ?

Oh, and you could do a test putting parameters :
preset = "high", N2 ="deen()", Nresizer = 4

or N2 = temporalsoften(something for still scenes)

or (preset = high, ST_Str = 3) too.

and tell us about compressibility and quality of HybridFuPP for the same scenes in these cases ?

The point is that I use a very very light temporal softening, fluxsmooth()1,-1), while you use probably harder values (deen() is quiet strong for instance).

FuPP
Reply With Quote
  #136  
03-14-2004, 10:23 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 wrote:
" I was wondering if this sample is not a little bit too dark to have an opinion about quality ?"

i could be wrong FuPP, but don't think so, correct me if i'm wrong:
the color can't change the matizes if was used the same scene that have the same luma
no matter if the source is dark or bright, right?

links to download the samples:
http://www.kvcd.net/red-fupp.m2v
http://www.kvcd.net/red-deen.m2v
http://www.kvcd.net/red-ma.m2v

Reply With Quote
  #137  
03-14-2004, 10:29 AM
FuPP FuPP is offline
Free Member
 
Join Date: Mar 2004
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Jorel,

oh, I was not talking about the chroma problem ! I was talking about the overall quality.

About chroma pb, I need the original sample to take measurements !

FuPP
Reply With Quote
  #138  
03-14-2004, 10:57 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
Hi FuPP,

If you mean from the original VOB, here's a 2 second cut:
http://www.kvcd.net/rp2sec.vob

Also take note on the red area I pointed on the screenshot, there's an artifact that looks like an incorrect colored mapped macroblock, on the lower left part, which is not visible on the samples that were created with Deen or MA.

-kwag
Reply With Quote
  #139  
03-14-2004, 11:35 AM
FuPP FuPP is offline
Free Member
 
Join Date: Mar 2004
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
ok, got it.

It is caused by a bug in the internal command blur(), used to smooth chroma !

I'm now trying to find a workaround...

FuPP
Reply With Quote
  #140  
03-14-2004, 12:59 PM
FuPP FuPP is offline
Free Member
 
Join Date: Mar 2004
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
I'm definitevely stupid ! This not a bug : this is normal, and it happens only on very dark scenes. In that kind of scenes, bluring chroma planes can cause that kind of things (not easy to explain in english for me). I'm looking if I can do something...
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

Thread Tools



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