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 > VapourSynth

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 27th October 2013, 06:36   #41  |  Link
aegisofrime
Registered User
 
Join Date: Apr 2009
Posts: 478
Hi,

Due to the changes in VS r21, Will it be a difficult process rewriting HAvsFunc to use the new native RemoveGrain plugin instead of the Avisynth one?

Last edited by aegisofrime; 27th October 2013 at 06:46.
aegisofrime is offline  
Old 27th October 2013, 06:50   #42  |  Link
HolyWu
Registered User
 
Join Date: Aug 2006
Location: Taiwan
Posts: 392
Not that difficult. Already working on it. Maybe release today or tomorrow.
HolyWu is offline  
Old 29th October 2013, 10:08   #43  |  Link
HolyWu
Registered User
 
Join Date: Aug 2006
Location: Taiwan
Posts: 392
Updated r5.
  • Added the following functions: ediaa, daa, maa, SharpAAMCmod, Deblock_QED, Vinverse, LUTDeCrawl, LUTDeRainbow.
  • Added a simple wrapper Resize over fmtc.resample + fmtc.bitdepth, including a ringing-cancellation algorithm from Dither_resize16nr.
  • Added GammaToLinear and LinearToGamma function. The same as Dither_y_gamma_to_linear and Dither_y_linear_to_gamma, but some parameters name and default values are changed.
  • HQDering mod updated to v1.4. stack16 input/output is supported.
  • SMDegrain's Motion Vectors Globals Input/Output is supported.
  • LSFmod's Smode 1&2 are deleted. Smode 3~5 becomes 1~3 now.
  • Added 'noring' parameter to maa, SharpAAMCmod, Dehalo_alpha and LSFmod to indicate that a non-ringing algorithm must be used in case of supersampling.
  • Replaced RemoveGrain/Repair with the native plugin.
  • It's no need to pass in the core instance anymore.
  • Some bug fixes, optimizations and cosmetic changes.

EDIT: Fixed a very minor issue. Please redownload if you have downloaded hours ago.

Last edited by HolyWu; 29th October 2013 at 13:23.
HolyWu is offline  
Old 30th October 2013, 13:36   #44  |  Link
HolyWu
Registered User
 
Join Date: Aug 2006
Location: Taiwan
Posts: 392
Updated r6.
A quick bug fix release. I missed the 'planes' parameter in GammaToLinear/LinearToGamma and it mistakenly only processed the first(Y or R) plane. By the way I also add restriction on bitdepth to only allow 16-bit input clip in GammaToLinear/LinearToGamma.
HolyWu is offline  
Old 17th February 2014, 17:08   #45  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
Couldn't get Deblock_QED to work. It uses mt_lutspa, but when I try to load mt_masktools-26.dll VS says it has no entry point.
__________________
...desu!
Mystery Keeper is offline  
Old 17th February 2014, 17:12   #46  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
Quote:
Originally Posted by Mystery Keeper View Post
Couldn't get Deblock_QED to work. It uses mt_lutspa, but when I try to load mt_masktools-26.dll VS says it has no entry point.
Only 2.5 plugins supported for now. 2.6 won't happen until avisynth+ makes a sane 64bit api most likely.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline  
Old 17th February 2014, 17:59   #47  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
Thank you. Figured it out, got it to work.
__________________
...desu!
Mystery Keeper is offline  
Old 2nd July 2014, 20:55   #48  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
Using Deblock_QED crashes my script if I seek far forward. Crash happens in mt_masktools-25.dll. Can these functions be made to not rely on it?
__________________
...desu!
Mystery Keeper is offline  
Old 3rd July 2014, 17:49   #49  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,664
Quote:
Originally Posted by Mystery Keeper View Post
Using Deblock_QED crashes my script if I seek far forward. Crash happens in mt_masktools-25.dll. Can these functions be made to not rely on it?
I don't think so, but it's been a while since I've used VS so if I remember correctly there is no native mt_lutspa equivalent.
Reel.Deel is offline  
Old 3rd July 2014, 21:56   #50  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
mt_lutspa replacement from Myrsloik himself.
__________________
...desu!
Mystery Keeper is offline  
Old 3rd July 2014, 22:54   #51  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,664
Hmmm, I guess I must of missed that... I guess now the only Avisynth plugin required is DCTFilter?... Cool beans
Reel.Deel is offline  
Old 3rd July 2014, 23:50   #52  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
Also Deblock. But I tried to replace lutspa with those functions, and it spawns threads like crazy. Right now VirtualDub is running 1581 thread and hanging. My own WIP editor dies quickly after spawning ~700.
__________________
...desu!
Mystery Keeper is offline  
Old 3rd July 2014, 23:54   #53  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,664
Quote:
Originally Posted by Mystery Keeper View Post
Also Deblock.
Of course (how did I forget that?)
Reel.Deel is offline  
Old 4th July 2014, 05:01   #54  |  Link
HolyWu
Registered User
 
Join Date: Aug 2006
Location: Taiwan
Posts: 392
Quote:
Originally Posted by Mystery Keeper View Post
Also Deblock. But I tried to replace lutspa with those functions, and it spawns threads like crazy. Right now VirtualDub is running 1581 thread and hanging. My own WIP editor dies quickly after spawning ~700.
Try havsfunc-r7.7z and see if it works for you. I didn't give it a heavy test though.
  • Added the following function: GrainStabilizeMC.
  • Changed the way to generate block clip instead of using mt_lutspa, which is used in Deblock_QED.
  • HQDering mod updated to v1.8.
  • Added sigmoid curves to GammaToLinear/LinearToGamma.
  • LSFmod's Smode 2 is deleted. Now Smode=1 is Range sharpening, Smode=2 is Nonlinear sharpening (corrected version).
  • Optimized the way to build LUT of Smode=2 in LSFmod. In previous version std.Expr is used for >8-bit clip and the speed is very slow. Now std.Lut is used for 8~16-bit clip.
  • Replaced MakeDiff/AddDiff with internal function std.MakeDiff/std.MergeDiff instead of using std.Expr.

Last edited by HolyWu; 7th July 2014 at 13:41. Reason: Added changelogs for r7
HolyWu is offline  
Old 4th July 2014, 10:02   #55  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
Works, but the same way as with mt_lutspa. If I seek all the way to the last frame - I crash. But now I did get an error. "Seek pattern broke d2vsource." -_-
But it does work, so thank you again.
__________________
...desu!

Last edited by Mystery Keeper; 4th July 2014 at 10:22.
Mystery Keeper is offline  
Old 16th August 2014, 15:21   #56  |  Link
HolyWu
Registered User
 
Join Date: Aug 2006
Location: Taiwan
Posts: 392
Updated r8.

Changed Deblock_QED to use native plugins. That's it.
HolyWu is offline  
Old 16th August 2014, 19:39   #57  |  Link
Mystery Keeper
Beyond Kawaii
 
Mystery Keeper's Avatar
 
Join Date: Feb 2008
Location: Russia
Posts: 724
Thank you!
__________________
...desu!
Mystery Keeper is offline  
Old 24th August 2014, 12:29   #58  |  Link
YamashitaRen
Registered User
 
Join Date: Apr 2014
Location: France
Posts: 33
Quote:
Originally Posted by Mystery Keeper View Post
Thank you!
As a linux user, I greatly appreciate these steps toward a fully native vapoursynth
YamashitaRen is offline  
Old 26th August 2014, 14:27   #59  |  Link
HolyWu
Registered User
 
Join Date: Aug 2006
Location: Taiwan
Posts: 392
Updated r9.

Added GrainFactory3 function. The default of g?str is adjusted to a saner value as the default in the original is way too overkill. Besides, g?tex parameter is removed.
HolyWu is offline  
Old 23rd September 2014, 16:22   #60  |  Link
HolyWu
Registered User
 
Join Date: Aug 2006
Location: Taiwan
Posts: 392
Updated r10.

Changed QTGMC and some other functions to use native filters of MVTools.
HolyWu is offline  
Closed Thread

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 22:44.


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