Avisynth: Unnatural Looking Surfaces?
Hi everybody.
I'm right now trying to find a good script for DVD->KDVD encoding with CCE. I target to put 2 movies Anamorphic on one KDVD with AC3 sound, menu chapters etc. Phil pointed me on the script he's using, and I gotta admit it looks amazing most of the time. For everybody who does not know, here it is: Code:
Mpeg2Source("F:\*.d2v" ,cpu=4) http://www.digitalfaq.com/archives/error.gif http://www.digitalfaq.com/archives/error.gif I know that this is a common problem. I just want to know how I can better this effect. I'm pretty sure blockbuster will help with this one, but it just EATS so much compression, because I only noticed the noise with variances of about 1.0. And I actually don't think it is a good idea to filter out noise beforehand, and spray it back in the end of the script, wouldn't you agree? To me these scenes look plain "Overfiltered". I know that I also use a softening filter with Bilinear Resize, so this might already be the cause, but I wanna make sure. Are those the Temporal Filters that lead to this effect, or the spatial ones? any help/comments are welcome. [/IMG] |
Re: About "Unnatural" Looking Surfaces...
Quote:
I NEVER use asharp in ANY of my scripts because it gives nothing good for my eyes. I don't bother to see all people here like it, but it will never cross my screen. Remove the Levels and asharp line form your script and you will avoid a lot of that : Quote:
I let you guess what "Unfilter" was called "unfilter" and why it should help you with your overfiltered pictures ;-) Quote:
Quote:
Note: were these snapshots really encoded with CCE or with TMPGENC ? |
Jell,
i have some questions too...later,after your answer Phil but.... the guy in the 1st picture is "egg-head" ! 8O |
Hi Phil...
Sorry about the double posting, I didn't realize that. Just delete the other one... :roll: I know I modified your script, but you are exagerating a little bit. I lower the brightness just a tad with the Levels Command, which I use to get rid of some noise beforehand. I'll definetely try to unfilter for aSharp, but you're not advising me to use Unfilter AND Lanczos are you? :roll: Next Backup, I'll try once again your original script, using Lanczos, no levels, no bilinear, and I'll post my results in here, tomorrow morning. In fact I doubt it will help a lot with this issue, but might wanna try of course. I didn't know that is why the filter was called Unfilter. Will experiment with that... thanks! |
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
@jorel Yes it is egg-head but remember : you should also do your KDVD in anamorphic and have egg-heads too :-) Everything will be okay on J'elly's TV set, don't worry :-) |
Re: About "Unnatural" Looking Surfaces...
Quote:
2. On DVD Sources I wouldn't touch the Gamma! Well depends on the quality, but very most Gamma is ok. What most happens is that the luma range does clip! On a Beamer you wont see it but on a TV yes, but that will be fixes by TV Luma range settings in TMpgEnc or CCE. 3. FluxSmooth() by its defaults is working at (7,7) means spatial AND Temporal, where the temporal cleaning in your script will 2times happen as you use Temporal cleaner as a following filter (may you try to set Fluxsmooth(0,7) so it works only spatial and here you can varying in the spatial value). Also the 4 in the asharp values does "plain" already the source! Asharp does work adaptive but NOT like Unsharpmask in Photoshop!! Where the threshold says WHERE to begin sharpening. Asharp uses the threshold ALSO to say "behind me do begin blurring"!! Which Unshrpmask doesnt do. I think Msharpen does there a better job, but as sharpening in here now is not the thing, this was just a hint ;-) 4. DCT Filter is a bit risky at your settings! DCTFilter(1,1,1,1,1,0.75,0.5,0) If you encode sources which will be stretched to 1024x576 (anamorph encodings on a big 16:9 TV set or a beamer, that 0.75 will be recognised as you CUT horizontal Frequencies which will be horizontally scaled finally on a 16:9 screen/beamer. So be aware of this. :wink: I also apologize in advance to phil but in his optimal scripts the DCTFilter part on a future encoding at for example VCD size is MEGA risky as this will blur VERY much. As it will be scaled afterwards very much on TV. Best is to test a DCTFiltered Preview of the avs in VdubMod at 2x scaled Preview. Then do Remark "#" the DCTFilter line in the AVS Scropt editor of VdubMod and hit F5 and you see very fast the change in sharp/blur. |
Re: About "Unnatural" Looking Surfaces...
Quote:
Quote:
Thanks for the tip, I will check ! |
My friend Phil,
a few days ago I got a capture from a VERY bad broadcasting, the station delvivered a copy of a Movie of the 80s which already was well unsharp. So I decided to go to 352x288 in the avs script. Shure I use some of your nice developings in Convo3d settings etc. of the latest opt.Script. But the DCTFilter Line gave that baby the "Extra Unsharp" kick. When I remarked the DCTFilter line and hitted F5 In VdubMod (2x Scaled Preview because by THIS you see what happens with your frequnecies according to pixel details) .... WOW! Very deteailed at 352x288 again! Best is in your future release to apply an If/Then routine so that ONLY results in a width more! than 352, so from 480 on for example will be treated by DCTFilter as these wont be stretched that much. Did you recognised my hint in a past thread in here where I suggested to use an Motion Adaptive routine in an AVI script where for example on high Motion scenes a CPU=6 will be applied as it beheves then even more agressive to blocky motion parts. So a threshhold will be set at i.e. 20 where CPU=4 will change to CPU=6 and you wont recognise oszillating at that high Threshold of YDifferencetoNext. Also The spatial Part Of Convo3d could be handled by the YDifferencetoNext result. I was playing the last weeks with a adaptive "Capture sources" Script where I have to deal with heavy noise which is even more uneasy to handle, so in case of mpeg4 it would result very good. But thats a) a big testing workout and b) these last lines do become totally out of topic in here I do see now 8O :) PS: Still I do love VDubMods AVS Script editor and just playing with the resulted previews by using just "F5" (F5=Save and refresh) :P |
Quote:
And with the mouse you can switch the filtering on then off then on then off... clic...clic...clic... Very usefull :-) For the other hints, it's a good idea. Will work on this :-) |
Phil, I added a line more above, so I replied now that you will be noticed by the Thread response mail automatism 8)
|
Jelly I'm starting to hate you :-D
I looked at side by side a KDVD I did with CCE and my script and the same did you dvdShrink (actually not the same as the KDVD share the disc with a second movie where the one done with DVDShrink is alone) but... I FIND ALL THE SURFACES "UNNATURAL" :cry: I have to work on an other script. :banghead: :lol: |
Quote:
What do you mean precisely? (be aware that I still do not see the pics from Jell) |
Quote:
Quote:
|
I did understand:
Transforming using ShrinkDVD ends up in more natural looking faces then compared to your script ???? (shurely I did understand wrong) |
No, you do understand right.
Note that with DVDshrik I never do anything under 85% (means 15% of compression). And keep in mind that the KDVD uses only 2 GB on the disc, not 4.3 ! Note also that you don't see the problem if you do not compare the two DVD. I didn't do the comparison directly with the oroginal but for sure it will be the same result. I think that you are right in telling that Fluxsmooth is too much there. |
How can you compare a FULL DVD-5 transforming (85%) with avs filter treated 1/2DVD KVCD stream? .... As I know you Im shure your pupose is somewhere else :wink: :arrow: I still got headache so .... slooowly :lol:
|
I wanted to compare the KDVD and the source but I guees my brother has currently this DVD so I had to compare with a DVDShrink backup that I did (by mistake) of that movie that I also have on KDVD.
This way you will understand :-) So what I did is comparing a KDVD and the original (almost) DVD. That is what we are supposed to do anytime (but actually never do ;-)), isn't it ? And what Jelly is somehow true : the picture of the KDVD looks less natural, more "moving painting" than "movie pictures". But I repeat : you do not see that if you don't do a direct comparison of both of them :-) Edit: It is "test evening" for me :-) I did a quick test for the DCT line and it seems you are right (again ;-)). I have to do more test but the first impression is that without DCT the "blur aspect" I suffered from my VCD is less present. But I actually tested a 30 second sample, I have to see taht on a complete movie (size increase was 2.5% ! That's not "a little") |
@inc: sorry about the pictures... they kicked me out again of angelfire, because of "File Storage Only"! it's getting annoying, but I'll upload them again tomorrow. Any tips where they are a bit more tolerant about that?
@phil: sorry for being a pain in the behind... 8) I'm sure we'll find a workaround of this "painting effect"... (could not describe it better...) @all: thanks for help and support! it's too late for me now. will get back with you tomorrow! |
@ Jell
arcor.de or heim.at get your webspace there and you will have NO probs as enough treffic and NO ads! :wink: |
Hi incredible
Which version vdub mod are you using because i can't see the avs editor if this was a joke or something then i feel :imstupid: |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.