
yt-dlp not downloading video+audio combination for merging
hey there
if i try to download a vide using the following command:
yt-dlp --cookies-from-browser firefox -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]' --merge-output-format mp4 https://www.youtube.com/watch?v=Ml2t8uxPAQU
I get the following error:
Extracting cookies from firefox
Extracted 2157 cookies from firefox
[youtube] Extracting URL: https://www.youtube.com/watch?v=Ml2t8uxPAQU
[youtube] Ml2t8uxPAQU: Downloading webpage
[youtube] Ml2t8uxPAQU: Downloading tv downgraded player API JSON
[youtube] Ml2t8uxPAQU: Downloading player c74cbcd6-main
[youtube] [jsc:deno] Solving JS challenges using deno
[youtube] Ml2t8uxPAQU: Downloading m3u8 information
ERROR: [youtube] Ml2t8uxPAQU: Requested format is not available. Use --list-formats for a list of available formats
But yt-dlp will download the video and audio if i download them as separate commands:
yt-dlp --cookies-from-browser firefox -f bestvideo[ext=mp4] https://www.youtube.com/watch?v=Ml2t8uxPAQU
yt-dlp --cookies-from-browser firefox -f bestaudio[ext=m4a] https://www.youtube.com/watch?v=Ml2t8uxPAQU
Anyone got any idea why this happens?