PDA

View Full Version : aWarpSharp and MSharpen "damage" my video


Darkkurama
24th June 2009, 02:18
Hi, I've got an issue with these filters, the only ones that I use for improving the image quality of my videos. When I use these filters:

LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\aWarpSharp.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\MSharpen.dll")
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\VSFilter.dll")

Video1 = DirectshowSource("C:\2009.avi",fps=23.976,convertfps=true, audio=false)
Video2 = DirectshowSource("C:\p2008.avi", fps=23.976,convertfps=true, audio=false)

Final = Video1 + Video2

Final= Final.Textsub("C:\Prev_c1.ass")
Final= Final.Textsub("C:\subs.ass")
Final= Final.MSharpen(9,15,true,false,false)
Final= Final.aWarpSharp (12,2,0.3,2)

return Final

A "karaoke" or subtitles that my video have kind of "change" their stroke size, getting an irregular and non static subtitle (It's important to note that these "subtitles" were in the video, I didn't add those subtitles to the video), an example:

http://img13.imageshack.us/img13/9852/exampled.jpg

Those subtitles with aWarpSharp and MSarpen (I think it's more the aWarpSharp filter, but i'm not sure) kind of "change" their size , and this is the results:

http://img32.imageshack.us/img32/5340/96801261.gif

In the upcoming subtitles, this "effect" gets worst :S

My question is: Are there any other "image improving" filters that don't do that on my subtitles?

Thanks you :)

Inspector.Gadget
24th June 2009, 02:59
Remake the source videos from your original discs and warpsharp in your AVS Script before adding subs.

Darkkurama
24th June 2009, 03:19
thanks for your response, but my original discs have those subtitles on it (hardsubs), because it's for singing a song :S

Are there any other filters that don't damage my video? or it's better not to use those filters? (because I got that result with "low range" of aWarpSharp (I'm using in one variable 0.2, and the "default is 0.5, so i'm not gaining much quality at all :S)

Thanks again

shoopdabloop
24th June 2009, 05:38
there is another version of warpsharp for avisynth that is a lot better than aWarpSharp.

(just copy "warpsharp.dll" into your plugins folder)

warpsharp package (2008 ver)
http://seraphy.fam.cx/~seraphy/program/WarpSharp/warpsharp_20080325.rar

Darkkurama
24th June 2009, 14:11
Thanks, but can you tell me the parameters of this plugin?, the readme is in japanese :S

-edit-

It's the same as:

Defaults: WarpSharp(depth=128, blur=3, bump=128)
Parameters:

* depth (1-400) determines the amount of warping. It directly affects how thin your lines will end up.
* blur (any int > 0) is the number of times to blur the sharpened areas. The higher this value, the cleaner the sharpening will be (this can be very useful at higher depth levels), but at the cost of speed.
Normally, you do notwant to set this to 0; try it and you'll see why.
* bump (any int > 0) is the "threshold of unevenness detection"; lowering this value will produce smoother lines, but it will also reduce the sharpening effect. Even at default levels of depth, setting this
above about 250 or so candistort your footage in ugly ways and is not recommended.

Found here (http://www.aquilinestudios.org/avsfilters/sharpeners.html#warpsharp)

Can you recommend me some parameters for not getting that "effect" (the gif image of the first post) on my video?

Darkkurama

Darkkurama
24th June 2009, 20:17
So, basically, how do I use this new filter? T_T

-EDIT-

I've decided to use these filters:

Final= Final.Toon(strength=0.75)
Final= Final.WarpSharp(depth=76, blur=6, bump=134)

I don't get that crappy effect, and It's ok on the quality. I realized how to use that filter shoopdabloop, so thanks ^^