4re / resamplehq Goto Github PK
View Code? Open in Web Editor NEWGamma correct resizing in linear light (RGB) module for vapoursynth.
License: GNU General Public License v3.0
Gamma correct resizing in linear light (RGB) module for vapoursynth.
License: GNU General Public License v3.0
Hi, I'm trying to use this script but having this error:
C:\Users\User\AppData\Roaming\Python\Python39\site-packages\resamplehq.py", line 124, in resamplehq
if height <= 576:
TypeError: '<=' not supported between instances of 'NoneType' and 'int'
Thanks.
When calling the function as follows in a .vpy, it complains about RGBS not defined on line 134
from vapoursynth import core
import resamplehq as rshq
video = rshq.resample_hq(clip=video,height=960,width=720)
The fix seems to be changing line 1 in resamplehq.py to be
from vapoursynth import core, RGB, RGBH, RGBS
instead of
from vapoursynth import core, RGB, RGBH, RGBH
Would it be possible to have the option to tell the resizer that the source (and destination) contains HDR material and have the matrices adjusted accordingly? It could also be useful to define SD and HD the same way, SD being anything with width 720 pixels or less and HD 1920 pixels or less.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.