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. |
5th October 2008, 19:30 | #41 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,391
|
Let me add that I did not "tell" that. Case of overinterpretation ... I showed two code sniplets that handle luma ranges for masking, one for 16-235 range, one for 0-255 range, and happened to place the string "BT.709" beneath string "0-255" in a small #codecomment. (Assuming that if you encounter a 0-255 source, it'll probably be BT.709...)
Tried to avoid "but what-if-" nagging by showing both possibilities, got nagging I would have made a claim. Oh well. Guilty for incautious wording. Changed to PC/TV range.
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) |
13th November 2008, 09:52 | #43 | Link |
N00B !
Join Date: Jun 2006
Posts: 223
|
source :
agc + smoothlevels(pc2tv) (final script doing everything necessary ie deinterlacing , denoising and a lot of other stuff ) : p.s : did the a.r correction as i deemed appropriate for the testing , also screens taken using print screen so sorry if the pixels are off ( yeah i know prtscrn+paint+crop+save as .png sucks ) but what to do no other option input please ? to my eyes smoothlevels aka ulevels seems to darken the picture a bit up ? used chroma=0 , will test more and post results edit : i know they're annoying(the lines,but thats how the source is ) ( perhaps about time i updated my sharpening arsenal , giving lsfmod a shot in a bit , will post results ) Last edited by ankurs; 13th November 2008 at 09:55. |
15th November 2008, 11:13 | #46 | Link |
Fighting spam with a fish
Join Date: Sep 2005
Posts: 2,699
|
If it looks good to your eyes, then it's fine. Asking everyone else for their own opinions will only cause you to filter the video to how they want it. If it looks good enough for you to watch, then what does anyone else's opinion matter?
|
21st November 2008, 19:00 | #50 | Link |
LaTo INV.
Join Date: Jun 2007
Location: France
Posts: 701
|
Update v1.0beta2 - 2008/11/21
v1.0beta2:
changed Lmode parameter (added Ecenter & strength) updated the documentation + cosmetic Update inspired from my little script LimitedGamma... Now it doesn't use anymore the same synthax as YlevelsS&G, I have made 6 new expression with ajustable strength and some tweak |
26th November 2008, 11:37 | #51 | Link |
LaTo INV.
Join Date: Jun 2007
Location: France
Posts: 701
|
Update v1.00
v1.00:
first stable release optimized limiting code (faster and less rounding error) added new parameters for limiting (Ecenter,Ecurve) changed strength parameter for 2 others (DarkSTR & BrightSTR) changed code of protect option (hard->soft threshold) |
14th December 2008, 16:37 | #52 | Link |
Registered User
Join Date: Apr 2007
Posts: 240
|
LaTo, I've probably discovered a bug. Both SmoothLevels(gamma=1.0, Lmode=1, DarkSTR=250, BrightSTR=250) and LimitedGamma2(gamma=1.0,dark_str=250,bright_str=250) create black dots on white surfaces around edges.
These pixels are pure whites (255, 255, 255) originally (looking them at in RGB colorspace), but not all of them becomes black. (Perhaps a rounding error?) |
14th December 2008, 17:37 | #53 | Link | |
LaTo INV.
Join Date: Jun 2007
Location: France
Posts: 701
|
Quote:
Code:
ImageSource("LimitedGamma_bug_default.jpg").ConvertToYV12() #SmoothLevels(gamma=1.0, Lmode=1, DarkSTR=250, BrightSTR=250) LimitedGamma2(gamma=1.0,dark_str=250,bright_str=250) Please post your script & a sample EDIT: Be sure that MaskTools is up-to-date (v2.0a35) and use the good .dll (mt_masktools-25.dll) Last edited by LaTo; 14th December 2008 at 17:40. |
|
20th December 2008, 20:03 | #55 | Link | |
Registered User
Join Date: Apr 2007
Posts: 240
|
Quote:
It seems it depends on source. Your script with ImageSource() works fine. But loading the original .D2V/.M2V file (taken from a DVD), the black dots appear again. I use AviSynth 2.5.7. The filters seem fine too, they're all the needed versions: mt_masktools-25[2.0a35].dll .................. 2008.04.19 11:02 ...... 724,992 bytes gradfun2db[1.0].dll ................................. 2006.03.15 21:49 ...... 61,440 bytes SmoothLevels.v1.00.avsi ....................... 2008.12.14 15:57 ...... 20,313 bytes RemoveGrain[1.0].dll ............................. 2005.07.31 23:07 ...... 27,648 bytes My script: Code:
LoadPlugin("mt_masktools-25[2.0a35].dll") LoadPlugin("gradfun2db[1.0].dll") Import("SmoothLevels.v1.00.avsi") LoadPlugin("RemoveGrain[1.0].dll") MPEG2Source("TD_Joy_Sales_sample.d2v") ConvertToYV12() SmoothLevels(gamma=1.2, Lmode=1, DarkSTR=250, BrightSTR=250) What's wrong? Last edited by zee944; 20th December 2008 at 20:06. |
|
25th December 2008, 11:20 | #58 | Link |
Sleepy overworked fellow
Join Date: Feb 2008
Location: Maple syrup's homeland
Posts: 933
|
Hey,
Just wanted to say thanks for this nice little script! Works like wonders, especially since the first stable release. (darkstr & brightstr = ^_^)
__________________
AnimeIVTC() - v2.00 -http://boinc.berkeley.edu/- Let all geeks use their incredibly powerful comps for the greater good (no, no, it won't slow your filtering/encoding :p) |
Thread Tools | Search this Thread |
Display Modes | |
|
|