diff --git a/config/navi/christoph.cheat b/config/navi/christoph.cheat index a7ac4bdf..48092db1 100644 --- a/config/navi/christoph.cheat +++ b/config/navi/christoph.cheat @@ -308,27 +308,33 @@ mkdir -p "" && cd "" && spotdl --client-id (cat /home/christoph/.sec % ffmpeg # 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: eza -f -1 % ffmpeg # 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: eza -f -1 % ffmpeg # Preview video with applied crop settings -ffplay -vf crop=::: "" +ffplay -vf crop=::: $ input: eza -f -1 % ffmpeg # 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: eza -f -1 % ffmpeg # Reencode and compress the video using the h265 codec -ffmpeg -i "" -vcodec libx265 -crf "out_" +ffmpeg -i -vcodec libx265 -crf out_ +$ input: eza -f -1 +$ quality: echo -e "24\n25\n26\n27\n28\n29\n30\n" + +% ffmpeg +# Reencode, compress and scale the video using the h265 codec +ffmpeg -i -vcodec libx265 -crf -vf scale=:-2,setsar=1:1 out_ $ input: eza -f -1 $ quality: echo -e "24\n25\n26\n27\n28\n29\n30\n"