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

Reply
 
LinkBack Thread Tools
  #81  
03-04-2004, 09:23 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
just 18 points Kwag and we all gonna test your Beer-O-matic machine in puerto (que)rrrrico!
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
  #82  
03-04-2004, 09:29 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
@Incredible
Have I missed something?
__________________
AudioSlave
Reply With Quote
  #83  
03-04-2004, 09:30 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
watch his posting-counter ... and you can smell the beer!!

And here you can see how he already prepared himself for the "gran KVCD reunión"!
http://www.kvcd.net/forum/viewtopic.php?t=9021
Reply With Quote
  #84  
03-04-2004, 09: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 incredible
just 18 points Kwag and we all gonna test your Beer-O-matic machine in puerto (que)rrrrico!
Are you reading my mind
I just came from the kitchen with a mug full of my last brew, and I read this post

-kwag
Reply With Quote
  #85  
03-04-2004, 09:34 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
Aha... 17 to go.

EDIT: Of course! Now I see why Kwag's always talking about beer... I just thought he was raving alcoholic
__________________
AudioSlave
Reply With Quote
  #86  
03-04-2004, 09:36 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
Are you reading my mind
Maybe... but I'm german and so I smell the beer!

Do you know "Kölsch" Beer from my city Cologne?? They serve it in long glasses! DELICIOUS!!
Reply With Quote
  #87  
03-04-2004, 09:36 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
The way this thread is going you should be there in the next hour

10 000

quite a milestone
Reply With Quote
  #88  
03-04-2004, 09:38 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
I think if Kwag will go to brew the beer for ALL of us, this will take time! And he will be occupied by doing that (how many members are we here??) .. so it will take a while until 10000 is reached
Reply With Quote
  #89  
03-04-2004, 09:41 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
Quote:
Originally Posted by kwag
Are you reading my mind
Maybe... but I'm german and so I smell the beer!
Quote:

Do you know "Kölsch" Beer from my city Cologne??
Yes, I believe I do.
Quote:
They serve it in long glasses! DELICIOUS!!
Oh, yes. Remember, I was in the ARMY in Germany, so I had A LOT of German beer
( Licher, Henninger, Becks, and many brands I can't remember now )

-kwag
Reply With Quote
  #90  
03-04-2004, 09:45 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
I think if Kwag will go to brew the beer for ALL of us, this will take time!
That's the only thing I don't like about the micro brewery. I have to wait 4 to 5 days for the fermentation process to finish, then another 4 to 5 days in the frig to stabilize the beer. So on average, I have to wait 8 to 10 days, before I can pour a first glass.
And then it's empty in about a week

Edit: Went off topic Back to scripting

-kwag
Reply With Quote
  #91  
03-04-2004, 10:15 PM
kev23m kev23m is offline
Free Member
 
Join Date: Feb 2004
Location: India
Posts: 185
Thanks: 0
Thanked 0 Times in 0 Posts
I just tried this script and it's giving excellent results.
Am a newnie to kvcd's , don't understand anything in the script too.

Just copied the script , removed the crop line as it was giving an error , resized the resolution to 352x480, min/max bitrate is 300:1800 getting a cq of 62.6 and widescreen video.
The source is dvd , runtime 131 mins.

Any thing else i can change to get a better cq , fitting it to one cd kvcd.
Reply With Quote
  #92  
03-05-2004, 08:33 AM
Icarus3000 Icarus3000 is offline
Free Member
 
Join Date: Feb 2003
Posts: 258
Thanks: 0
Thanked 0 Times in 0 Posts
My question seems to have gotten lost in the indepth discussions (on scripting and beer ).

Anyway, for those who are testing the new script - are you using "detect scene change" or not?

Thanks,
Icarus


EDIT: Wow! My 100th post. Do I get a free beer for that?
Reply With Quote
  #93  
03-05-2004, 09:00 AM
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 Icarus3000
Anyway, for those who are testing the new script - are you using "detect scene change" or not?
I do not personally. But I just did a video yesterday and no had time to do real comparison for the moment.

Quote:
EDIT: Wow! My 100th post. Do I get a free beer for that?
Hum. For 100 the prize is a Stawberries/Milk. Do you want it warm or cold ? PP
Reply With Quote
  #94  
03-05-2004, 10:40 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
.......maybe......water!


just kiddin Icarus3000,
... number of posts don't show knowledge,
compare mine posts with many others members here....i loose in quality!
Reply With Quote
  #95  
03-05-2004, 12:11 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 Icarus3000
Anyway, for those who are testing the new script - are you using "detect scene change" or not?
Don't do it! Why? Very easy:

The scene change detection of TmpgEnc is based on an internal threshold, and that threshold is not known, neither adjustable.

So as we know I frames do need the most of bits and seen in a whole, you could have a little quality rise in scene changes, but on the other hand the overall CQ will drop. And thats the problem on oneCDencodings where we do gain from every bit.
I saw one case where SceneChangedetec. was enabled and in some high action scenes I got crazy arbitary GOP counts:

IBBPIBIBBPBBIBIBIBI ... you see what I mean?

IF you want to do encode using Scene change, then TmpgEnc does got an option where you can enter the "Forced Picture Type settings" which is a bit tricky but you can set there the option to "Control" tmnpgEncs automatic SC findings.


PS: IMHO a KVCD specs GOP of 24/25 is tight enough to do good encodings without scene change detection ... seen in relation to our very compressing way of KVCD. I did a Template where I did set a GOP to 84 frames in effective! There it gave me a smaller quality increase when doing the SceneChange way BUT using "Forced Picture Type Settings" and its "sensivity" threshold determination option.

BTW: we should do a test and encode a KVCD using a GOP of maybe crazy 250 frames BUT with a "right" setting in SceneChange detection in "forced picture type settings" .... Means only I frames at Scene Changes ..."sounds" cool and logic but could result in scenes using really 250 frames in a GOP .... and that should we find out as this could result in a Mega compression advantage ... but on the other hand in a very risky stream according to SAP GOP sensibilities

Ill do it tonight!
Reply With Quote
  #96  
03-05-2004, 06:30 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

BTW: we should do a test and encode a KVCD using a GOP of maybe crazy 250 frames BUT with a "right" setting in SceneChange detection in "forced picture type settings" .... Means only I frames at Scene Changes ..."sounds" cool and logic but could result in scenes using really 250 frames in a GOP .... and that should we find out as this could result in a Mega compression advantage ... but on the other hand in a very risky stream according to SAP GOP sensibilities
That won't work Inc. We've already tried long GOPs, and the result is a "Flashing" or "Pulsating" video.
Search the forum on "Flashing" or "Pulsating" and you'll see.
When you have a very long GOP, the video degrades as time goes by, and when a new I frame is inserted, it's like all of a sudden you turned on a light

-kwag
Reply With Quote
  #97  
03-05-2004, 07:15 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
ok, I made a lot of OneCDencodings using a GOP length of 84 and everything was playing fine and quality-linear. And you know my taste according to quality

If you like a taste Ill give you the link of a 400kbit AVG sample of mine of IndianaJones1 @480x576.

But back to Hyb.Fupp() ....
Did you check the avsi inside? Its build very logical and if you look closer everything builds on that edge detection ... I have to say that this is a great work of Fupp as you also can set every affecting parameter means total control of everything which does that routine.

I do recognise that the spatial work does its job very heavy if left to the presets defaults ... actors become "shaved" very fast even in non motion areas ... so watch out ... but that should only be a parameter setting job to ged rid of that

But what I do not understand that much is why he uses that complex diff. resizers? I mean you can just set a clear Bicubic setting as default which does treat the WHOLE image and the edgedetection is only working for spatial/temporal/sharpen/blurring ???

And that is what we should try on MA ... the implementation of masktools and the edgedetection.

EDIT:

Masktools (download is mentioned in here for vers. 1.49) works very nice, just apply for a test at the end of your script BEFORE adding the borders:

Code:
a=last
b=a.unfilter(-70,-70)
c=a.MotionMask(thY1 = 15, thY2 = 15, thC1 = 5, thC2 = 5, thSD = 10)
return MaskedMerge(a,b,c)
If you change MaskedMerge(a,b,c) into MaskedMerge(a,c,c) .... you can see what will be softened.
Reply With Quote
  #98  
03-06-2004, 07:20 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
one little question i am getting the same error Kwag was getting about the even numbers and have got a question.

here is my line from moviestacker

Code:
Crop(11, 0, 698, 480) 
HybridFuPP(512, 352, Preset="High", Chroma=False)
Now i know the 11 is the problem but what should i change it to 12 or 10 o or it doesn't matter

thanx
Reply With Quote
  #99  
03-06-2004, 07:56 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
ok, I made a lot of OneCDencodings using a GOP length of 84 and everything was playing fine and quality-linear.
If it's action scenes, you won't notice it.
That's one of the reasons we dropped the GOP size down to 24(25).
The original KVCD templates had a GOP size of 48, and people were reporting the flashing effect.
It's only visible on long static scenes, like this: http://www.kvcd.net/test.m1v.mpg
That's a GOP of 80.
Look closely, and you'll clearly see when the new "I" frame strikes

-kwag
Reply With Quote
  #100  
03-06-2004, 11:47 PM
audioslave audioslave is offline
Free Member
 
Join Date: Mar 2003
Location: Sweden
Posts: 725
Thanks: 0
Thanked 0 Times in 0 Posts
OK, but we should still UNCHECK detect scene change?
__________________
AudioSlave
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 07:08 PM  —  vBulletin © Jelsoft Enterprises Ltd