Kanji
・Cloud engineer / freelance ・Born in 1993 ・From Ehime / Living in Shibuya, Tokyo ・5 years AWS experience Profile details
Table of Contents
-f wa
-x --audio-format m4a
I wrote this article in April 2025. When I re-ran the commands in November 2026, yt-dlp printed a warning because YouTube changed its requirements. I also found that the -f wa I used in the original is not “highest quality” but worst audio, and that my PATH instructions were wrong. I re-checked all of this on my own machine and rewrote the relevant sections. The CloudBeats screenshots are from April 2025 and I have not retaken them.
yt-dlp
.m4a
.mp3
youtube-dl
yt-dlp[default]
[default]
--js-runtimes node
-x
python3 -m venv ~/.venvs/yt-dlp ~/.venvs/yt-dlp/bin/pip install -U "yt-dlp[default]" mkdir -p ~/.local/bin ln -s ~/.venvs/yt-dlp/bin/yt-dlp ~/.local/bin/yt-dlp # ~/.local/bin を PATH に入れておく
pip show yt-dlp
bin/
mkdir -p ~/.config/yt-dlp echo '--js-runtimes node' >> ~/.config/yt-dlp/config
Signature extraction failed
https://www.youtube.com/watch?v=aqz-KE-bpKQ
cd ~/Downloads yt-dlp --js-runtimes node -x --audio-format m4a "https://www.youtube.com/watch?v=aqz-KE-bpKQ"
--audio-format m4a
[youtube] [jsc:node] Solving JS challenges using node [info] aqz-KE-bpKQ: Downloading 1 format(s): 258 [download] 100% of 29.34MiB in 00:00:01 at 19.83MiB/s [FixupM4a] Correcting container of "Big Buck Bunny 60fps 4K - Official Blender Foundation Short Film.m4a" [ExtractAudio] Not converting audio ...; file is already in target format m4a
233
Default, low
[youtube] aqz-KE-bpKQ: 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 [info] aqz-KE-bpKQ: Downloading 1 format(s): 233
-F
Music/YouTube
···
⬇︎
Master conversation skills with realistic AI phone training and 5-axis feedback. Includes 16-lesson interactive academy and studio AI portraits.
Effortlessly snap receipts for instant AI itemization. Integrated with LINE for seamless group expense tracking and pain-free settlement.
Interactive AI personas (Fortune Teller, Butler, Bartender) host real-time games, challenges, and conversation starters for unforgettable gatherings.
Real-time AI quant analysis of earnings reports, corporate filings, and momentum indicators for global equities and Japanese stocks.
Unbiased healthcare database featuring zero-additive filters and active ingredient cost performance metrics.