Add ffmpeg and ffcheck helper script
This commit is contained in:
parent
705a9f840b
commit
1ccbd013f8
1 changed files with 7 additions and 1 deletions
|
|
@ -1,5 +1,9 @@
|
||||||
{ self, pkgs, inputs, secrets, ... }:
|
{ 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 = [
|
imports = [
|
||||||
self.nixosModules.common
|
self.nixosModules.common
|
||||||
self.nixosModules.prompt
|
self.nixosModules.prompt
|
||||||
|
|
@ -77,6 +81,8 @@
|
||||||
|
|
||||||
# Multimedia
|
# Multimedia
|
||||||
vlc
|
vlc
|
||||||
|
ffmpeg
|
||||||
|
ffcheck
|
||||||
|
|
||||||
# Productivity
|
# Productivity
|
||||||
obsidian
|
obsidian
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue