From e5acc63c2eb85f965dcd58bc1b16065421ee8856 Mon Sep 17 00:00:00 2001 From: "Vadim (vadcx)" <129969897+vadcx@users.noreply.github.com> Date: Thu, 15 May 2025 15:42:49 +0200 Subject: [PATCH] README.md: Youtube: add DRC audio format selection example Example from: https://github.com/yt-dlp/yt-dlp/issues/8259#issuecomment-1742293864 --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a87b52832..209f9849c 100644 --- a/README.md +++ b/README.md @@ -1688,7 +1688,12 @@ # Download the best video with worst codec no worse than h264, # or the best video with best codec if there is no such video $ yt-dlp -S "+codec:h264" - +# Youtube added Dynamic Range Compression (DRC aka "Stable Volume") +# as a separate audio track. To avoid these altered tracks, you must +# exclude audio format IDs which end with "-drc": "251-drc" vs "251". +# Download audio only that's not .mp4 and does not end in "-drc": +# Note, you must use single-quotes in POSIX shell due to special characters. +$ yt-dlp -f 'bestaudio[ext!=mp4][format_id!$=-drc]' # More complex examples