Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 28th May 2010, 17:09   #41  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
it looks to me that the 3 grain layers in GrainF3 w/ 1.4 are not random anymore...they all seem to use the same pattern(except for the chunk size). w/ 1.1 I do get my "Grain EE 3D pop effect" feeling I've spent so much time working on...making halo-based EE is so yesterday

Last edited by leeperry; 28th May 2010 at 17:49.
leeperry is offline   Reply With Quote
Old 2nd June 2010, 03:47   #42  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
..which makes me think that "seed repeatable" implies that provided I would find a "best" combination, I might be able to modify GrainF3 to always use the very same seeds/patterns....interesting!
leeperry is offline   Reply With Quote
Old 5th June 2010, 00:34   #43  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
BTW:
Quote:
seed (-1)
Specifies a repeatable grain sequence. Set to at least 0 to use.

constant (false)
Specifies a constant grain pattern on every frame.
at least 0? so this will set the grain sequence? what's the max? I'm not sure how to take advantage of the "repeatable seed" feature of 1.4
leeperry is offline   Reply With Quote
Old 5th June 2010, 04:17   #44  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,558
The max is probably either 2 billion or 4 billion, I forget. Any number will work about as well as any other. Every one will give you a different sequence of grain, but it'll always be identical for the same source parameters. Different colorspace or size will change everything. Give it a shot, set seed to something and keep reloading the script on different frames.
foxyshadis is offline   Reply With Quote
Old 5th June 2010, 05:08   #45  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
ok, interesting...this could do exactly what I want.

EDIT: and it does! many

Last edited by leeperry; 9th June 2010 at 03:41.
leeperry is offline   Reply With Quote
Old 26th October 2010, 08:02   #46  |  Link
TurboPascal7
Registered User
 
TurboPascal7's Avatar
 
Join Date: Jan 2010
Posts: 270
Looks like a bug here. Bug appears with uvar > 0 and constant=true.
Example:

Right down corner. Seems to work incorrect on any resolution on yv12.

Last edited by TurboPascal7; 26th October 2010 at 08:11.
TurboPascal7 is offline   Reply With Quote
Old 25th November 2010, 15:47   #47  |  Link
SSH4
Registered User
 
Join Date: Nov 2006
Posts: 90
hmm, i have some bug
SSH4 is offline   Reply With Quote
Old 26th November 2010, 06:02   #48  |  Link
AlekseiV
Registered User
 
Join Date: Jan 2010
Posts: 92
Quote:
Originally Posted by SSH4 View Post
hmm, i have some bug
drink lots of orange juice
AlekseiV is offline   Reply With Quote
Old 26th October 2011, 20:46   #49  |  Link
Reino
Registered User
 
Reino's Avatar
 
Join Date: Nov 2005
Posts: 693
Quote:
Originally Posted by foxyshadis View Post
...it may also be SSE2 only (haven't run it on the Athlon yet).
I have and your filter doesn't work an my AMD Athlon XP 3200+.
For MCTemporalDenoise your filter is required, but here it comes down with this error:
Code:
Evaluate: System exception - Illegal Instruction
(GradFun2DBmod.v1.5.avsi, line 291)
GradFun2DBmod.v1.5.avsi:
Code:
290 grain  = custom=="empty" ? dither.addgrainC(str,strC,0,0)
291 \      :                   Eval("dither." + custom)
292 diff   = custom=="empty" ? blankclip(dither,color_yuv=$808080).addgrainC(str,strC,0,0)
293 \      :                   Eval("blankclip(dither,color_yuv=$808080)." + custom)
Removing the AddGrainC calls makes MCTemporalDenoise work, so I guess a SSE cpu, as mentioned in the readme, is not enough and your filter is actually SSE2 only at the moment.
If you find some time, could you please have a look?
__________________
My hobby website
Reino is offline   Reply With Quote
Old 26th October 2011, 22:08   #50  |  Link
cretindesalpes
͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿
 
cretindesalpes's Avatar
 
Join Date: Feb 2009
Location: No support in PM
Posts: 712
Quote:
Originally Posted by CoRoNe View Post
I have and your filter doesn't work an my AMD Athlon XP 3200+.
Does this version work better?

EDIT: Link now points to v1.5.3 instead of 1.5.2, I also fixed a bug occurring with RGB24 colorspace, causing unwanted coloration.
__________________
dither 1.28.1 for AviSynth | avstp 1.0.4 for AviSynth development | fmtconv r30 for Vapoursynth & Avs+ | trimx264opt segmented encoding

Last edited by cretindesalpes; 16th August 2012 at 00:23. Reason: Link update
cretindesalpes is offline   Reply With Quote
Old 27th October 2011, 00:20   #51  |  Link
Reino
Registered User
 
Reino's Avatar
 
Join Date: Nov 2005
Posts: 693
Wow, that's quick! Thanks a lot cretindesalpes. It works like a charm.
__________________
My hobby website
Reino is offline   Reply With Quote
Old 27th October 2011, 05:27   #52  |  Link
kypec
User of free A/V tools
 
kypec's Avatar
 
Join Date: Jul 2006
Location: SK
Posts: 826
Quote:
Originally Posted by cretindesalpes View Post
EDIT: Link now points to v1.5.3 instead of 1.5.2, I also fixed a bug occurring with RGB24 colorspace, causing unwanted coloration.
You might want to update "AddGrain.txt" version history section with that fix as well.
kypec is offline   Reply With Quote
Old 27th October 2011, 12:26   #53  |  Link
SSH4
Registered User
 
Join Date: Nov 2006
Posts: 90
cretindesalpes can you check bug from TurboPascal7 post http://forum.doom9.org/showpost.php?...6&postcount=46 ?
SSH4 is offline   Reply With Quote
Old 27th October 2011, 20:54   #54  |  Link
cretindesalpes
͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿
 
cretindesalpes's Avatar
 
Join Date: Feb 2009
Location: No support in PM
Posts: 712
Quote:
Originally Posted by SSH4 View Post
cretindesalpes can you check bug from TurboPascal7 post http://forum.doom9.org/showpost.php?...6&postcount=46 ?
AddGrainC 1.5.4 fixes this problem, as well as other minor issues.
__________________
dither 1.28.1 for AviSynth | avstp 1.0.4 for AviSynth development | fmtconv r30 for Vapoursynth & Avs+ | trimx264opt segmented encoding

Last edited by cretindesalpes; 16th August 2012 at 00:24. Reason: Link update
cretindesalpes is offline   Reply With Quote
Old 28th October 2011, 21:05   #55  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
Update 1.6.0 - SSE2

I took some minutes to add SSE2 code, now it's about 50% faster.
To turn off SSE2 and return to MMX set "sse2=false".

Here is the new version: AddGrainC 1.6.0
LaTo is offline   Reply With Quote
Old 29th October 2011, 11:29   #56  |  Link
LaTo
LaTo INV.
 
LaTo's Avatar
 
Join Date: Jun 2007
Location: France
Posts: 701
Update 1.6.1

Just a one line update to add automatic switch to MMX if your cpu doesn't support SSE2.

Here: AddGrainC 1.6.1
LaTo is offline   Reply With Quote
Old 3rd November 2011, 17:07   #57  |  Link
leeperry
Kid for Today
 
Join Date: Aug 2004
Posts: 3,477
Quote:
Originally Posted by LaTo View Post
I took some minutes to add SSE2 code, now it's about 50% faster.
To turn off SSE2 and return to MMX set "sse2=false".

Here is the new version: AddGrainC 1.6.0
awesomeness,
leeperry is offline   Reply With Quote
Old 16th August 2012, 00:29   #58  |  Link
cretindesalpes
͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿
 
cretindesalpes's Avatar
 
Join Date: Feb 2009
Location: No support in PM
Posts: 712
Update 1.7.0

AddGrainC 1.7.0

This version supports the new Avisynth 2.6 colorspaces: Y8, YV16, YV24 and YV411.
__________________
dither 1.28.1 for AviSynth | avstp 1.0.4 for AviSynth development | fmtconv r30 for Vapoursynth & Avs+ | trimx264opt segmented encoding
cretindesalpes is offline   Reply With Quote
Old 16th August 2012, 01:21   #59  |  Link
Overdrive80
Anime addict
 
Overdrive80's Avatar
 
Join Date: Feb 2009
Location: Spain
Posts: 673
Thanks very much for your effort
__________________
Intel i7-6700K + Noctua NH-D15 + Z170A XPower G. Titanium + Kingston HyperX Savage DDR4 2x8GB + Radeon RX580 8GB DDR5 + ADATA SX8200 Pro 1 TB + Antec EDG750 80 Plus Gold Mod + Corsair 780T Graphite
Overdrive80 is offline   Reply With Quote
Old 16th August 2012, 01:44   #60  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,664
Quote:
Originally Posted by cretindesalpes View Post
AddGrainC 1.7.0

This version supports the new Avisynth 2.6 colorspaces: Y8, YV16, YV24 and YV411.
Wow cretindesalpes, your on a roll! Kudos to you.

Any future plans for the lsb in/out parameters?
Reel.Deel is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 16:26.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.