📢 This article was translated by gemini-3-flash-preview
Introduction
Since we’ve already covered the Windows command line, we can’t skip Linux.
Windows article: Downloading YouTube videos via Command Line
Download yt-dlp
I recommend setting up a Python environment first, then heading to Releases · yt-dlp/yt-dlp · GitHub to download yt-dlp. If you don’t want to deal with Python, just download the yt-dlp_linux binary.
After downloading, grant it execution permissions and move it to /usr/local/bin/.
Download ffmpeg
Refer to the official site: Download FFmpeg
On Fedora, use the following command:
| |
Configuration File
Switch to the configuration directory:
| |
Create the folder and enter it:
| |
Create the configuration file:
| |
Here is my configuration:
| |
Breakdown:
| |
References
Batch converting video formats with ffmpeg (Wait, do I really need to link my own article?)