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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 22nd February 2017, 20:55   #101  |  Link
KingLir
Registered User
 
Join Date: Jan 2017
Posts: 146
Quote:
Originally Posted by jackoneill View Post
You'll have to convert back to some integer format before output.
Can you give me the line for the vs script ?

Quote:
Originally Posted by jackoneill View Post
Or nag feisty2 to add support for integer clips, because there's no reason not to.
feisty2 - you are officially naged

Last edited by KingLir; 22nd February 2017 at 21:02.
KingLir is offline   Reply With Quote
Old 25th February 2017, 15:01   #102  |  Link
feisty2
I'm Siri
 
feisty2's Avatar
 
Join Date: Oct 2012
Location: void
Posts: 2,633
Quote:
Originally Posted by KingLir View Post
feisty2 - you are officially naged
I don't think that would be a good idea simply because integer formats are evil..

with floating point formats (half, single or double if supported someday), black is always [0.0, 0.0, 0.0]
with integer formats, black could either be
full range YUV: [0, 1 << (bits - 1), 1 << (bits - 1)]
or
tv range YUV: [16 << (bits - 8), 1 << (bits - 1), 1 << (bits - 1)]
or
RGB: [0, 0, 0]
which is already super confusing to newbies and the base color might not be black... and that's gonna get even more complicated...

I'd say just convert whatever you have to floating point format and save all that crap, floating point formats are much more beautiful than integer stuff from the mathematical point of view.
feisty2 is offline   Reply With Quote
Old 26th February 2017, 00:14   #103  |  Link
KingLir
Registered User
 
Join Date: Jan 2017
Posts: 146
Quote:
Originally Posted by feisty2 View Post
I'd say just convert whatever you have to floating point format and save all that crap, floating point formats are much more beautiful than integer stuff from the mathematical point of view.
I see, thanks. What line should I use in vs script ?
KingLir is offline   Reply With Quote
Old 23rd December 2017, 16:49   #104  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Maybe I found a bug:

Code:
a2 = core.ftf.FixFades(a2, mode=0, threshold=0.0002, color=[0.56, 0.39, 0.22], opt=True)
I found this broken frame https://imgur.com/a/hCXq7

I know the threshold is lower (I was experimenting). But it does not happen with pure white/black color values + same thresh.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Reply


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 21:48.


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