From 4abcce013c9ee3053badf2abda77190233066676 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Fri, 23 Feb 2024 10:35:22 +0100 Subject: Testing thoughts page --- _posts/2023-05-14-convert-mkv.md | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 _posts/2023-05-14-convert-mkv.md (limited to '_posts/2023-05-14-convert-mkv.md') diff --git a/_posts/2023-05-14-convert-mkv.md b/_posts/2023-05-14-convert-mkv.md deleted file mode 100644 index 7cc6189..0000000 --- a/_posts/2023-05-14-convert-mkv.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: Convert all MKV files into other formats -permalink: /convert-mkv.html -date: 2023-05-14T12:00:00+02:00 -layout: post -type: note -draft: false -tags: [ffmpeg] ---- - -You will need `ffmpeg` installed on your system. This will convert all MKV files -into WebM format. - -```sh -# Convert all MKV files into WebM format. -find ./ -name '*.mkv' -exec bash -c 'ffmpeg -i "$0" -vcodec libvpx -acodec libvorbis -cpu-used 5 -threads 8 "${0%%.mp4}.webm"' {} \; -``` - -```sh -# Convert all MKV files into MP4 format. -find ./ -name '*.mkv' -exec bash -c 'ffmpeg -i "$0" c:a copy -c:v copy -cpu-used 5 -threads 8 "${0%%.mp4}.mp4"' {} \; -``` - -- cgit v1.2.3