Dynamic audio normalization:
ffmpeg -i input.mkv -c:v copy -c:a pcm_s16le -af "dynaudnorm=f=120:g=3:m=60" output.mkv
Docs: http://underpop.online.fr/f/ffmpeg/help/dynaudnorm.htm.gz
{ pkgs ? import <nixpkgs> { } }: | |
let | |
build-env = pkgs.stdenv; | |
boost-src = { | |
version = "1.84.0"; | |
src = pkgs.fetchurl { | |
url = "https://archives.boost.io/release/1.84.0/source/boost_1_84_0.tar.bz2"; | |
sha256 = "cc4b893acf645c9d4b698e9a0f08ca8846aa5d6c68275c14c3e7949c24109454"; | |
}; |
cmake_minimum_required(VERSION 3.21) | |
project(HelloWorldBoost) | |
set(CMAKE_CXX_STANDARD 20) | |
set(CMAKE_CXX_STANDARD_REQUIRED ON) | |
set(CMAKE_CXX_EXTENSIONS OFF) | |
find_package(Boost REQUIRED COMPONENTS cobalt json url) |
Dynamic audio normalization:
ffmpeg -i input.mkv -c:v copy -c:a pcm_s16le -af "dynaudnorm=f=120:g=3:m=60" output.mkv
Docs: http://underpop.online.fr/f/ffmpeg/help/dynaudnorm.htm.gz
{ pkgs ? import <nixpkgs> { } }: | |
let | |
boost-src = { | |
version = "1.84.0"; | |
src = pkgs.fetchurl { | |
url = "https://archives.boost.io/release/1.84.0/source/boost_1_84_0.tar.bz2"; | |
sha256 = "cc4b893acf645c9d4b698e9a0f08ca8846aa5d6c68275c14c3e7949c24109454"; | |
}; | |
}; |
{ | |
"[cpp]": { | |
"editor.defaultFormatter": "xaver.clang-format" | |
}, | |
"clangd.arguments": [ | |
"--background-index", | |
"--clang-tidy", | |
"--compile-commands-dir=build" | |
], | |
"cmake.configureArgs": [ |
Call once: kitty +kitten ssh user@host
to setup host for kitty usage.
https://wiki.archlinux.org/title/Kitty#Terminal_issues_with_SSH
During Windows installation, follow https://www.ctrl.blog/entry/how-to-esp-windows-setup.html:
diff --git a/modules/stitching/CMakeLists.txt b/modules/stitching/CMakeLists.txt | |
index 44f35eb59b..644b537941 100644 | |
--- a/modules/stitching/CMakeLists.txt | |
+++ b/modules/stitching/CMakeLists.txt | |
@@ -8,6 +8,6 @@ set(STITCHING_CONTRIB_DEPS "opencv_xfeatures2d") | |
if(BUILD_SHARED_LIBS AND BUILD_opencv_world AND OPENCV_WORLD_EXCLUDE_EXTRA_MODULES) | |
set(STITCHING_CONTRIB_DEPS "") | |
endif() | |
-ocv_define_module(stitching opencv_imgproc opencv_features2d opencv_calib3d opencv_flann | |
+ocv_define_module(stitching opencv_imgproc opencv_features2d opencv_calib3d opencv_flann opencv_imgcodecs |
{ pkgs ? import <nixpkgs> {} }: | |
let | |
clblast = pkgs.callPackage ./clblast {}; | |
in | |
pkgs.callPackage ./llama { inherit clblast; } |
{ stdenv | |
, coreutils | |
, python3 | |
, fetchFromGitHub | |
, libappindicator-gtk3 | |
, gtk3 | |
, gobject-introspection | |
, wrapGAppsHook | |
}: |