1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-06-27 08:58:30 +00:00

README.md: Youtube: add DRC audio format selection example

Example from: https://github.com/yt-dlp/yt-dlp/issues/8259#issuecomment-1742293864
This commit is contained in:
Vadim (vadcx) 2025-05-15 15:42:49 +02:00 committed by GitHub
parent 586b557b12
commit e5acc63c2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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