refactor: vesktop
This commit is contained in:
parent
4ce1b5aedf
commit
2feae7c8d9
6 changed files with 33 additions and 10 deletions
|
|
@ -30,7 +30,22 @@ let
|
|||
|
||||
tmux switch-client -t $selected_name
|
||||
'';
|
||||
|
||||
# ffmpeg
|
||||
toMov = pkgs.writeShellScriptBin "toMov" ''
|
||||
if [ -z "$1" ]; then
|
||||
echo "Please provide an input file."
|
||||
exit 1
|
||||
fi
|
||||
input_file="$1"
|
||||
output_file="''\${input_file%.*}.mov"
|
||||
ffmpeg -i "$input_file" -c:v dnxhd -profile:v dnxhr_hq -c:a pcm_s16le -pix_fmt yuv422p "$output_file"
|
||||
echo "Conversion complete: $output_file"
|
||||
'';
|
||||
in
|
||||
{
|
||||
home.packages = [ tmuxSessionizer ];
|
||||
home.packages = [
|
||||
tmuxSessionizer
|
||||
toMov
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue