Comments (3)
Alright, I talked with the libaom team, and this is pretty close to how it'll operate in the next version:
I might tweak the libaom speed implementation next week at some point, but this API is pretty friendly and reasonable. Thanks for the suggestion; I think it is a winner.
from libavif.
It looks like that 0-10 speed is shorthand for these settings:
https://github.com/xiph/rav1e/blob/master/src/api/config.rs#L334
I don't want to prematurely just jam in a 0-10 "speed" dial on avifEncoder that only works on rav1e, if there is a better way to expose these features, or if there is a way to simulate these same 0-10 values in libaom (and/or SVT in the future, etc).
I'm on board with such a feature, I just want to make sure the values in avifEncoder make sense to more than one codec, if I can help it.
from libavif.
Makes sense, though it may be tough to generalize these settings, as different encoders may implement different sets of optimizations. How about having a simple proxy for this in avifEncoder
, for example a speed
integer between 0 and N, and then map that setting in different ways for different encoders?
For example, for rav1e we would just map avifEncoder->speed
(in [0-N]) to rav1e's speed setting (in [0-10]), while for other encoders we could use a different strategy (enabling or disabling some features based on the speed
value).
This is pretty much already what we do for quantizer
: we have a quantizer setting in libavif in the range [0-63], which then gets mapped differently depending on the codec (for instance, we map that to [0-255] for rav1e).
from libavif.
Related Issues (20)
- libpng warning: iCCP: known incorrect sRGB profile HOT 24
- "setlocale failed" on Windows HOT 15
- Make test_cmd.sh run the UTF-8 tests by default HOT 2
- MinGW CI is broken HOT 5
- Feature Request: Allow TIF as source image HOT 1
- Handling AdobeRGB | CICP? HOT 1
- FAILED while building HOT 10
- build error with `comparison of unsigned expression < 0 is always false` HOT 4
- `-Wignored-attributes` error with old clang HOT 3
- 1.0.3: test suite fails with SIGSEGV in `avifcodectest` unit HOT 2
- QQ about the test releases HOT 4
- ci-windows failure "unknown file: error: SEH exception with code 0xc000001d thrown in the test body" HOT 4
- Sample HDR AVIF decoded to JPG shows incorrect colors HOT 8
- How to build a dynamic library that statically links all dependencies? HOT 1
- Ignore and skip FullBoxes with an unrecognized version
- How to build the.A use of iOS platform? HOT 2
- Make libyuv package-friendly dependency HOT 2
- Roll YCgCo-R out HOT 1
- Add Homebrew install instructions and avifdec/avifenc examples to README HOT 6
- autoconf etc. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libavif.