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)

incredible 03-04-2004 09:23 PM

just 18 points Kwag and we all gonna test your Beer-O-matic machine in puerto (que)rrrrico! :lol:

audioslave 03-04-2004 09:29 PM

@Incredible
Have I missed something?

incredible 03-04-2004 09:30 PM

watch his posting-counter ... and you can smell the beer!! :lol:

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

kwag 03-04-2004 09:32 PM

Quote:

Originally Posted by incredible
just 18 points Kwag and we all gonna test your Beer-O-matic machine in puerto (que)rrrrico! :lol:

Are you reading my mind 8O
I just came from the kitchen with a mug full of my last brew, and I read this post :lol: :rotf:

-kwag

audioslave 03-04-2004 09:34 PM

Aha... 17 to go. :wink:

EDIT: Of course! Now I see why Kwag's always talking about beer... :wink: I just thought he was raving alcoholic :!: :D

incredible 03-04-2004 09:36 PM

Quote:

Originally Posted by kwag
Are you reading my mind 8O

Maybe... but I'm german and so I smell the beer! :lol:

Do you know "Kölsch" Beer from my city Cologne?? They serve it in long glasses! DELICIOUS!! :wink:

bigggt 03-04-2004 09:36 PM

The way this thread is going you should be there in the next hour :D

10 000

quite a milestone :ole:

incredible 03-04-2004 09:38 PM

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 :lol: :lol:

kwag 03-04-2004 09:41 PM

Quote:

Originally Posted by incredible
Quote:

Originally Posted by kwag
Are you reading my mind 8O

Maybe... but I'm german and so I smell the beer! :lol:

:rotf:
Quote:


Do you know "Kölsch" Beer from my city Cologne??
Yes, I believe I do.
Quote:

They serve it in long glasses! DELICIOUS!! :wink:
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

kwag 03-04-2004 09:45 PM

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 :mrgreen:

Edit: Went off topic :!: Back to scripting :cool:

-kwag

kev23m 03-04-2004 10:15 PM

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.

Icarus3000 03-05-2004 08:33 AM

My question seems to have gotten lost in the indepth discussions (on scripting and beer 8) ).

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?

Dialhot 03-05-2004 09:00 AM

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 ? :-PPP

jorel 03-05-2004 10:40 AM

.......maybe......water!
:lol:

just kiddin Icarus3000,
... number of posts don't show knowledge,
compare mine posts with many others members here....i loose in quality!
:wink:

incredible 03-05-2004 12:11 PM

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 :lol:

Ill do it tonight! 8)

kwag 03-05-2004 06:30 PM

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 :lol:

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 :lol:

-kwag

incredible 03-05-2004 07:15 PM

ok, I made a lot of OneCDencodings using a GOP length of 84 and everything was playing fine and quality-linear. :wink: 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 :lol:

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. :)

bigggt 03-06-2004 07:20 PM

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 :oops: o or it doesn't matter

thanx

kwag 03-06-2004 07:56 PM

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. :wink:

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

audioslave 03-06-2004 11:47 PM

OK, but we should still UNCHECK detect scene change?


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

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