youtube download: yt-dlp
github.com/yt-dlp
https://github.com/yt-dlp/yt-dlp?tab=readme-ov-file#release-files
(windows) release ....
yt-dlp.exe
D:\software> dir yt-dlp.exe
17/04/2025 17:05 18 136 476 yt-dlp.exe 17Mo
github.com/yt-dlp
https://github.com/yt-dlp/yt-dlp?tab=readme-ov-file#release-files
(windows) release ....
yt-dlp.exe
D:\software> dir yt-dlp.exe
17/04/2025 17:05 18 136 476 yt-dlp.exe 17Mo
D:\software> yt-dlp -F --list-formats https://www.youtube.com/watch?v=MafuKLpCLdQ
[youtube] Extracting URL: https://www.youtube.com/watch?v=MafuKLpCLdQ [info] Available formats for MafuKLpCLdQ: ID EXT RESOLUTION FPS HDR CH ¦ FILESIZE TBR PROTO ¦ VCODEC VBR ACODEC ABR ASR MORE INFO ----------------------------------------------------------------------------------------------------------------------- sb3 mhtml 48x27 3 ¦ mhtml ¦ images storyboard sb2 mhtml 80x45 1 ¦ mhtml ¦ images storyboard sb1 mhtml 160x90 1 ¦ mhtml ¦ images storyboard sb0 mhtml 320x180 1 ¦ mhtml ¦ images storyboard 233 mp4 audio only ¦ m3u8 ¦ audio only unknown Default, low 234 mp4 audio only ¦ m3u8 ¦ audio only unknown Default, high 140 m4a audio only 2 ¦ 516.87KiB 130k https ¦ audio only mp4a.40.2 130k 44k medium, m4a_dash 251 webm audio only 2 ¦ 451.93KiB 113k https ¦ audio only opus 113k 48k medium, webm_dash 269 mp4 256x144 30 ¦ ~797.18KiB 198k m3u8 ¦ avc1.4D400C 198k video only 160 mp4 256x144 30 ¦ 522.95KiB 131k https ¦ avc1.4d400c 131k video only 144p, mp4_dash 603 mp4 256x144 30 ¦ ~739.75KiB 184k m3u8 ¦ vp09.00.11.08 184k video only 278 webm 256x144 30 ¦ 429.56KiB 108k https ¦ vp9 108k video only 144p, webm_dash 631 mp4 256x144 30 10 ¦ ~848.61KiB 211k m3u8 ¦ vp09.02.11.10 211k video only 330 webm 256x144 30 10 ¦ 567.52KiB 143k https ¦ vp9.2 143k video only 144p HDR, webm_dash ...
explorer.exe = une éternité pour trouver ffmplay.exe
C:\Program Files\TEncoder Video Converter\FFMpeg
ffplay.exe
ffprobe.exe 2015
... pas plus recent ?
avec Ubuntu...........
be4@indy3:/mnt/c/program files$ find . -name "ffmpeg.exe" -print
./net.downloadhelper.coapp/converter/build/win/64/ffmpeg.exe
./TEncoder Video Converter/FFMpeg/ffmpeg.exe
be4@indy3:/mnt/c/program files/net.downloadhelper.coapp/converter/build/win/64$ ll *exe
C:\Program Files\TEncoder Video Converter\FFMpeg
ffplay.exe
ffprobe.exe 2015
... pas plus recent ?
avec Ubuntu...........
be4@indy3:/mnt/c/program files$ find . -name "ffmpeg.exe" -print
./net.downloadhelper.coapp/converter/build/win/64/ffmpeg.exe
./TEncoder Video Converter/FFMpeg/ffmpeg.exe
be4@indy3:/mnt/c/program files/net.downloadhelper.coapp/converter/build/win/64$ ll *exe
-r-xr-xr-x 1 be4 be4 304328 Jul 4 2018 ffmpeg.exe* -r-xr-xr-x 1 be4 be4 160456 Jul 4 2018 ffplay.exe* -r-xr-xr-x 1 be4 be4 177352 Jul 4 2018 ffprobe.exe*
D:\software> yt-dlp -x https://www.youtube.com/watch?v=MafuKLpCLdQ
D:\software> yt-dlp.exe -help
Usage: yt-dlp.exe [OPTIONS] URL [URL...]
Options:
General Options:
--ffmpeg-location PATH Location of the ffmpeg binary; either the path to the binary or its containing directory
....
D:\software> yt-dlp.exe --ffmpeg-location "c:/program files/net.downloadhelper.coapp/converter/build/win/64" https://www.youtube.com/watch?v=MafuKLpCLdQ
Répertoire de D:\software
13/04/2025 09:14 462 779 chevreuil (04?2025) [MafuKLpCLdQ].webm
test 2: les chamois (5mn20)
yt-dlp.exe --ffmpeg-location "c:/program files/net.downloadhelper.coapp/converter/build/win/64" https://www.youtube.com/watch?v=IdAfJaA81vg
D:\software> yt-dlp.exe --ffmpeg-location "c:/program files/net.downloadhelper.coapp/converter/build/win/64" https://www.youtube.com/watch?v=IdAfJaA81vg
09/04/2025 11:06 165 390 236 chamois vers le Hohneck (04?2025) [IdAfJaA81vg].webm
13/04/2025 09:14 462 779 chevreuil (04?2025) [MafuKLpCLdQ].webm
c'est quoi ces dates??
couleurs horribles!!
... [download] Destination: chevreuil (04?2025) [MafuKLpCLdQ].webm [download] 100% of 451.93KiB in 00:00:00 at 806.10KiB/s ERROR: Postprocessing: ffprobe and ffmpeg not found. Please install or provide the path using --ffmpeg-location
D:\software> yt-dlp.exe -help
Usage: yt-dlp.exe [OPTIONS] URL [URL...]
Options:
General Options:
--ffmpeg-location PATH Location of the ffmpeg binary; either the path to the binary or its containing directory
....
D:\software> yt-dlp.exe --ffmpeg-location "c:/program files/net.downloadhelper.coapp/converter/build/win/64" https://www.youtube.com/watch?v=MafuKLpCLdQ
Répertoire de D:\software
13/04/2025 09:14 462 779 chevreuil (04?2025) [MafuKLpCLdQ].webm
test 2: les chamois (5mn20)
yt-dlp.exe --ffmpeg-location "c:/program files/net.downloadhelper.coapp/converter/build/win/64" https://www.youtube.com/watch?v=IdAfJaA81vg
D:\software> yt-dlp.exe --ffmpeg-location "c:/program files/net.downloadhelper.coapp/converter/build/win/64" https://www.youtube.com/watch?v=IdAfJaA81vg
D:\software> dir *webm[youtube] Extracting URL: https://www.youtube.com/watch?v=IdAfJaA81vg [youtube] IdAfJaA81vg: Downloading webpage [youtube] IdAfJaA81vg: Downloading tv client config [youtube] IdAfJaA81vg: Downloading player 236fc64d-main [youtube] IdAfJaA81vg: Downloading tv player API JSON [youtube] IdAfJaA81vg: Downloading ios player API JSON [youtube] IdAfJaA81vg: Downloading m3u8 information [info] IdAfJaA81vg: Downloading 1 format(s): 335+251 [download] Destination: chamois vers le Hohneck (04?2025) [IdAfJaA81vg].f335.webm [download] 100% of 153.13MiB in 00:00:36 at 4.15MiB/s [download] Destination: chamois vers le Hohneck (04?2025) [IdAfJaA81vg].f251.webm [download] 100% of 4.59MiB in 00:00:01 at 3.51MiB/s [Merger] Merging formats into "chamois vers le Hohneck (04?2025) [IdAfJaA81vg].webm" Deleting original file chamois vers le Hohneck (04?2025) [IdAfJaA81vg].f335.webm (pass -k to keep) Deleting original file chamois vers le Hohneck (04?2025) [IdAfJaA81vg].f251.webm (pass -k to keep)
09/04/2025 11:06 165 390 236 chamois vers le Hohneck (04?2025) [IdAfJaA81vg].webm
13/04/2025 09:14 462 779 chevreuil (04?2025) [MafuKLpCLdQ].webm
c'est quoi ces dates??
couleurs horribles!!
via "audacity" ... export audio ok .mp3 4.89Mo
info "DWB"
# yt-dlp -x --audio-format mp3 https://www.youtube.com/xxxxxx
start "cmd"
D:\software> yt-dlp -x --audio-format mp3 --ffmpeg-location "c:/program files/net.downloadhelper.coapp/converter/build/win/64" https://www.youtube.com/watch?v=IdAfJaA81vg
info "DWB"
# yt-dlp -x --audio-format mp3 https://www.youtube.com/xxxxxx
start "cmd"
D:\software> yt-dlp -x --audio-format mp3 --ffmpeg-location "c:/program files/net.downloadhelper.coapp/converter/build/win/64" https://www.youtube.com/watch?v=IdAfJaA81vg
[youtube] Extracting URL: https://www.youtube.com/watch?v=IdAfJaA81vg [youtube] IdAfJaA81vg: Downloading webpage [youtube] IdAfJaA81vg: Downloading tv client config [youtube] IdAfJaA81vg: Downloading player 9a279502-main [youtube] IdAfJaA81vg: Downloading tv player API JSON [youtube] IdAfJaA81vg: Downloading ios player API JSON [youtube] IdAfJaA81vg: Downloading m3u8 information [info] IdAfJaA81vg: Downloading 1 format(s): 251 [download] chamois vers le Hohneck (04⧸2025) [IdAfJaA81vg].webm has already been downloaded [download] 100% of 4.59MiB [ExtractAudio] Destination: chamois vers le Hohneck (04⧸2025) [IdAfJaA81vg].mp3 Deleting original file chamois vers le Hohneck (04⧸2025) [IdAfJaA81vg].webm (pass -k to keep)