Yt-dlp: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 6: Line 6:


[[File:yt-dlp.png]]
[[File:yt-dlp.png]]
=Usage=
*To download mp3 -
*yt-dlp [OPTIONS] [--] URL [URL...]
-x, --extract-audio            Convert video files to audio-only files
                                (requires ffmpeg and ffprobe)
--audio-format FORMAT          Format to convert the audio to when -x is
                                used. (currently supported: best (default),
                                aac, alac, flac, m4a, mp3, opus, vorbis,
                                wav). You can specify multiple rules using
                                similar syntax as --remux-video
Thus:
*yt-dlp -x --audio-format mp3 https://www.youtube.com/watch?v=videonumber

Latest revision as of 21:44, 6 August 2024

YouTube downloader.

Download on Linux - [1]

How to use:

Yt-dlp.png

Usage

  • To download mp3 -
  • yt-dlp [OPTIONS] [--] URL [URL...]

-x, --extract-audio Convert video files to audio-only files

                               (requires ffmpeg and ffprobe)

--audio-format FORMAT Format to convert the audio to when -x is

                               used. (currently supported: best (default),
                               aac, alac, flac, m4a, mp3, opus, vorbis,
                               wav). You can specify multiple rules using
                               similar syntax as --remux-video

Thus: