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 20th October 2020, 07:28   #641  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,286
Seems that one calculates in Luma units and the other in Chroma units, hence half the number for YUV 4:2:x chroma subsampling... just a guess.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 2nd November 2020, 22:41   #642  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,936
Quote:
Originally Posted by tormento View Post
LWLibavVideoSource("E:\in\1_31 Tokyo godfathers\godfathers.lwi")
error: KNLMeansCL: INT10 require 'channels = YUV'!

LWLibavVideoSource("E:\in\1_31 Tokyo godfathers\godfathers.lwi", format="YUV420P10")
error: KNLMeansCL: INT10 require 'channels = YUV'!

LWLibavVideoSource("E:\in\1_31 Tokyo godfathers\godfathers.lwi", format="YUV420P16")
Working
Quote:
Originally Posted by real.finder View Post
KNLMeansCL has problems with 10 bit clip https://github.com/Khanattila/KNLMea...ment-469839637
Quote:
Originally Posted by tormento View Post
I saw there is a workaround setting YUV, is it possible to create a script variant for that specific case, as all the H.265 HDR material out there is 10 bit?
Quote:
Originally Posted by real.finder View Post
YUV in KNLMeansCL need 4:4:4 chroma, if your source is 444 then it should work with 10 bit, but in your case (4:2:0) 16 bit is better since going from 420 to 444 is not recommended
Quote:
Originally Posted by tormento View Post
Thanks man!

So if the source is 444, SMDegrain should work?
Quote:
Originally Posted by real.finder View Post
yes

Quote:
Originally Posted by tormento View Post
Just a question arise to my mind: Hi10P is 10 bit. You tell me to use 16 bit BUT at the end I have to dither to go back to 10 bit again to encode as proper format. Isn't better to find a way to stay in 10 bit with no dithering at the end?
Quote:
Originally Posted by real.finder View Post
more bits = better

anyway you can chose another prefilter other than 4 or ask KNLMeansCL developer to make it work with grayscale in any bit depth (seems he only against 420 with 10 bit which is not being used in SMDegrain)
Quote:
Originally Posted by tormento View Post
Yes unless the standard for UHD is 10bit and you need to dither at the end

That's why I was asking for a solution to have 10 bit chain
thanks to pinterf, KNLMeansCL soon will work with these cases

test build for now https://drive.google.com/file/d/1Yi8...ew?usp=sharing (it's not final version as pinterf said, for testing only)
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 13th November 2020, 15:40   #643  |  Link
tormento
Acid fr0g
 
tormento's Avatar
 
Join Date: May 2002
Location: Italy
Posts: 1,548
Quote:
Originally Posted by real.finder View Post
thanks to pinterf, KNLMeansCL soon will work with these cases
Could you introduce some presets in SMDegrain to work with 8 bit, 10 bit and HDR arbitrary input/output combination? I.e. input 8 bit -> output 10 bit, input 10 bit -> output 8 bit, etc.
__________________
@turment on Telegram
tormento is offline   Reply With Quote
Old 13th November 2020, 16:56   #644  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 1,936
Quote:
Originally Posted by tormento View Post
Could you introduce some presets in SMDegrain to work with 8 bit, 10 bit and HDR arbitrary input/output combination? I.e. input 8 bit -> output 10 bit, input 10 bit -> output 8 bit, etc.
you can only do input 8 bit -> output 16 bit with n16_out since it supported in mvtools, others I think there are no benefit from them (pinterf think same)

in any case you can always use convertbits() to do these (like input 8 bit -> output 10 bit) at the cost of some speed losing
__________________
See My Avisynth Stuff
real.finder 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 03:00.


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