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. |
24th March 2005, 22:27 | #41 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
Is CACHE_RANGE directional (forward, backward)?
or it is a radius from current frame? or it is a simply counter (limit) of cached frames?
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick I usually do not provide a technical support in private messages. |
25th March 2005, 00:11 | #42 | Link | |
Registered User
Join Date: May 2003
Location: Germany
Posts: 502
|
Quote:
|
|
25th March 2005, 05:28 | #43 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
kassandro,
thanks for respond. Yes, it would be nice. Now i try change radius and look to memory usage, speed, faults, etc.
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick I usually do not provide a technical support in private messages. |
1st April 2005, 21:56 | #44 | Link |
Registered User
Join Date: Nov 2004
Location: Spain
Posts: 408
|
Problem with degrainmedian revisited
Hi:
By suggestion of Ficik i continue here the trhead : http://forum.doom9.org/showthread.php?s=&threadid=92327 Last edited by Guest; 3rd April 2005 at 20:09. |
1st April 2005, 22:05 | #45 | Link |
Registered User
Join Date: Nov 2004
Location: Spain
Posts: 408
|
Problem with degrainmedian revisited
Hi:
Sorry for my inexperience, i can't post the attachement. I pick the file ( extension jpg, size 103 kb ) whith the button "Examinar" (in spanish). The name of the file appears in the window but, alas, no attachement is made. Surely i'm doing anything erroneus. Help please. |
1st April 2005, 22:08 | #46 | Link | |
Bored...
Join Date: Apr 2003
Location: Unknown
Posts: 2,812
|
Re: Problem with degrainmedian revisited
Quote:
Bye |
|
1st April 2005, 22:21 | #47 | Link |
Registered User
Join Date: Nov 2004
Location: Spain
Posts: 408
|
Tanks Soulhunter, you have saved one soul (the mine).
This is the image (click to enlarge): The first part is the image as is, the second part is the difference ( luma only ) after apply degrainmedian(mode=1,limituv=0) in YUY2 and done posterior conversion to YV12. The third part is the difference after degrainmedian(mode=1,limituv=0) directly in YV12. I have expected the same luma difference ( or very approximate ). Ouch, post a problem is near as difficult as doing complex scripts. |
2nd April 2005, 18:27 | #48 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
New Version 0.6, April 2, 2005 - fixed some bugs with YUY2. Thanks to AVIL for report.
But I am stil can not get STRICTLY same output foe YUY2 as YV12. Ouch, fix bugs problem is near as difficult as doing complex scripts.
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick I usually do not provide a technical support in private messages. |
3rd April 2005, 20:11 | #49 | Link |
Guest
Join Date: Jan 2002
Posts: 21,901
|
Re: Attachments.
There is a delay because the mod has to approve them and we don't check every 10 minutes for pending ones. So my personal policy is that I welcome a PM from you when making an attachment to notify me that it is pending. Thank you for your interesting contributions to the forum. |
16th April 2005, 07:45 | #50 | Link |
Registered User
Join Date: May 2002
Posts: 220
|
DeGrainMedian (Interlaced=true) reverses the field dominance:
@Fizick: I've been using this filter lately, I like it a lot, but I have just noticed that my interlaced clips are getting encoded with the field dominance reversed: They are originaly TFF, but just after using DeGrainMedian (interlaced=true) they become BFF Is there anything I am missing ?
My clips are originally mpeg2 video clips (using dgdecode) either 352x480 or 720x480 (NTSC, 29.97 fps). My scripts are very simple, something like the following will be enough to reproduce the situation I am describing: Code:
DGdecode_mpeg2source("Paulita-mpeg2-corta.d2v") #Return AssumeTFF().SeparateFields() Return DeGrainMedian(interlaced=true,mode=2).AssumeTFF().SeparateFields() Thanks for your comments (and the filters ) |
16th April 2005, 11:09 | #51 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,718
|
The filter could use AssumeFieldBased or similar internally. Avisynth defaults to BFF so that might be the cause.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
18th April 2005, 03:17 | #52 | Link |
Registered User
Join Date: May 2002
Posts: 220
|
Thanks for your comment Boulder, more info: Avisynth correctly identifies the original video clip as Not FieldBased (Not Separated), TFF. After the filter is applied, Avisynth still believes the video clip is TFF, when in fact it's now BFF. Meanwhile, I am using this filter like this:
Code:
limpiar=AssumeTFF().SeparateFields() E=selectEven(limpiar).DeGrainMedian(interlaced=false,mode=2) O= selectOdd(limpiar).DeGrainMedian(interlaced=false,mode=2) Interleave(E,O) .Weave() |
18th April 2005, 17:00 | #53 | Link |
Registered User
Join Date: Apr 2005
Location: Kiev, Ukrain
Posts: 2
|
JuanC
Meanwhile, I am using this filter like this: Code:
limpiar=AssumeTFF().SeparateFields() E=selectEven(limpiar).DeGrainMedian(interlaced=false,mode=2) O= selectOdd(limpiar).DeGrainMedian(interlaced=false,mode=2) Interleave(E,O) .Weave() I now try use doom9 forum only (and my english is bad - sorry). Anyway: JuanC, your avs is correct. May be next script is suitable (if use more then 1 filters): Code:
function ApplyInterlacedFilter(clip v1, string filter) { v2 = separatefields(v1) selecteven(v2) even = Eval(filter) selectodd(v2) odd = Eval(filter) interleave(even,odd) return weave() } i=last mdata=Depanestimate(i) depaninterleave(i,data=mdata, prev=1, next=1, matchfields=true) applyinterlacedfilter(last, "DeGrainMedian(interlaced=false,mode=2)") applyinterlacedfilter(last, "fft3dfilter(sigma=3,bt=3)") selectevery(3,1) |
19th April 2005, 21:52 | #54 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
JuanC,
after SeparateFields interlaced clip become progressive. So, you must use (interlaced=false). But why do you not use the simplest script ?: DGdecode_mpeg2source("Paulita-mpeg2-corta.d2v") AssumeTFF() DeGrainMedian(interlaced=true,mode=2) Does this script reverse the fields dominance ?
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick I usually do not provide a technical support in private messages. |
20th April 2005, 22:04 | #56 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
JuanC,
I found a bug for mode=2 YV12 interlaced, and release new version 0.7 today. Personally I prefer mode=0,1. and never used mode=2. I can not reproduce the reverse of fields dominance. What about other modes and colorspace YUY2? How you detect it?
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick I usually do not provide a technical support in private messages. |
21st April 2005, 06:43 | #57 | Link | |||
Registered User
Join Date: May 2002
Posts: 220
|
Quote:
Quote:
Quote:
Last edited by JuanC; 21st April 2005 at 06:48. |
|||
20th May 2005, 05:47 | #58 | Link |
Registered User
Join Date: Jan 2003
Posts: 109
|
Hi,
Can someone enlighten me about the 'mode' option? I mean is mode=0 will clean less grain or not than mode=4 ? In the doc it is said: "mode (0 to 4, default=1) - operation mode (the more, the weaker)" The more (4 per exemple) the weaker. The weaker what? The image quality is cleaned more but also looks worse? And a important thing: I have an interlaced PAL source. In my AVS I deinterlaced it with decomb. Must I integrate the option 'interlaced'? FieldDeinterlace() DeGrainMedian(interlaced=true, mode=0) ?? I think not because before I deinterlace my source so I guess this option is not needed but an advice won't be too much. Thanks. |
20th May 2005, 20:30 | #59 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
LordIntruder,
1. The more mode number, the weaker the degree of denoising. If someboby can say this in good English, please post. 2. Yes, use: interlaced=false 3. Use your own eyes to test
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick I usually do not provide a technical support in private messages. |
21st May 2005, 03:33 | #60 | Link |
Registered User
Join Date: Jan 2003
Posts: 109
|
Fizick: thanks.
I'll try mode=0 and mode=4 to see the differences. I asked because I've just tried your filter last night for the first time and was a bit lost with technical explanations. Now I have to modify parameters and see what changes in the video. And thanks to confirm for 'interlaced' option. |
Thread Tools | Search this Thread |
Display Modes | |
|
|