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.


Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Thread Tools Search this Thread Display Modes
Old 17th May 2020, 05:05   #1361  |  Link
Registered User
Join Date: Apr 2020
Posts: 7

I had a earlier post that referenced the problems I was having with Minusthebear's script but I think It went to a moderator. It was automatically putting the FPS at 30 no matter what I changed. hopefully that post will show soon.
DiablosDemon is offline   Reply With Quote
Old 19th May 2020, 01:12   #1362  |  Link
Registered User
Join Date: Apr 2020
Posts: 7
found the 30FPS

I found why the 30 FPS was hard wired at the very bottom of the script.

interpolated= SVSmoothFps(autolevels, super, vectors, "{rate:{abs:true, num:30, den:1}}", mt=threads).sharpen(last_sharp,mmx=false).sharpen(last_sharp,mmx=false).blur(last_blur,mmx=true)

Changed it to 16 and it was better, still something else going on with this to change how many frames I input. must be part of this line I'm still trying to figure it out.
I'm still not sure about the super in my previous post.
I was hoping this would work faster using the GPU for some tasks.
DiablosDemon is offline   Reply With Quote
Old 2nd June 2020, 04:54   #1363  |  Link
Registered User
Join Date: Sep 2005
Posts: 176
Originally Posted by pinterf View Post
Anyway, a quick and dirty UnsharpMask replacement for Avs+
This seems to cause artifacts on the right side of the frame for me, near (but not on) the edge, from the top of the frame to the bottom, though it varies in brightness/contrast and is less visible in some areas than others.

Is there another option for UnsharpMask() with 64 bit and HBD support? I'm guessing it's due to the blur filter, so maybe just replacing that would be enough.

Edit: Looks like you can just swap out the original blur with aBlur from AWarpSharp2. Here's the modified script, which doesn't have the artifacts from the original, but also will no longer work with RGB:
function UnsharpMask(clip clip, int "strength", int "passes", bool "highq", int "threshold") {
	strength  = default(strength, 64)
	passes    = default(passes, 3)
	highq     = default(highq, true)
	threshold = default(threshold, 8)

	blurclip = aBlur(clip, passes, highq ? 1 : 0)
	e = "x y - abs " + String(threshold) + " scaleb > x y - " + String(strength/128.0)+ " * x + x ?"
	Expr(clip, blurclip, e, "", "") # U and V are copied
My filters: DupStep | PointSize

Last edited by `Orum; 2nd June 2020 at 05:37.
`Orum is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 04:55.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.