From 3b31cfdb5742a94cb84641bbf2055146cd90144c Mon Sep 17 00:00:00 2001 From: ChUrl Date: Thu, 13 Apr 2023 18:10:36 +0200 Subject: [PATCH] Update Navi Cheats --- config/navi/christoph.cheat | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/config/navi/christoph.cheat b/config/navi/christoph.cheat index 659c81b4..32cdc8b9 100644 --- a/config/navi/christoph.cheat +++ b/config/navi/christoph.cheat @@ -27,24 +27,34 @@ ldd $(readlink -f $(which )) ; TODO: Filter out directories from input autocomplete (if there are no directories basic grep doesn't work, always needs a pattern) % ffmpeg, slowmo # Create a slow motion version of a video with interpolated/blended frames -ffmpeg -i -filter:v "minterpolate='mi_mode=mci:mc_mode=aobmc:vsbmc=1:fps=',setpts=2*PTS" output.mp4 +ffmpeg -i "" -filter:v "minterpolate='mi_mode=mci:mc_mode=aobmc:vsbmc=1:fps=',setpts=2*PTS" output.mp4 $ input: exa -1 % ffmpeg, cropdetect # Detect black bar dimensions automatically by looking at the first 10 frames -ffmpeg -i -vframes 10 -vf cropdetect -f null - +ffmpeg -i "" -vframes 10 -vf cropdetect -f null - $ input: exa -1 % ffmpeg, cropdetect, preview # Preview video with applied crop settings -ffplay -vf crop=::: +ffplay -vf crop=::: "" $ input: exa -1 % ffmpeg, cropdetect, render # Re-encode the video with applied crop settings -ffmpeg -i -vf crop=::: -c:a copy output.mp4 +ffmpeg -i "" -vf crop=::: -c:a copy output.mp4 $ input: exa -1 +% ffmpeg, video compression, h265, render, reencode +# Reencode and compress the video using the h265 codec +ffmpeg -i "" -vcodec libx265 -crf "out_" +$ input: exa -1 +$ quality: echo -e "24\n25\n26\n27\n28\n29\n30\n" + +% ffmpeg, video compression, h256, render, reencode +# Reencode and compress multiple videos using the h265 codec +for name in ; ffmpeg -i "$name" -vcodec libx265 -crf "out_$name"; end + % qemu, cpu # Find out what features are supported by different qemu CPUs qemu-system- -cpu help @@ -89,3 +99,7 @@ $ SSID: sudo create_ap --list-running | sd '.+\((.+)\)' '$1' # Stop a running hotspot sudo create_ap --stop $ SSID: sudo create_ap --list-running | sd '.+\((.+)\)' '$1' + +% fish, for, loop +# For-loop in fish shell +for o in ; ; end