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 +```