Add ffmpeg and ffcheck helper script

This commit is contained in:
2024-07-28 17:13:05 -07:00
parent 705a9f840b
commit 1ccbd013f8

View File

@@ -1,5 +1,9 @@
{ self, pkgs, inputs, secrets, ... }:
{
let
ffcheck = pkgs.writeShellScriptBin "ffcheck" ''
${pkgs.ffmpeg}/bin/ffmpeg -v error -stats -hide_banner -i "$1" -c copy -f null -
'';
in {
imports = [
self.nixosModules.common
self.nixosModules.prompt
@@ -77,6 +81,8 @@
# Multimedia
vlc
ffmpeg
ffcheck
# Productivity
obsidian