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 19th April 2018, 12:18   #161  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,314
Quote:
Originally Posted by real.finder View Post
it's megui and avs+ problems. the megui use rgb for preview and avs+ dont allow 16bit yuv to rgb24 (8 bit)
I suppose Megui Invokes a simple ConvertToRGB24()?
pinterf is offline   Reply With Quote
Old 19th April 2018, 17:22   #162  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by gugglu View Post
Thanks for clearing it that it will not work with Megui+AvisynthPlus, but i don't use megui to encode anyway it is just for making a script or sometime i use AvspMod to edit the script.
For Encoding i use .cmd Avs2pipemod+x264-10bit. i want to learn how to do a color-space conversion and please tell in which tool have u tested the n16_out setting.
I want to know how it works with AvisynthPlus's Native High bit-depth. and what are the requirement to use it, smdegrain is very nice function i use it on most of my clips but without knowing some setting in the function that i m trying to find out how they works is kind strange, never had problem any other parameter i have tested the full code of smdegrain() excluding n16=true, n16_out=true and works as excepted no doubt you did very great job.
i am curious to know few things hope you won't mind explaining them more clearly. thanks real.finder you're a great mod.

if we cant use n16_out=true why it is there? or is it related to Avs+ Native High_bit-depth

if we can use it then how ?

if it don't work with MeGui+AvisynthPlus so which tool u used tried these setting?

one last thing how to prepare color-space for smdegrain if i want to use it n16_out=true, n16=n16_out

i was thinking about DitherTools it i have some function related to color-space but i don't know how to do it as this happening 1st time with me i want to know how we prepare color-space before so next we be able to use

Code:
dither_convert_yuv_to_rgb()
r  
g  
b 
Dither_convert_rgb_to_yuv() 

smdegrain(n16_out=true, n16=true)
I think you should report this in megui Thread, anyway, you can convert it back to 8 bit in last line for preview, and don't use convert for encoding

DitherTools can do it (for preview) but don't support native HBD of avs+ but you can convert native to lsb at cost of some speed to use DitherTools Dither_srgb_display or dither_convert_yuv_to_rgb

edit: I think virtualdub2 can do it for preview using native avs+ HBD
__________________
See My Avisynth Stuff

Last edited by real.finder; 19th April 2018 at 17:31.
real.finder is offline   Reply With Quote
Old 19th April 2018, 17:22   #163  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by pinterf View Post
I suppose Megui Invokes a simple ConvertToRGB24()?
it seems do that
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 19th April 2018, 17:31   #164  |  Link
gugglu
Registered User
 
Join Date: Jul 2012
Location: Nottingham
Posts: 44
Quote:
Originally Posted by real.finder View Post
I think you should report this in megui Thread, anyway, you can convert it back to 8 bit in last line for preview, and don't use convert for encoding

DitherTools can do it (for preview) but don't support native HBD of avs+ but you can convert native to lsb at cost of some speed to use DitherTools Dither_srgb_display or dither_convert_yuv_to_rgb
i know the lsb thing , thanks for your time tho.
gugglu is offline   Reply With Quote
Old 19th April 2018, 19:26   #165  |  Link
gugglu
Registered User
 
Join Date: Jul 2012
Location: Nottingham
Posts: 44
Quote:
Originally Posted by real.finder View Post
edit: I think virtualdub2 can do it for preview using native avs+ HBD
Much appreciate it real.finder , it works smdegrain(n16_out=true,n16=true) in Virtuldub2 preview thanks lot for mentioning VDub2
gugglu is offline   Reply With Quote
Old 1st May 2018, 10:43   #166  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,582
I don't know if SMDegrain could be the right address to my request but sometimes, with old movies, camera was not so stable and it introduces useless micropanning to video.

Could you please add some MDepan/Depan or DePanEstimate/DePan function to improve motion estimation and decrease bitrate?
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 1st May 2018, 21:27   #167  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by tormento View Post
I don't know if SMDegrain could be the right address to my request but sometimes, with old movies, camera was not so stable and it introduces useless micropanning to video.

Could you please add some MDepan/Depan or DePanEstimate/DePan function to improve motion estimation and decrease bitrate?
there are stab() (or stab3()), and I already did some edit to it
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 2nd May 2018, 09:24   #168  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,582
Quote:
Originally Posted by real.finder View Post
there are stab() (or stab3()), and I already did some edit to it
Where?

Could be nice to have an all in one inside SMDegrain
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 2nd May 2018, 09:28   #169  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by tormento View Post
Where?
in the OP ofc

Quote:
Could be nice to have an all in one inside SMDegrain
will not do this, SMDegrain has nothing to do with stab, and why you ever want this!
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 2nd May 2018, 13:18   #170  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,582
Quote:
Originally Posted by real.finder View Post
in the OP ofc
Can you give me decryption key?
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 2nd May 2018, 13:45   #171  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Click on his signature link and then on "stab3 and others":
here's the direct link: https://pastebin.com/XHxCbbxC
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 2nd May 2018, 15:23   #172  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,582
Quote:
Originally Posted by real.finder View Post
will not do this, SMDegrain has nothing to do with stab, and why you ever want this!
In my absence of knowledge, if any MV is used, it should be the same from denoising.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 2nd May 2018, 15:23   #173  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,582
Quote:
Originally Posted by ChaosKing View Post
Click on his signature link and then on "stab3 and others":
Thanks.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 7th June 2018, 15:54   #174  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Just pointing out to someone (dont know who), that the Wiki entry for SRestore function prototype
http://avisynth.nl/index.php/Srestore
and the one actually in use, are quite dissimilar [think I first noticed this some years ago].

From Wiki,
Code:
srestore(clip source, float "frate", "omode", float "blocks", int "mthresh", int "bthresh", bool "chroma", int "cache", float "rr", clip "dclip")
v2.792
Code:
Srestore(clip sourceo, float "frate", "omode", float "speed", float "blocks", int "mode", float "thresh", int "cache", clip "dclip")
I'm currently trying to clean SRestore up a bit (dont like use of eg IsFloat() rather than Defined()) also Adding in Gscript [or built in to Avs+] Functionality
so as to avoid lots ternary conditional tests when a single test can suffice for a block of calculations.
Function seems to have gathered quite a lot of crud over the years.
I shall post my mods but will not support, is for my own use only, if someone else want to continue from there, then fine.

EDIT: My version will likely use RT_Stats for some things, eg String copy, or checking availability of a builtin function, so would work in
all v2.58, v2.6, avs+, might require some removals or replacments to support new function alternatives in avs+ only (ie drop support for other version avs).

EDIT: Will also be making some things more explicit, eg function argument "omode" to Val "omode"
and giving variable types to all of the nested function args rather than implicit type Val for all of them (way too prone to error and scary for
coder to mod anything).

EDIT: Apparently 'blocks' arg not used at all in current ver$.
EDIT: The 'dmode' mentioned in docs dont exist either, presume 'mode' is intended, docs need a real good eye cast over them.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 10th June 2018 at 10:17.
StainlessS is offline   Reply With Quote
Old 8th June 2018, 11:43   #175  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,582
Quote:
Originally Posted by real.finder View Post
there are stab() (or stab3()), and I already did some edit to it
Unfortunately GrunT AFAIK is x86 only.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 8th June 2018, 12:01   #176  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Here's a 64bit version for GrunT http://avisynth.nl/index.php/AviSynth%2B_x64_plugins
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 8th June 2018, 17:13   #177  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,582
Quote:
Originally Posted by ChaosKing View Post
Thanks!
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 8th June 2018, 19:01   #178  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Grunt is another Gavino plug that should 100% for sure be embedded in the fantabulous Avs+ Wadjumacallit, thingy.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 10th June 2018, 07:26   #179  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,582
Quote:
Originally Posted by StainlessS View Post
Grunt is another Gavino plug that should 100% for sure be embedded in the fantabulous Avs+ Wadjumacallit, thingy.
+1

Suggest to Pinterf
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 10th June 2018, 13:54   #180  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Real.Finder, found bug in latest SRestore(), (v2.792)

Code:
	svhalf  = ssIsVF ? 0.5 : sdoscal ? shbdbpc == 10 ? 512 : shbdbpc == 12 ? 1024 : shbdbpc == 14 ? 8192 : 32768 : 128
half of 2 ^ 12 = 4096 / 2 = 2048. [EDIT: not 1024]
So, possible problems with Avs+ 12 bit.

EDIT: Not sure but think maybe this line also screwed up (was not sure what it was supposed to be).
Code:
sscalva = shbdbpc == 10 ?   4 : shbdbpc == 12 ?  8 : shbdbpc == 14 ?   64 : 256
Looks like it might be supoosed to be 12 : 16, where something like for 12 bit, 128 * 8 = 1024,
and should (maybe be] 128 * 16 = 2048.

EDIT: OOps, NO, that is from my "work in progress" converted version, this was from your version.
Code:
   sscalva = sdoscal ? shbdbpc == 10 ? 4 : shbdbpc == 12 ? 8 : shbdbpc == 14 ? 64 : 256 : 1
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 10th June 2018 at 14:28.
StainlessS is offline   Reply With Quote
Reply

Tags
avisynth, avs script, avs+, banding, generator, hbd, mod


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 16:16.


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