Merge pull request #104212 from mkg20001/avif-up
This commit is contained in:
commit
c7b9a25365
|
@ -11,21 +11,22 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libavif";
|
||||
version = "0.8.2";
|
||||
version = "0.8.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "AOMediaCodec";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0f0l8ywz2jhc9mkfrzdxdvr3q39a404yn9wcyvqshfbkbprsan4p";
|
||||
sha256 = "1d6ql4vq338dvz61d5im06dh8m9rqfk37f9i356j3njpq604i1f6";
|
||||
};
|
||||
|
||||
# reco: encode libaom slowest but best, decode dav1d fastest
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_SHARED_LIBS=ON"
|
||||
"-DAVIF_CODEC_AOM=ON"
|
||||
"-DAVIF_CODEC_DAV1D=ON"
|
||||
"-DAVIF_CODEC_AOM=ON" # best encoder (slow but small)
|
||||
"-DAVIF_CODEC_DAV1D=ON" # best decoder (fast)
|
||||
"-DAVIF_CODEC_AOM_DECODE=OFF"
|
||||
"-DAVIF_BUILD_APPS=ON"
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue