add fish function 'ffsum' to compute a control sum of video stream

This commit is contained in:
Antoine Vaure 2024-10-21 01:02:15 +02:00
parent 5c853a35ae
commit 61ce7a8703

View file

@ -79,6 +79,9 @@
gitentr.body = ''
${pkgs.git}/bin/git ls-tree -r HEAD --name-only | ${pkgs.entr}/bin/entr $argv
'';
ffsum.body = ''
${pkgs.ffmpeg}/bin/ffmpeg -hide_banner -v error $argv[..-2] -i $argv[-1] -map 0:v -f md5 -
'';
};
shellAliases = {