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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 4th August 2008, 22:00   #21  |  Link
DarkT
Registered User
 
Join Date: Dec 2006
Posts: 280
I dunno... I'm getting nice results with:

Function SAA(Clip Clp,Int"SS",Bool"CP")
{

OX = Clp.Width
OY = Clp.Height
SS = Default(SS,2)
CP = Default(CP,True)


Clp = Clp.IsYV12() ? Clp : Clp.ConvertToYV12()

Clp.BilinearResize(OX*SS,OY*SS).SangNom().TurnRight()
\ .SangNom().TurnLeft().Spline36Resize(OX,OY)

CP ? Last : MergeChroma(Clp)

Return(Last)

}

ImageSource("untitled.bmp", start=1, end=587,fps=23.976023976023976023976023976024).converttoyv12()

SAA()
Toon(strength=0.3)
WarpSharp(96, 10, 128, -0.6)
LimitedSharpenFaster(smode=4, strength=77)

Anywya, my 2 cents...
DarkT is offline   Reply With Quote
Old 6th August 2008, 04:05   #22  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,699
Yeah, with my passed experiences with Sagnom, I lost way to many details, and with Spline36resize on top of that, it starts to look to blurry for my personal taste.
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo
Adub is offline   Reply With Quote
Old 6th August 2008, 09:14   #23  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
Quote:
Originally Posted by Merlin7777 View Post
Yeah, with my passed experiences with Sagnom, I lost way to many details, and with Spline36resize on top of that, it starts to look to blurry for my personal taste.
That's why 'tis masked. Well, warpsharp in this function still kills some details (carves edges), but it can be controlled by ShPre parameter.

Folk, critique is good, but don't just criticize, suggest improvements.
__________________
...desu!

Last edited by Mystery Keeper; 6th August 2008 at 09:20.
Mystery Keeper is offline   Reply With Quote
Old 6th August 2008, 18:40   #24  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,699
My post was referring to the post by DarkT directly above mine. I haven't even looked at your script. I will now though.

Edit: Wow!! This works wonders on a source I was looking at! It had some nasty jaggies from a bad deinterlace, but this pretty much eliminated them. It's a bit slow though, but for the quality, I'll take it.

Edit2: Okay, it is REALLY SLOW. I am getting around 0.39fps on a lossless encode of a 720p source. Anyway to speed this up? Maybe use the Masktools 2 version of DEdgemask? (If it even exists, I don't know)
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo

Last edited by Adub; 6th August 2008 at 19:29.
Adub is offline   Reply With Quote
Old 6th August 2008, 20:32   #25  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
If you comment the lines between "MaskedMerge()" and "return last", it will disable the motion compensation and probably add you some speed.

Sorry, I'm not well versed in AviSynth ^_^'
__________________
...desu!
Mystery Keeper is offline   Reply With Quote
Old 6th August 2008, 20:35   #26  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,699
Yes, but I like the motion comp. If there is nothing that can be done, I will except my fate. But I'll keep my fingers crossed!!
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo
Adub is offline   Reply With Quote
Old 6th August 2008, 21:07   #27  |  Link
Seraphic-
Forum Member
 
Join Date: May 2006
Posts: 698
Quote:
Originally Posted by Mystery Keeper View Post
Sorry, I'm not well versed in AviSynth ^_^'
You seem to know enough to be able to write an impressive script.
Did you find a guide or put it together from bits and pieces from searching around?

Also, could you post your full script code? I was trying to run your script from post #18, but I'm not able to get it to load.
I am most likely missing a few need things.
Seraphic- is offline   Reply With Quote
Old 6th August 2008, 21:12   #28  |  Link
martino
masktools2 (ab)user
 
martino's Avatar
 
Join Date: Oct 2006
Location: PAL-I :(
Posts: 235
Quote:
Originally Posted by Merlin7777 View Post
Maybe use the Masktools 2 version of DEdgemask? (If it even exists, I don't know)
Nope, it doesn't. But with some fiddling you could get something similar with mt_edge's prewitt mode.
martino is offline   Reply With Quote
Old 6th August 2008, 21:24   #29  |  Link
TheRyuu
warpsharpened
 
Join Date: Feb 2007
Posts: 787
Can we get a demuxed m2v or something I can play around with? (preferable with a couple scenes, 30 seconds or something, I dunno)
TheRyuu is offline   Reply With Quote
Old 6th August 2008, 21:36   #30  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,699
Seraphic, what was your problem? Meaning, what error were you getting?
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo
Adub is offline   Reply With Quote
Old 6th August 2008, 21:42   #31  |  Link
Seraphic-
Forum Member
 
Join Date: May 2006
Posts: 698
Quote:
Originally Posted by Merlin7777 View Post
Seraphic, what was your problem? Meaning, what error were you getting?
"Return value was not a video clip"
Seraphic- is offline   Reply With Quote
Old 6th August 2008, 21:54   #32  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,699
Try copying and pasting the script again. Make sure you scroll down all the way to the bottom as well. It sounds like you missed a few lines.
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo
Adub is offline   Reply With Quote
Old 6th August 2008, 21:59   #33  |  Link
Comatose
Registered User
 
Join Date: Dec 2007
Posts: 639
Mystery Keeper: Why not replace MaskedMerge(a,b,m,Y=3,U=3,V=3) with mt_merge(a,b,m,Y=3,U=3,V=3)?
Also, you're getting the eye "sparkle" loss because of SangNom ;_; They're small spots so it eats them :3 Search for starfield (in this forum).
Comatose is offline   Reply With Quote
Old 6th August 2008, 22:09   #34  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
@Seraphic, I have only done the AA part, using people recommendations even there, and made an adjustable function. All other parts are written by somebody else.

How can I split a vob file? I'd love to give it to you for experiments. Folk, I know that's a wrong thread for it, but I'm desperate! I can't denoise it. Whatever I try spoils the video. Grid artifacts, ghosts, washed out details. Nothing seems to work for it.
__________________
...desu!
Mystery Keeper is offline   Reply With Quote
Old 6th August 2008, 22:16   #35  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
Quote:
Originally Posted by Comatose View Post
Mystery Keeper: Why not replace MaskedMerge(a,b,m,Y=3,U=3,V=3) with mt_merge(a,b,m,Y=3,U=3,V=3)?
Done. Thanks.
__________________
...desu!
Mystery Keeper is offline   Reply With Quote
Old 6th August 2008, 22:28   #36  |  Link
Seraphic-
Forum Member
 
Join Date: May 2006
Posts: 698
Quote:
Originally Posted by Merlin7777 View Post
Try copying and pasting the script again. Make sure you scroll down all the way to the bottom as well. It sounds like you missed a few lines.
Yes, seems I did miss a few lines.
It loads now, but doesn't seem to be changing the appearance of the video at all.
Was something else left out?

Quote:
Originally Posted by Mystery Keeper View Post
@Seraphic, I have only done the AA part, using people recommendations even there, and made an adjustable function. All other parts are written by somebody else.
The AA technique that I am familiar with is "EEDI2().TurnRight().EEDI2().TurnLeft()" then "spline36resize" down to the correct resolution.
It does a good job and removes a fair amount of edge jaggies, but also adds a fair amount of blur.

Last edited by Seraphic-; 7th August 2008 at 00:01.
Seraphic- is offline   Reply With Quote
Old 6th August 2008, 22:37   #37  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
Quote:
Originally Posted by Seraphic- View Post
The AA technique that I am familiar with is "EEDI2().TurnRight().EEDI2().TurnLeft()" then "spline36resize" down to the correct resolution.
It does a good job and removes a fair amount of edge jaggies, but also adds a fair amount of blur.
'Twas in the initial version of the script. Blur is dealt with alright. 'Tis just that using EEDI2 will make it much slower while not smoothing the lines as good as sangnom. Maybe I'm wrong. Need to test.
__________________
...desu!
Mystery Keeper is offline   Reply With Quote
Old 6th August 2008, 22:39   #38  |  Link
martino
masktools2 (ab)user
 
martino's Avatar
 
Join Date: Oct 2006
Location: PAL-I :(
Posts: 235
You never called the function itself.

Quote:
Originally Posted by Seraphic-
It does a good job and removes a fair amount of edge jaggies, but also adds a fair amount of blur.
By no way as bad as with SangNom, blur-wise.
martino is offline   Reply With Quote
Old 6th August 2008, 22:44   #39  |  Link
45tripp
Dolphin Blue
 
45tripp's Avatar
 
Join Date: Mar 2007
Posts: 336
Quote:
Originally Posted by Mystery Keeper View Post
How can I split a vob file? I'd love to give it to you for experiments. .
dgindex.
'[' ']' select section, file -> 'save and demux'
__________________
injected with feelings; with no final fading
45tripp is offline   Reply With Quote
Old 6th August 2008, 23:05   #40  |  Link
Seraphic-
Forum Member
 
Join Date: May 2006
Posts: 698
Quote:
Originally Posted by martino View Post
You never called the function itself.
How do you call the function?
Seraphic- is offline   Reply With Quote
Reply

Tags
anime, antialiasing, avisynth


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 14:12.


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