Compare commits
No commits in common. "5ff0781b10d21cbacfdf914ac56b283475b3ed2e" and "8ce1d3ca780b02f7473b2b146185066f8dc0ab98" have entirely different histories.
5ff0781b10
...
8ce1d3ca78
4 changed files with 43 additions and 54 deletions
38
flake.lock
38
flake.lock
|
@ -244,11 +244,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1699345318,
|
||||
"narHash": "sha256-JxMtX7/2PdxSUXu38S8ACH71TcZULiztlkv+elEq7og=",
|
||||
"lastModified": 1699025595,
|
||||
"narHash": "sha256-e+o4PoSu2Z6Ww8y/AVUmMU200rNZoRK+p2opQ7Db8Rg=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "76e7c05f7d3d5ffac219450af824043da52af1cc",
|
||||
"rev": "8765d4e38aa0be53cdeee26f7386173e6c65618d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -287,11 +287,11 @@
|
|||
},
|
||||
"locked": {
|
||||
"dir": "contrib",
|
||||
"lastModified": 1699346628,
|
||||
"narHash": "sha256-eAG29Q53SO9XxJIxIMPSHlORTrEH3NFzsXhJMwTRo4M=",
|
||||
"lastModified": 1699187447,
|
||||
"narHash": "sha256-cWfBNsk8vIYSONHqDDyoKYv21XTjsIK1AA+iSc1hzQk=",
|
||||
"owner": "neovim",
|
||||
"repo": "neovim",
|
||||
"rev": "3ca967387c49c754561c3b11a574797504d40f38",
|
||||
"rev": "a8aebcff50ca5be120fbb52ca59348eaa44f031f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -312,11 +312,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1699356808,
|
||||
"narHash": "sha256-Gpf4jNIKpyHj4Svo1zQzKkkxnGTmQA6ahTM2W6GRgec=",
|
||||
"lastModified": 1699187801,
|
||||
"narHash": "sha256-nIejBzD2c1glzaKKe9Z5TKFpen9hpOO+X/dD9P4xSRw=",
|
||||
"ref": "refs/heads/master",
|
||||
"rev": "e7c9d61793a4c323ae1b85e43617873326ae919d",
|
||||
"revCount": 566,
|
||||
"rev": "8c73fb5c9087632da9a64d40898970c63bcba511",
|
||||
"revCount": 564,
|
||||
"type": "git",
|
||||
"url": "https://git.kempkens.io/daniel/nix-overlay"
|
||||
},
|
||||
|
@ -363,11 +363,11 @@
|
|||
},
|
||||
"nixos-unstable": {
|
||||
"locked": {
|
||||
"lastModified": 1699263391,
|
||||
"narHash": "sha256-gl4gNUR1GjIfI7aRYUr024nrK3Sxx3W3dRuS4LB56Zg=",
|
||||
"lastModified": 1699128932,
|
||||
"narHash": "sha256-4Hn/fpR/FRucpXQqMI0OSgxiu2ImowmR0dThAycPt/4=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "cac8c76f21fccba39376504e18c23f7e18fd8419",
|
||||
"rev": "0d2d729bf7091df906a78b69f90620f933ea963f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -379,11 +379,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1699186365,
|
||||
"narHash": "sha256-Pxrw5U8mBsL3NlrJ6q1KK1crzvSUcdfwb9083sKDrcU=",
|
||||
"lastModified": 1699155732,
|
||||
"narHash": "sha256-Wg4RmOGUEO4YCF0fEc/qiQ/3+BGC/f0qywIE8xEkIpY=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "a0b3b06b7a82c965ae0bb1d59f6e386fe755001d",
|
||||
"rev": "15492ddc2974ba426ea7e17116ea7aa44fc96dcd",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -454,11 +454,11 @@
|
|||
"nixpkgs-stable": "nixpkgs-stable_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1699271226,
|
||||
"narHash": "sha256-8Jt1KW3xTjolD6c6OjJm9USx/jmL+VVmbooADCkdDfU=",
|
||||
"lastModified": 1698852633,
|
||||
"narHash": "sha256-Hsc/cCHud8ZXLvmm8pxrXpuaPEeNaaUttaCvtdX/Wug=",
|
||||
"owner": "cachix",
|
||||
"repo": "pre-commit-hooks.nix",
|
||||
"rev": "ea758da1a6dcde6dc36db348ed690d09b9864128",
|
||||
"rev": "dec10399e5b56aa95fcd530e0338be72ad6462a0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -40,10 +40,6 @@
|
|||
whitespace = "fix";
|
||||
};
|
||||
|
||||
merge = {
|
||||
conflictStyle = "zdiff3";
|
||||
};
|
||||
|
||||
rerere = {
|
||||
enabled = true;
|
||||
};
|
||||
|
|
|
@ -29,12 +29,12 @@ in
|
|||
};
|
||||
mini-nvim = buildVimPlugin {
|
||||
pname = "mini.nvim";
|
||||
version = "2023-11-06";
|
||||
version = "2023-11-03";
|
||||
src = fetchFromGitHub {
|
||||
owner = "echasnovski";
|
||||
repo = "mini.nvim";
|
||||
rev = "8e18eb9ba849d737acac1873cd78fc8058c1700a";
|
||||
sha256 = "0s40jdg2z1wqb5wy0i4d31mrn9gw9136hq8kkwyqif43lgizz4h3";
|
||||
rev = "e8a413b1a29f05bb556a804ebee990eb54479586";
|
||||
sha256 = "0wlkpbxrpy4m1n1s5vv368x43zc19zi9s7962hljr5a4qink7zaa";
|
||||
fetchSubmodules = false;
|
||||
};
|
||||
};
|
||||
|
@ -117,12 +117,12 @@ in
|
|||
};
|
||||
nvim-treesitter = buildVimPlugin {
|
||||
pname = "nvim-treesitter";
|
||||
version = "2023-11-07";
|
||||
version = "2023-11-05";
|
||||
src = fetchFromGitHub {
|
||||
owner = "nvim-treesitter";
|
||||
repo = "nvim-treesitter";
|
||||
rev = "9a746b4b6a1ef215943f07e6aa2ec35fb14097d4";
|
||||
sha256 = "1r3g0d6lmj64labcnfwqv00gd4i0a5s8qg4mkb1qgcf0q4kvmhaz";
|
||||
rev = "b3d2c36254aa79fe531ac94c475a5a57580d2907";
|
||||
sha256 = "0pb5f2q2wp4zsz2a7qsxcv2zm7bscr4jny1anrj3r15ikin4yl3p";
|
||||
fetchSubmodules = false;
|
||||
};
|
||||
};
|
||||
|
@ -161,12 +161,12 @@ in
|
|||
};
|
||||
telescope-nvim = buildVimPlugin {
|
||||
pname = "telescope.nvim";
|
||||
version = "2023-11-06";
|
||||
version = "2023-10-23";
|
||||
src = fetchFromGitHub {
|
||||
owner = "nvim-telescope";
|
||||
repo = "telescope.nvim";
|
||||
rev = "20bf20500c95208c3ac0ef07245065bf94dcab15";
|
||||
sha256 = "096vv98xxdqy96ipz6lbricfr74bkc3r58x1si1816lnm0j896r5";
|
||||
rev = "4522d7e3ea75ffddabdc39957168a8a7060b5df0";
|
||||
sha256 = "143bdqxfzlfbjrd80pw4wkz95szp21qs1zn7i230sdavvrq00b3b";
|
||||
fetchSubmodules = false;
|
||||
};
|
||||
};
|
||||
|
@ -219,12 +219,12 @@ in
|
|||
};
|
||||
nvim-lspconfig = buildVimPlugin {
|
||||
pname = "nvim-lspconfig";
|
||||
version = "2023-11-06";
|
||||
version = "2023-11-04";
|
||||
src = fetchFromGitHub {
|
||||
owner = "neovim";
|
||||
repo = "nvim-lspconfig";
|
||||
rev = "37457f268af5cd6765e589b0dcd7cbd192d8da00";
|
||||
sha256 = "0pspyr4ppvy2zv6iqa4lnicivrhivmky00y28zkkpchji14ybm36";
|
||||
rev = "b44737605807023d32e6310b87ba69f4dbf10e0e";
|
||||
sha256 = "1dhq2ai09ky724sfdb2lalmbh5xkj53w5v2yrpbybwpw0sxfaa1l";
|
||||
fetchSubmodules = false;
|
||||
};
|
||||
};
|
||||
|
@ -318,12 +318,12 @@ in
|
|||
};
|
||||
nvim-cmp = buildVimPlugin {
|
||||
pname = "nvim-cmp";
|
||||
version = "2023-11-06";
|
||||
version = "2023-10-25";
|
||||
src = fetchFromGitHub {
|
||||
owner = "hrsh7th";
|
||||
repo = "nvim-cmp";
|
||||
rev = "0b751f6beef40fd47375eaf53d3057e0bfa317e4";
|
||||
sha256 = "1qp7s2iam9zzdlw5sgkk6c623z7vjgga0rcg63ja0f836l90grba";
|
||||
rev = "51260c02a8ffded8e16162dcf41a23ec90cfba62";
|
||||
sha256 = "0h5n8ks34vxr2b17vddrv4vgjyr649bl7i839awpad21x146krkz";
|
||||
fetchSubmodules = false;
|
||||
};
|
||||
};
|
||||
|
@ -395,12 +395,12 @@ in
|
|||
};
|
||||
conform-nvim = buildVimPlugin {
|
||||
pname = "conform.nvim";
|
||||
version = "2023-11-07";
|
||||
version = "2023-11-04";
|
||||
src = fetchFromGitHub {
|
||||
owner = "stevearc";
|
||||
repo = "conform.nvim";
|
||||
rev = "161d95bfbb1ad1a2b89ba2ea75ca1b5e012a111e";
|
||||
sha256 = "0ilwbkp9s9pr9qsvc98a527fx89r7zg5sfj3db8zclsa14y49m0q";
|
||||
rev = "0bbe83830be5a07a1161bb1a23d7280310656177";
|
||||
sha256 = "08y5xwf8h79l8ms3pjynaclvi1i55jzz5ffbq31cnilm98xsars8";
|
||||
fetchSubmodules = false;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1,20 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
#!/bin/sh
|
||||
|
||||
set -eu
|
||||
|
||||
tmpext="_mp4-concat.tmp.ts"
|
||||
TMP_FILES=()
|
||||
tmpfile="_mp4-concat.tmp"
|
||||
printf '' >"$tmpfile"
|
||||
|
||||
for f in "$@"; do
|
||||
TMP_FILES+=("$f$tmpext")
|
||||
ffmpeg -i "$f" -c copy -bsf:v h264_mp4toannexb -f mpegts "$f$tmpext"
|
||||
echo "file '$f'" >>"$tmpfile"
|
||||
done
|
||||
|
||||
concat_files=$(printf "|%s" "${TMP_FILES[@]}")
|
||||
concat_files=${concat_files:1}
|
||||
|
||||
ffmpeg -i "concat:$concat_files" -c copy -bsf:a aac_adtstoasc "mp4concat_${RANDOM}.mp4"
|
||||
|
||||
for f in "${TMP_FILES[@]}"; do
|
||||
rm "$f"
|
||||
done
|
||||
ffmpeg -f concat -safe 0 -i "$tmpfile" -c copy mp4concat_output.mp4
|
||||
rm -f "$tmpfile"
|
||||
|
|
Loading…
Reference in a new issue