0473307f87
Builds ffmpeg with CUDA Toolkit as a dependency, which includes a library called "libnpp" that provides something related to hardware accelerated video stream resizing. v0v
12 lines
223 B
Nix
12 lines
223 B
Nix
{ pkgs, ... }:
|
|
|
|
pkgs.originals.ffmpeg.overrideAttrs(old: {
|
|
buildInputs = old.buildInputs ++ [
|
|
pkgs.cudatoolkit.out
|
|
];
|
|
|
|
configureFlags = old.configureFlags ++ [
|
|
"--enable-libnpp"
|
|
"--enable-nonfree"
|
|
];
|
|
})
|