From 9bd9afa6bdfd5a008887b689e8da1427d2b14c3d Mon Sep 17 00:00:00 2001 From: Miro Rauhala <4082806+mirorauhala@users.noreply.github.com> Date: Sun, 26 Jan 2020 14:53:12 +0200 Subject: [PATCH] youtube-dl: add download the best audio+video (#3790) * youtube-dl: add download the best audio+video With this command the user can download the best audio and video separately. After it's done downloading, it will spawn ffmpeg to merge the two files together. Handy when downloading stuff from youtube as they host video and audio separate. * youtube-dl: removed braces --- pages/common/youtube-dl.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/youtube-dl.md b/pages/common/youtube-dl.md index b34083a5b..76e82a421 100644 --- a/pages/common/youtube-dl.md +++ b/pages/common/youtube-dl.md @@ -19,6 +19,10 @@ `youtube-dl -x --audio-format {{mp3}} {{url}}` +- Download the best quality audio and video and merge them: + +`youtube-dl -f bestvideo+bestaudio {{url}}` + - Download video(s) as MP4 files with custom filenames: `youtube-dl --format {{mp4}} -o {{"%(title)s by %(uploader)s on %(upload_date)s in %(playlist)s.%(ext)s"}} {{url}}`