From 77d9689c8bb70b72e7acfd7a3d4fd872c7dbcaf0 Mon Sep 17 00:00:00 2001 From: patk Date: Tue, 6 Oct 2026 09:34:04 -0500 Subject: [PATCH] added 2026-10-06 09:33:19 --- README.md | 2 +- convert-mkv-to-mp4-with-ffmpeg-at-higher-quality.md | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 convert-mkv-to-mp4-with-ffmpeg-at-higher-quality.md diff --git a/README.md b/README.md index a8ba03e..bf511e4 100644 --- a/README.md +++ b/README.md @@ -3,4 +3,4 @@ - [Convert MKV to MP4 with ffmpeg on Linux](/convert-mkv-to-mp4-with-ffmpeg-on-linux.md) - [Gitea Create Repo API: Curl POST](/gitea-create-repo-api-curl-post.md) - [Mount LUKS drive to Windows Subsystem for Linux Bare](/mount-luks-drive-to-windwos-subsystem-for-linux-bare.md) - +- [Convert .mkv to .mp4 with FFMPEG at higher quality](/convert-mkv-to-mp4-with-ffmpeg-at-higher-quality.md) diff --git a/convert-mkv-to-mp4-with-ffmpeg-at-higher-quality.md b/convert-mkv-to-mp4-with-ffmpeg-at-higher-quality.md new file mode 100644 index 0000000..fcc1335 --- /dev/null +++ b/convert-mkv-to-mp4-with-ffmpeg-at-higher-quality.md @@ -0,0 +1,9 @@ +# Convert .mkv to .mp4 with FFMPEG at higher quality + +```bash +ffmpeg -i "$1" -map 0:v:0 -map 0:a:0? \ + -c:v libx264 -preset slow -crf 18 \ + -c:a aac -b:a 256k \ + -movflags +faststart \ + $2 +```