Hacker News new | ask | show | jobs
by icebraining 2676 days ago
Unless you need to convert the audio format, I don't think you need ffmpeg at all - youtube-dl can just download the audio stream and save it to a file. Just list the available formats from a video and choose an audio-only format.
3 comments

Also, IIRC youtube-dl will automatically re-encode it using ffmpeg if you pick an unavailable format!
Insome cases youtube-dl downloads the content via ffmpeg, see [1]

[1] https://github.com/ytdl-org/youtube-dl/blob/c3bcd206eb031de3...

will try thank you