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. |
18th June 2003, 21:46 | #1 | Link |
Registered User
Join Date: Oct 2001
Location: Gainesville FL USA
Posts: 2,092
|
New versions of FillMargins and AddGrain filters
I today posted an updated version of my FillMargins filter that corrects a typical trbarry OBO error sometimes causing green specks in a corner. I also try to make it blend the top and bottom margins a bit to make them less obtrusive, but it really doesn't seem to have much effect.
I also posted a new AddGrain filter. This uses some of SansGrip's noise generator code to add a film-like grain to a video clip. The noise can be optionally correlated in the horizontal and/or vertical directions, causing various streaks & clumps. And I today even found a setting that can make any scene look like it is raining. See the readme. Get the files (including source) at: www.trbarry.com/FillMargins.zip www.trbarry.com/AddGrain.zip And please let me know if busted something. - Tom
__________________
My video filters (still) at www.trbarry.com. Last edited by trbarry; 18th June 2003 at 23:53. |
19th June 2003, 07:33 | #2 | Link |
Retired AviSynth Dev ;)
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
|
Great to see you get some time to finish up all those things!
I'm not quite sure I get the blending idea behind the FillMargins improvement - but it worked nicely already. I assume AddGrain is the usual "Trbarry, Faster than H*ll" type of filter?
__________________
Regards, sh0dan // VoxPod Last edited by sh0dan; 19th June 2003 at 07:36. |
19th June 2003, 16:37 | #3 | Link | |
Registered User
Join Date: Oct 2001
Location: Gainesville FL USA
Posts: 2,092
|
Quote:
I haven't tested the speed, but hopefully it should run in negligable time, faster than UnDot for instance. - Tom (I didn't invent assembler. I just use it )
__________________
My video filters (still) at www.trbarry.com. |
|
19th June 2003, 16:45 | #4 | Link | |
Registered User
Join Date: Oct 2001
Location: Gainesville FL USA
Posts: 2,092
|
Quote:
I tend to work on these things sort of off and on. And I'm not very organized about it. But it seemed there was some other issue/bug that you pointed out on one of my filters that I had promised to fix. Any idea what? Don't I still owe you one? - Tom
__________________
My video filters (still) at www.trbarry.com. |
|
19th June 2003, 17:42 | #6 | Link |
Registered User
Join Date: Oct 2001
Location: Gainesville FL USA
Posts: 2,092
|
Doh!
- Tom
__________________
My video filters (still) at www.trbarry.com. |
26th August 2003, 22:34 | #7 | Link |
Registered User
Join Date: Apr 2002
Location: Europe/Oceana
Posts: 332
|
Firstly I must say that I love, it is fast as hell. Good job old boy!
Could I make a request on for a new version of AddGrain Mr. Barry; I would love it if there was a setting that you could configure to tell the AddGrain filter to add every other frame or so, this will make the noise seem less violent. Adding noise to all frames rather, just the same pattern or random (pattern of random, a SLIGHT ;Oxymoron to say the least), that is a to have the same noise over two frames then to change it... AddGrain currently as I said is great and gets included in basically all scripts of mine to bring out the shine... It just seems a little fast paced movement. I am sure that that is very little work to do and I would love it if you could make it so. Additional (not that important): YUY2 support...? Sorry if I sould a little bold and asking you is taking rather a liberty. harrison |
27th August 2003, 02:28 | #8 | Link | |
Registered User
Join Date: Oct 2001
Location: Gainesville FL USA
Posts: 2,092
|
Quote:
Does it need more than this? - Tom
__________________
My video filters (still) at www.trbarry.com. |
|
27th August 2003, 09:04 | #9 | Link |
Retired AviSynth Dev ;)
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
|
I seem to remember that ffdshow only updates the noise pattern every second frame.
Furthermore it could also be a nice feature, if the noise pattern was seeded by the frame number, so that frames are consistent, as long as the framenumbers are the same. Just suggestions - I only rarely use the filter, so it isn't a big issue for me personally.
__________________
Regards, sh0dan // VoxPod |
28th August 2003, 01:55 | #10 | Link |
Registered User
Join Date: Apr 2002
Location: Europe/Oceana
Posts: 332
|
As shodan mentioned, it ffdshow keeps the noise patternt for 2 frames each time.
In the AddGrain currently, it changes the noise pattern every frame. Would it be possible to keep the same noise pattern over 2 frames, then an equally random pattern for the next. Sorry if you couldn't understand me lastime, I was babling and I was rather tired. I started cycling from Cambridge and the next thing I knew I was on the other side of London, I have no idea how I managed that. I was really knackerd:P so was very confused by what I was saying myself and just hoping that you could make more sense than me out of it. I think that the rephrase will suffice. harrison |
1st September 2003, 17:48 | #11 | Link |
Registered User
Join Date: Oct 2001
Location: Gainesville FL USA
Posts: 2,092
|
Sorry, been moving and without net access for a few days.
I'll take a look at the reproducibility thing. But I'm still not sure why changing the noise every 2 frames is special in any way except that ffdshow does it. Does it have something to do with PAL movies showing each frame twice at 50 Hz? - Tom
__________________
My video filters (still) at www.trbarry.com. |
1st September 2003, 18:05 | #12 | Link |
·
Join Date: Jan 2002
Posts: 1,729
|
As I've been interested in detail approximation (see filter DetailIllusion), I'd like to request temporal correlation. Denoising a noised image is not really effective, and since the noise is created around existing values I can't process it seperately. My goal is to create "static noise" that only changes when movement occurs.
|
16th February 2017, 02:10 | #13 | Link |
47.952fps@71.928Hz
Join Date: Mar 2011
Posts: 940
|
Ancient bump... *ahem*
But would it be possible if someone can upgrade this from MMX to AVX or even SSE2? http://avisynth.nl/index.php/FillMargins Would there even be a difference?
__________________
Win10 (x64) build 19041 NVIDIA GeForce GTX 1060 3GB (GP106) 3071MB/GDDR5 | (r435_95-4) NTSC | DVD: R1 | BD: A AMD Ryzen 5 2600 @3.4GHz (6c/12th, I'm on AVX2 now!)
|
16th February 2017, 02:36 | #14 | Link | |
Registered User
Join Date: Jan 2010
Posts: 709
|
Quote:
__________________
powered by Google Translator |
|
16th February 2017, 03:16 | #15 | Link | |
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,664
|
Have not compared speeds but jackoneill made FillBorders for VapourSynth which has a fillmargins mode:
Quote:
There's also BorderControl which has many settings and can probably do the same as FillMargins. Regardless, I think it would be great if someone updated FillMargins to support additional colorspaces in AVS 2.6/ AVS+. |
|
24th February 2017, 16:34 | #16 | Link | |
unsigned int
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
|
Quote:
__________________
Buy me a "coffee" and/or hire me to write code! |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|