blob: df9364d17e1d3413a12e9586d6bf34470ddc01d7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
{
lib,
rustPlatform,
fetchFromGitHub,
pkg-config,
ffmpeg,
nasm,
vapoursynth,
libaom,
rav1e,
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
pname = "av1an-unwrapped";
version = "0.4.2";
src = fetchFromGitHub {
owner = "master-of-zen";
repo = "av1an";
rev = version;
hash = "sha256-A4/1UdM8N5CHP44PBNB+ZH2Gcl84rcpUBwQRSnubBGc=";
};
cargoHash = "sha256-ahoiCAUREtXgXLNrWVQ2Gc65bWMo4pIJXP9xjnQAlaI=";
nativeBuildInputs = [
rustPlatform.bindgenHook
pkg-config
nasm
];
buildInputs = [
ffmpeg
vapoursynth
];
nativeCheckInputs = [
libaom
rav1e
];
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "Cross-platform command-line encoding framework";
longDescription = ''
Cross-platform command-line AV1 / VP9 / HEVC / H264 encoding framework with per scene quality encoding.
It can increase your encoding speed and improve cpu utilization by running multiple encoder processes in parallel.
'';
homepage = "https://github.com/master-of-zen/Av1an";
changelog = "https://github.com/master-of-zen/Av1an/releases/tag/${src.rev}";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ getchoo ];
mainProgram = "av1an";
};
}
|