Hi,
Hello, I'd like to download a YouTube video with a Spanish audio track.
The video has an English track, and with automatic translation, the Spanish track is available.
With this code I can view all the data streams, but only the English language is displayed:
But on YouTube, I can see the Spanish audio using the "Automatic Translation" option.Code:yt-dlp --list-formats --allow-unplayable-formats LINK
Is it possible to download the Spanish audio stream?
The last time I used this program, I downloaded the audio and video separately with this code:
Code:yt-dlp -f 140-1 --allow-unplayable-formats LINK yt-dlp -f 137 --allow-unplayable-formats LINK
Is there any way to do it? Or is it better to use another program?
Thank you
+ Reply to Thread
Results 1 to 12 of 12
-
-
If you upload the YouTube link I can test to see what I can get.
One of these can list with the languages.
The first is what yt-dlp has stock.
yt-dlp -F LINK
You need to install the js-runtimes node to use this but many times this gets more results.
yt-dlp -F --js-runtimes node LINK
I have not tried --allow-unplayable-formats but I plan to see what it does. -
Thanks for the reply.
This might be a video: https://www.youtube.com/watch?v=uHseUigNZlw
I'm still only seeing the tracks in English, not the ones in Spanish.
I used the version from the link you provided: 2026.06.09
If you could tell me the exact command, I would be very grateful.
Thanks! -
Thanks for the reply.
This might be a video:
I'm still only seeing the tracks in English, not the ones in Spanish.Code:https://www.youtube.com/watch?v=uHseUigNZlw
I used the version from the link you provided: 2026.06.09
If you could tell me the exact command, I would be very grateful. Thanks! -
The video has at least 6 versions with Spanish language track:
("es-US" is in my eyes kind of strange though).Code:91-1 mp4 256x144 30 | ~ 9.14MiB 170k m3u8 | avc1.4D400C mp4a.40.5 [es-US] 92-1 mp4 426x240 30 | ~ 16.73MiB 310k m3u8 | avc1.4D4015 mp4a.40.5 [es-US] 93-1 mp4 640x360 30 | ~ 37.60MiB 698k m3u8 | avc1.4D401E mp4a.40.2 [es-US] 94-1 mp4 854x480 30 | ~ 55.48MiB 1030k m3u8 | avc1.4D401F mp4a.40.2 [es-US] 300-1 mp4 1280x720 60 | ~204.06MiB 3787k m3u8 | avc1.4D4020 mp4a.40.2 [es-US] 301-1 mp4 1920x1080 60 | ~356.45MiB 6615k m3u8 | avc1.64002A mp4a.40.2 [es-US]
-
Can you use just --js-runtimes in the code ?
I'm running the node version of --js-runtimes & I have to use --js-runtimes node .
Could you link me to the post ?
Before you use this code: I'm using the node version of --js-runtimes & I have to use --js-runtimes node.
The code you use may be as LZAA posted.
If you do not have any version of js-runtimes installed yt-dlp is not going to give you all the episodes in the list.
It may not be able to download some files.
You should see something like this in the command information: "[youtube] [jsc:node] Solving JS challenges using node" if js-runtimes node is installed.
The code I used:
Using LZAA type code:Code:yt-dlp -F --js-runtimes node https://www.youtube.com/watch?v=uHseUigNZlw
I found the exact versions OBO posted .Code:yt-dlp -F --js-runtimes https://www.youtube.com/watch?v=uHseUigNZlw
-
Thank you so much for the replies!
cmd.exe like admin
Code:C:\Users\XXX\Desktop>yt-dlp --js-runtimes xxx -F https://www.youtube.com/watch?v=uHseUigNZlw WARNING: Ignoring unsupported JavaScript runtime(s): xxx. Supported runtimes: deno, node, bun, quickjs. [youtube] Extracting URL: https://www.youtube.com/watch?v=uHseUigNZlw [youtube] uHseUigNZlw: Downloading webpage WARNING: [youtube] No supported JavaScript runtime could be found. Only deno is enabled by default; to use another runtime add --js-runtimes RUNTIME[:PATH] to your command/config. YouTube extraction without a JS runtime has been deprecated, and some formats may be missing. See https://github.com/yt-dlp/yt-dlp/wiki/EJS for details on installing one [youtube] uHseUigNZlw: Downloading android vr player API JSON [info] Available formats for uHseUigNZlw: ID EXT RESOLUTION FPS CH │ FILESIZE TBR PROTO │ VCODEC VBR ACODEC ABR ASR MORE INFO ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── sb2 mhtml 48x27 0 │ mhtml │ images storyboard sb1 mhtml 80x45 0 │ mhtml │ images storyboard sb0 mhtml 160x90 0 │ mhtml │ images storyboard 139 m4a audio only 2 │ 2.63MiB 49k https │ audio only mp4a.40.5 49k 22k [en-US] English (US) original (default), low, m4a_dash 249 webm audio only 2 │ 2.67MiB 50k https │ audio only opus 50k 48k [en-US] English (US) original (default), low, webm_dash 140 m4a audio only 2 │ 6.98MiB 129k https │ audio only mp4a.40.2 129k 44k [en-US] English (US) original (default), medium, m4a_dash 251 webm audio only 2 │ 7.38MiB 137k https │ audio only opus 137k 48k [en-US] English (US) original (default), medium, webm_dash 160 mp4 256x144 30 │ 3.93MiB 73k https │ avc1.4d400c 73k video only 144p, mp4_dash 278 webm 256x144 30 │ 3.95MiB 73k https │ vp9 73k video only 144p, webm_dash 394 mp4 256x144 30 │ 4.57MiB 85k https │ av01.0.00M.08 85k video only 144p, mp4_dash 133 mp4 426x240 30 │ 8.42MiB 156k https │ avc1.4d4015 156k video only 240p, mp4_dash 242 webm 426x240 30 │ 6.60MiB 122k https │ vp9 122k video only 240p, webm_dash 395 mp4 426x240 30 │ 8.75MiB 162k https │ av01.0.00M.08 162k video only 240p, mp4_dash 134 mp4 640x360 30 │ 15.70MiB 291k https │ avc1.4d401e 291k video only 360p, mp4_dash 18 mp4 640x360 30 2 │ 35.53MiB 659k https │ avc1.42001E mp4a.40.2 44k [en] 360p 243 webm 640x360 30 │ 16.74MiB 310k https │ vp9 310k video only 360p, webm_dash 396 mp4 640x360 30 │ 16.98MiB 315k https │ av01.0.01M.08 315k video only 360p, mp4_dash 135 mp4 854x480 30 │ 25.31MiB 469k https │ avc1.4d401f 469k video only 480p, mp4_dash 244 webm 854x480 30 │ 21.93MiB 407k https │ vp9 407k video only 480p, webm_dash 397 mp4 854x480 30 │ 26.68MiB 495k https │ av01.0.04M.08 495k video only 480p, mp4_dash 298 mp4 1280x720 60 │ 128.04MiB 2374k https │ avc1.4d4020 2374k video only 720p60, mp4_dash 302 webm 1280x720 60 │ 81.54MiB 1512k https │ vp9 1512k video only 720p60, webm_dash 398 mp4 1280x720 60 │ 71.53MiB 1326k https │ av01.0.08M.08 1326k video only 720p60, mp4_dash 299 mp4 1920x1080 60 │ 263.31MiB 4883k https │ avc1.64002a 4883k video only 1080p60, mp4_dash 303 webm 1920x1080 60 │ 159.97MiB 2966k https │ vp9 2966k video only 1080p60, webm_dash 399 mp4 1920x1080 60 │ 113.99MiB 2114k https │ av01.0.09M.08 2114k video only 1080p60, mp4_dash
yt-dlp.exe 2026.06.09 (June 9, 2026) from here Win-64b: https://www.videohelp.com/software/yt-dlpCode:C:\Users\XXXX\Desktop> yt-dlp -F --js-runtimes node https://www.youtube.com/watch?v=uHseUigNZlw [youtube] Extracting URL: https://www.youtube.com/watch?v=uHseUigNZlw [youtube] uHseUigNZlw: Downloading webpage WARNING: [youtube] No supported JavaScript runtime could be found. Only deno is enabled by default; to use another runtime add --js-runtimes RUNTIME[:PATH] to your command/config. YouTube extraction without a JS runtime has been deprecated, and some formats may be missing. See https://github.com/yt-dlp/yt-dlp/wiki/EJS for details on installing one [youtube] uHseUigNZlw: Downloading android vr player API JSON [info] Available formats for uHseUigNZlw: ID EXT RESOLUTION FPS CH │ FILESIZE TBR PROTO │ VCODEC VBR ACODEC ABR ASR MORE INFO ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── sb2 mhtml 48x27 0 │ mhtml │ images storyboard sb1 mhtml 80x45 0 │ mhtml │ images storyboard sb0 mhtml 160x90 0 │ mhtml │ images storyboard 139 m4a audio only 2 │ 2.63MiB 49k https │ audio only mp4a.40.5 49k 22k [en-US] English (US) original (default), low, m4a_dash 249 webm audio only 2 │ 2.67MiB 50k https │ audio only opus 50k 48k [en-US] English (US) original (default), low, webm_dash 140 m4a audio only 2 │ 6.98MiB 129k https │ audio only mp4a.40.2 129k 44k [en-US] English (US) original (default), medium, m4a_dash 251 webm audio only 2 │ 7.38MiB 137k https │ audio only opus 137k 48k [en-US] English (US) original (default), medium, webm_dash 160 mp4 256x144 30 │ 3.93MiB 73k https │ avc1.4d400c 73k video only 144p, mp4_dash 278 webm 256x144 30 │ 3.95MiB 73k https │ vp9 73k video only 144p, webm_dash 394 mp4 256x144 30 │ 4.57MiB 85k https │ av01.0.00M.08 85k video only 144p, mp4_dash 133 mp4 426x240 30 │ 8.42MiB 156k https │ avc1.4d4015 156k video only 240p, mp4_dash 242 webm 426x240 30 │ 6.60MiB 122k https │ vp9 122k video only 240p, webm_dash 395 mp4 426x240 30 │ 8.75MiB 162k https │ av01.0.00M.08 162k video only 240p, mp4_dash 134 mp4 640x360 30 │ 15.70MiB 291k https │ avc1.4d401e 291k video only 360p, mp4_dash 18 mp4 640x360 30 2 │ 35.53MiB 659k https │ avc1.42001E mp4a.40.2 44k [en] 360p 243 webm 640x360 30 │ 16.74MiB 310k https │ vp9 310k video only 360p, webm_dash 396 mp4 640x360 30 │ 16.98MiB 315k https │ av01.0.01M.08 315k video only 360p, mp4_dash 135 mp4 854x480 30 │ 25.31MiB 469k https │ avc1.4d401f 469k video only 480p, mp4_dash 244 webm 854x480 30 │ 21.93MiB 407k https │ vp9 407k video only 480p, webm_dash 397 mp4 854x480 30 │ 26.68MiB 495k https │ av01.0.04M.08 495k video only 480p, mp4_dash 298 mp4 1280x720 60 │ 128.04MiB 2374k https │ avc1.4d4020 2374k video only 720p60, mp4_dash 302 webm 1280x720 60 │ 81.54MiB 1512k https │ vp9 1512k video only 720p60, webm_dash 398 mp4 1280x720 60 │ 71.53MiB 1326k https │ av01.0.08M.08 1326k video only 720p60, mp4_dash 299 mp4 1920x1080 60 │ 263.31MiB 4883k https │ avc1.64002a 4883k video only 1080p60, mp4_dash 303 webm 1920x1080 60 │ 159.97MiB 2966k https │ vp9 2966k video only 1080p60, webm_dash 399 mp4 1920x1080 60 │ 113.99MiB 2114k https │ av01.0.09M.08 2114k video only 1080p60, mp4_dash
https://www.videohelp.com/download/yt-dlp.exe
¿How do I install JavaScript runtime?
¿Are you referring to this? https://www.java.com/es/download/Last edited by cronos111; 23rd Jun 2026 at 03:39.
-
Just install Deno like suggested in their docs; if yt-dlp can find it in the PATH it will be used automatically.
https://docs.deno.com/runtime/getting_started/installation/ -
The js-runtime also depends on the Windows OS you are using.
What OS are you using ?
I'm using windows 7 32-bit so I require the node version.
From the link Obo posted:
If your OS falls in this category then use Deno.NOTE: Deno requires Windows 10 version 1709, or Windows Server 2016 version 1709 and up
If it doesn't I will find the link for node.
Similar Threads
-
QVC+ Video Download with yt-dlp
By takistexas in forum Video Streaming DownloadingReplies: 2Last Post: 26th Sep 2023, 08:05 -
Please help for download encryted mpd video using yt-dlp
By julianshew in forum Video Streaming DownloadingReplies: 6Last Post: 7th Sep 2023, 08:33 -
QVC+ Video Download with yt-dlp
By takistexas in forum Video Streaming DownloadingReplies: 3Last Post: 30th Jul 2023, 09:19 -
using yt-dlp to download part of a video
By oduodui in forum Video Streaming DownloadingReplies: 2Last Post: 29th Mar 2023, 10:47 -
yt-dlp - download segmented video?
By ampersand in forum Video Streaming DownloadingReplies: 32Last Post: 26th Dec 2022, 05:57


Quote
