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

Reply
 
Thread Tools Search this Thread Display Modes
Old 1st April 2018, 05:00   #141  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by tormento View Post
But there is no dither.dll use anymore
if you mean with n16, then yes that normal, dither.dll = lsb hack things
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 1st April 2018, 07:10   #142  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,574
Quote:
Originally Posted by real.finder View Post
if you mean with n16, then yes that normal, dither.dll = lsb hack things
Ok. I tried and lsb needs dither indeed.

After some testing, I have realized it is my player problem to amplify macroblocks and artifacts when decoding. I have tried to load different samples inside VirtualDub2 and the difference is negligible.

At this point I dunno if MPHC-BE is too sensitive or Virtualdub2 is way better when decoding

Trigger disengaged (at least now )

I will go on using n16 as it is way faster than lsb. Anyway I would like CorvertBits to add more modes than ordered dithering only.
__________________
@turment on Telegram

Last edited by tormento; 1st April 2018 at 07:13.
tormento is offline   Reply With Quote
Old 6th April 2018, 09:56   #143  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,574
Bottom green line

Download this file and apply this script:
PHP Code:
SetMemoryMax(8000)
SetFilterMTMode("DEFAULT_MT_MODE"2)
LoadPlugin("D:\eseguibili\media\MeGUI_x64\tools\ffms\ffms2.dll")
FFVideoSource("F:\Out\Fantozzi692vs704.mkv"fpsnum=25fpsden=1threads=1)
SMDegrain (tr=4thSAD=400n16=truemode=0PreFilter=4)
Prefetch(6
The result is this:



Any idea of why?
__________________
@turment on Telegram

Last edited by tormento; 6th April 2018 at 10:07.
tormento is offline   Reply With Quote
Old 6th April 2018, 11:57   #144  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
In a script like that, you really should reduce the problem (remove noise), eg
Code:
LoadPlugin("D:\eseguibili\media\MeGUI_x64\tools\ffms\ffms2.dll")
FFVideoSource("F:\Out\Fantozzi692vs704.mkv", fpsnum=25, fpsden=1, threads=1)
SMDegrain (tr=4, thSAD=400, n16=true, mode=0, PreFilter=4)
Does it occur without the SMDegain line ?
Does it occur only on first frame or all of the way through ? (some clips have that kind of corruption only on first frame, seems to be unrelated to any script).
Try use another source filter, same ?
Which version MVTools ? (bottom line looks to be missing U and V (all 0) ?
__________________
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 6th April 2018, 12:19   #145  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,314
Where can I download the latest SMDegrain? I'm trying to follow the instruction given on the 1st page but found nothing. This page: http://avisynth.nl/index.php/SMDegrain lists the yr 2015 version 3.1.2d as the latest.
pinterf is offline   Reply With Quote
Old 6th April 2018, 13:06   #146  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by pinterf View Post
Where can I download the latest SMDegrain? I'm trying to follow the instruction given on the 1st page but found nothing. This page: http://avisynth.nl/index.php/SMDegrain lists the yr 2015 version 3.1.2d as the latest.
here https://forum.doom9.org/showpost.php...02&postcount=3
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 6th April 2018, 13:19   #147  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,574
Quote:
Originally Posted by StainlessS View Post
Does it occur without the SMDegain line ?
Does it occur only on first frame or all of the way through ? (some clips have that kind of corruption only on first frame, seems to be unrelated to any script).
Try use another source filter, same ?
Which version MVTools ? (bottom line looks to be missing U and V (all 0) ?
1) No, it does not.
2) All the way.
3) I use DGSource, that was already my attempt to try different source input.
4) Latest MVTools.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 6th April 2018, 13:20   #148  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,314
Quote:
Originally Posted by real.finder View Post
Thanks. Could you edit the first post, so that instead of
"see videohelp link and the top of script" it mentions the 3rd post as well?
pinterf is offline   Reply With Quote
Old 6th April 2018, 13:50   #149  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by pinterf View Post
Thanks. Could you edit the first post, so that instead of
"see videohelp link and the top of script" it mentions the 3rd post as well?
done
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 7th April 2018, 10:15   #150  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,574
@StainlessS @real.finder

No idea?
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 7th April 2018, 11:05   #151  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by tormento View Post
@StainlessS @real.finder

No idea?
The green line will disappear when you crop to mod 16 (688).
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 7th April 2018, 13:24   #152  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,574
real.finder's Avisynth Stuff

Quote:
Originally Posted by Groucho2004 View Post
The green line will disappear when you crop to mod 16 (688).
That is a simple solution I already know.



I usually encode 1920xMOD4/8 videos without green lines.



I would like to know why in THIS case it appears.
__________________
@turment on Telegram

Last edited by tormento; 7th April 2018 at 14:17.
tormento is offline   Reply With Quote
Old 9th April 2018, 10:27   #153  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,314
Quote:
Originally Posted by tormento View Post
That is a simple solution I already know.
I usually encode 1920xMOD4/8 videos without green lines.
I would like to know why in THIS case it appears.
It was an out16=true issue.
Fixed in mvtools2 2.7.31. Thanks for the report.
pinterf is offline   Reply With Quote
Old 9th April 2018, 11:30   #154  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 2,574
Quote:
Originally Posted by pinterf View Post
It was an out16=true issue.
Fixed in mvtools2 2.7.31. Thanks for the report.
You are always welcome.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 11th April 2018, 03:33   #155  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
added new parameter "nnrep" to fix eediX artifacts by using nnedi clip

for now it available in sanimebob and eedi3_resize16

edit: and edi_rpow2
__________________
See My Avisynth Stuff

Last edited by real.finder; 18th September 2018 at 04:31.
real.finder is offline   Reply With Quote
Old 18th April 2018, 21:21   #156  |  Link
gugglu
Registered User
 
Join Date: Jul 2012
Location: Nottingham
Posts: 44
Hi real.finder 1st of all thank you for updating great collection of scripts, very nice work. I like your new updates.i need help on smdegrain to get start with following smdegrain(n16=true,n16_out=true) i don't know what i am missing it didn't worked gave me an error i have attached a error scrn.shot.

i tried it like this
Code:
ConvertToRGB24()
smdegrain(n16=true,n16_out=true)
Code:
ConvertToRGB24()
ConvertBits(16)
smdegrain(n16=true,n16_out=true)
n16 & n16_out are not working with alone RGB24 i m missing something there can u correct or complete my code.
Attached Images
 
gugglu is offline   Reply With Quote
Old 18th April 2018, 21:32   #157  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by gugglu View Post
Hi real.finder 1st of all thank you for updating great collection of scripts, very nice work. I like your new updates.i need help on smdegrain to get start with following smdegrain(n16=true,n16_out=true) i don't know what i am missing it didn't worked gave me an error i have attached a error scrn.shot.

i tried it like this
Code:
ConvertToRGB24()
smdegrain(n16=true,n16_out=true)
Code:
ConvertToRGB24()
ConvertBits(16)
smdegrain(n16=true,n16_out=true)
n16 & n16_out are not working with alone RGB24 i m missing something there can u correct or complete my code.
the Attachments Pending Approval but anyway smdegrain (mvtools too) not work with rgb in first place, and n16 need 8bit input
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 18th April 2018, 22:10   #158  |  Link
gugglu
Registered User
 
Join Date: Jul 2012
Location: Nottingham
Posts: 44
Quote:
Originally Posted by real.finder View Post
the Attachments Pending Approval but anyway smdegrain (mvtools too) not work with rgb in first place, and n16 need 8bit input
thanks for your reply ,
sorry i wasn't aware of that attachment take time to approve , yes n16 works with 8 bits as you said https://prnt.sc/j72wvk

, but what about n16_out=true soon as i putt n16_out=true into smdegrain(n16=true) on 8 bit clip it brings me this http://prntscr.com/j733s5

please tell me how to get it work i am trying from last couples of hours with no luck how it works in Avisynthplus .please guide
gugglu is offline   Reply With Quote
Old 18th April 2018, 23:47   #159  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by gugglu View Post
thanks for your reply ,
sorry i wasn't aware of that attachment take time to approve , yes n16 works with 8 bits as you said https://prnt.sc/j72wvk

, but what about n16_out=true soon as i putt n16_out=true into smdegrain(n16=true) on 8 bit clip it brings me this http://prntscr.com/j733s5

please tell me how to get it work i am trying from last couples of hours with no luck how it works in Avisynthplus .please guide
it's megui and avs+ problems. the megui use rgb for preview and avs+ dont allow 16bit yuv to rgb24 (8 bit)
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 19th April 2018, 11:30   #160  |  Link
gugglu
Registered User
 
Join Date: Jul 2012
Location: Nottingham
Posts: 44
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)
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)
gugglu is offline   Reply With Quote
Reply

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

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 05:59.


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