26 lines
552 B
Nix
26 lines
552 B
Nix
{ ffmpeg
|
|
, symlinkJoin
|
|
, writeShellApplication
|
|
}:
|
|
|
|
let
|
|
transcode-animated-video = writeShellApplication {
|
|
name = "transcode-animated-video";
|
|
runtimeInputs = [ ffmpeg ];
|
|
text = builtins.readFile ./transcode-animated-video.sh;
|
|
};
|
|
|
|
transcode-organic-video = writeShellApplication {
|
|
name = "transcode-organic-video";
|
|
runtimeInputs = [ ffmpeg ];
|
|
text = builtins.readFile ./transcode-organic-video.sh;
|
|
};
|
|
in
|
|
symlinkJoin {
|
|
name = "transcode-video";
|
|
paths = [
|
|
transcode-animated-video
|
|
transcode-organic-video
|
|
];
|
|
}
|