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 30th June 2018, 09:40   #441  |  Link
fAy01
Registered User
 
Join Date: Jun 2010
Posts: 91
Could you please update: http://avisynth.nl/index.php/QTGMC & http://avisynth.nl/index.php/Srestore ?

And please add these functions as well: https://pastebin.com/GyM2N6km ++ https://pastebin.com/Z7k3ZXBr ++ http://putin999.blog.fc2.com/blog-entry-4.html

Thank you.

Last edited by fAy01; 30th June 2018 at 15:33.
fAy01 is offline  
Old 11th July 2018, 10:58   #442  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
You should probably replace the use of depan by mvtools since it has all the required functions now. Just an observation when i checked the used plugins.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline  
Old 11th July 2018, 12:18   #443  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
I just realized that you depend on nnedi3_resample which is missing the conditional use of znedi3. So nnedi3 is still required and used in that script part. I've reported it as an issue for nnedi3_resample but thought I should mention it.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline  
Old 13th July 2018, 01:23   #444  |  Link
fAy01
Registered User
 
Join Date: Jun 2010
Posts: 91
https://www.mediafire.com/file/sygi0...aa_v1.2.1.avsi
Please add this, if you can. Thanks.
fAy01 is offline  
Old 21st July 2018, 05:10   #445  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,657
I was testing out the fast presets of QTGMC on my video, I was deinterlacing a 1080i clip and downscale it to 720p, here's the benchmark with vs editor.

faster: 23.6 fps
very fast: 24.8 fps
super fast: 36.1 fps
ultra fast: 36 fps
draft: 85.5 fps

The presets doesn't really scale in speed, "faster" is the same as "very fast" and "super fast" is the same as "ultra fast". Though there was a 130% speed increase when going from "ultra fast" to "draft". It just doesn't look right to me.

I am looking for a preset for fast encoding and it seems like I have no choice except to use "draft", but it just feels cheap to use the lowest setting. Can there be some changes in the "ultra fast" so to make it less cheap than "draft" but be significantly faster than "super fast"?
lansing is offline  
Old 21st July 2018, 07:07   #446  |  Link
HolyWu
Registered User
 
Join Date: Aug 2006
Location: Taiwan
Posts: 392
Quote:
Originally Posted by lansing View Post
I am looking for a preset for fast encoding and it seems like I have no choice except to use "draft", but it just feels cheap to use the lowest setting. Can there be some changes in the "ultra fast" so to make it less cheap than "draft" but be significantly faster than "super fast"?
You can compare what values are changed between "ultra fast" and "draft" at https://github.com/HomeOfVapourSynth...vsfunc.py#L896 and tweak the relevant parameters then.
HolyWu is offline  
Old 21st July 2018, 09:16   #447  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,657
Quote:
Originally Posted by HolyWu View Post
You can compare what values are changed between "ultra fast" and "draft" at https://github.com/HomeOfVapourSynth...vsfunc.py#L896 and tweak the relevant parameters then.
Here's my test result:

ultra fast: 36 fps

Changing Rep2 from 3 to 0 increased the speed to 48 fps.
Changing Smode from 2 to 0 increased it to 41 fps.
Changing EdiMode from "nnedi3" to "bob" increased it to 40.7 fps.

Changing all three together increased it to 68.1 fps. It looks like a good reasonable fps for the name.
lansing is offline  
Old 28th October 2018, 11:09   #448  |  Link
HolyWu
Registered User
 
Join Date: Aug 2006
Location: Taiwan
Posts: 392
Update r31.
  • daa, santiag, QTGMC, ivtc_txt60mc: Add device parameter.
  • Add smartfademod and FineDehalo functions.
  • LUTDeRainbow: Fix incompatibility with different subsampling.
  • LUTDeCrawl: Change default cthresh value to 10.
  • Stab: Use depan filters in mvtools plugin.
  • TemporalDegrain: Fix hqdn3d's namespace and filter name.
  • LSFmod: Speed up preblur by using MinBlur(1).
HolyWu is offline  
Old 1st November 2018, 18:01   #449  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,542
Quote:
Originally Posted by HolyWu View Post
Update r31.
I'd like to give VapourSynth a run. The only filter I use is SMDegrain (oh yeah.. CompTest xD too). Could you please update your script to reflect the 100s version?
__________________
@turment on Telegram
tormento is offline  
Old 1st November 2018, 19:45   #450  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
If you want tr > 3 use the hnwvsfunc.SMDegrain version by Wolfberry https://forum.doom9.org/showthread.php?t=175614
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline  
Old 29th December 2018, 06:07   #451  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,346
Would it be possible to add a smoothcurve function or similar ?

(I'm aware of SigmoidInverse and SigmoidDirect , it would be useful to have a function where you remap values directly )

Thanks

Last edited by poisondeathray; 29th December 2018 at 06:51.
poisondeathray is offline  
Old 8th April 2019, 18:05   #452  |  Link
lansing
Registered User
 
Join Date: Sep 2006
Posts: 1,657
What color format does GrainFactory3 supports? My clip is RGBS and it turns it blueish.
lansing is offline  
Old 8th April 2019, 22:40   #453  |  Link
HolyWu
Registered User
 
Join Date: Aug 2006
Location: Taiwan
Posts: 392
Quote:
Originally Posted by lansing View Post
What color format does GrainFactory3 supports? My clip is RGBS and it turns it blueish.
I didn't put format restriction to much of the functions in the script. Some (or many) of them probably don't work with RGB or even floating point.
HolyWu is offline  
Old 6th May 2019, 20:48   #454  |  Link
FortMax
Registered User
 
Join Date: Oct 2011
Posts: 10
Any chance of you updating the QTGMC port to 3.362? Some older versions (including 3.33) have some weird blending issues that the newest ones fix.
FortMax is offline  
Old 7th May 2019, 00:11   #455  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
This is the newest avs version btw https://pastebin.com/JLGwn7mE
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline  
Old 7th May 2019, 02:47   #456  |  Link
HolyWu
Registered User
 
Join Date: Aug 2006
Location: Taiwan
Posts: 392
Quote:
Originally Posted by FortMax View Post
Any chance of you updating the QTGMC port to 3.362? Some older versions (including 3.33) have some weird blending issues that the newest ones fix.
I don't have spare time at the moment. Will look into it in 1~2 months. And, what's the exact settings you used for QTGMC? I need to make sure I can reproduce the issue with the same settings.
HolyWu is offline  
Old 7th May 2019, 21:38   #457  |  Link
FortMax
Registered User
 
Join Date: Oct 2011
Posts: 10
Quote:
Originally Posted by HolyWu View Post
I don't have spare time at the moment. Will look into it in 1~2 months. And, what's the exact settings you used for QTGMC? I need to make sure I can reproduce the issue with the same settings.
I was using Preset="slow", TFF=True, FPSDivisor=2.

It's more noticeable in animation, especially on thicker lines, than it is with live-action stuff. It also can mess with stuff like overlayed text that just appears and disappears as opposed to fading.
FortMax is offline  
Old 27th May 2019, 18:30   #458  |  Link
pcroland
Registered User
 
Join Date: Mar 2014
Location: Hungary
Posts: 115
Dear HolyWu!

I really appreciate your work. Would you be so kind to add/port the following AviSynth script to your collection: FixRowBrightnessMod (and also its Column variant).
Here's the AVS code:
Quote:
Function FixRBr(clip c, int row, float adj_val, int "prot_val")
{
Assert(adj_val <= 100, "adj_val max value 100")
Assert(adj_val >= -100, "adj_val min value -100")
p = Pow(2, BitsPerComponent(c))-1
b = p-10*(Pow(2, (BitsPerComponent(c)-8)))
prot_val = Default(prot_val, 0)
Assert(prot_val <= Pow(2, BitsPerComponent(c))-1, "prot_val max value = max luma of the current bit depth")
Assert(prot_val >= 0, "prot_val min value 0")
c
ExtractY()
Crop(0,row,0,1)
adj_val >= 0 ? Expr("x 16 scaleb - 0 <= 16 scaleb 235 scaleb " + string(adj_val*2.19) + " scaleb - 16 scaleb - 0 <= 0.01 235 scaleb " + string(adj_val*2.19) + " scaleb - 16 scaleb - ? / 219 scaleb * x 16 scaleb - 235 scaleb " + string(adj_val*2.19) + " scaleb - 16 scaleb - 0 <= 0.01 235 scaleb "\
+ string(adj_val*2.19) + " scaleb - 16 scaleb - ? / 219 scaleb * 16 scaleb + ? x " + string(p-prot_val) + " - -10 scaleb / 0 max 1 min * x x " + string(b-prot_val) + " - 10 scaleb / 0 max 1 min * + 16 scaleb 235 scaleb clip") : \
Expr("x 16 scaleb - 0 <= 16 scaleb 219 scaleb / 235 scaleb " + string(adj_val*2.19) + " scaleb + 16 scaleb - * x 16 scaleb - 219 scaleb / 235 scaleb " + string(adj_val*2.19) + " scaleb + 16 scaleb - * 16 scaleb + ? x " + string(p-prot_val) + " - -10 scaleb / 0 max 1 min * x x " + string(b-prot_val) + \
" - 10 scaleb / 0 max 1 min * + 16 scaleb 235 scaleb clip")
Overlay(c.ExtractY(),last,0,row,mode="luma")
CombinePlanes(last, c, planes="YUV", sample_clip=c)
}

Function FixCBr(clip c, int column, float adj_val, int "prot_val")
{
Assert(adj_val <= 100, "adj_val max value 100")
Assert(adj_val >= -100, "adj_val min value -100")
p = Pow(2, BitsPerComponent(c))-1
b = p-10*(Pow(2, (BitsPerComponent(c)-8)))
prot_val = Default(prot_val, 0)
Assert(prot_val <= Pow(2, BitsPerComponent(c))-1, "prot_val max value = max luma of the current bit depth")
Assert(prot_val >= 0, "prot_val min value 0")
c
ExtractY()
Crop(column,0,1,0)
adj_val >= 0 ? Expr("x 16 scaleb - 0 <= 16 scaleb 235 scaleb " + string(adj_val*2.19) + " scaleb - 16 scaleb - 0 <= 0.01 235 scaleb " + string(adj_val*2.19) + " scaleb - 16 scaleb - ? / 219 scaleb * x 16 scaleb - 235 scaleb " + string(adj_val*2.19) + " scaleb - 16 scaleb - 0 <= 0.01 235 scaleb "\
+ string(adj_val*2.19) + " scaleb - 16 scaleb - ? / 219 scaleb * 16 scaleb + ? x " + string(p-prot_val) + " - -10 scaleb / 0 max 1 min * x x " + string(b-prot_val) + " - 10 scaleb / 0 max 1 min * + 16 scaleb 235 scaleb clip") : \
Expr("x 16 scaleb - 0 <= 16 scaleb 219 scaleb / 235 scaleb " + string(adj_val*2.19) + " scaleb + 16 scaleb - * x 16 scaleb - 219 scaleb / 235 scaleb " + string(adj_val*2.19) + " scaleb + 16 scaleb - * 16 scaleb + ? x " + string(p-prot_val) + " - -10 scaleb / 0 max 1 min * x x " + string(b-prot_val) + \
" - 10 scaleb / 0 max 1 min * + 16 scaleb 235 scaleb clip")
Overlay(c.ExtractY(),last,column,0,mode="luma")
CombinePlanes(last, c, planes="YUV", sample_clip=c)
}
Thank you very much for your effort.
pcroland is offline  
Old 30th May 2019, 15:17   #459  |  Link
Natty
Noob
 
Join Date: Mar 2017
Posts: 221
Quote:
Originally Posted by ChaosKing View Post
If you want tr > 3 use the hnwvsfunc.SMDegrain version by Wolfberry https://forum.doom9.org/showthread.php?t=175614
invalid thread
Natty is offline  
Old 30th May 2019, 15:35   #460  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Quote:
Originally Posted by Natty View Post
invalid thread
See here https://forum.doom9.org/showthread.php?p=1862691
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing 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 09:34.


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