mirror of https://github.com/CrimsonTome/tldr.git
yt-dlp: refresh page (#9852)
parent
02830dbd90
commit
931ba2f79c
|
@ -8,19 +8,19 @@
|
|||
|
||||
`yt-dlp "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"`
|
||||
|
||||
- List the available downloadable formats for a video:
|
||||
|
||||
`yt-dlp --list-formats "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"`
|
||||
|
||||
- Download a video with a defined format, in this case the best mp4 video available (default is "bv\*+ba/b"):
|
||||
|
||||
`yt-dlp --format "{{bv*[ext=mp4]+ba[ext=m4a]/b[ext=mp4]}}" "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"`
|
||||
|
||||
- Extract audio from videos (required ffmpeg or ffprobe):
|
||||
- Extract audio from a video (requires ffmpeg or ffprobe):
|
||||
|
||||
`yt-dlp --extract-audio "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"`
|
||||
|
||||
- Specify audio format of extracted audio (the default is "best"):
|
||||
|
||||
`yt-dlp --extract-audio --audio-format {{mp3}} "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"`
|
||||
|
||||
- Specify audio quality of extracted audio (between 0 (best) and 10 (worst), default = 5):
|
||||
- Specify audio format and audio quality of extracted audio (between 0 (best) and 10 (worst), default = 5):
|
||||
|
||||
`yt-dlp --extract-audio --audio-format {{mp3}} --audio-quality {{0}} "{{https://www.youtube.com/watch?v=oHg5SJYRHA0}}"`
|
||||
|
||||
|
|
Loading…
Reference in New Issue