Show HN: M2M – A bash tool to convert YouTube videos to audio with yt-dlp&FFmpeg

1 qwertySaffron 2 5/27/2025, 5:49:43 PM github.com ↗
This is my first bash tool! It's called m2m (media to media), and it's a tiny script that downloads videos using yt-dlp and converts them to any supported format via ffmpeg.

Comments (2)

miles · 35d ago
Rather than downloading an entire video, converting it to audio, then automatically deleting the video, why not download just the audio to begin with (e.g., `yt-dlp -f 140 <URL>`)?
1317 · 27d ago
or yt-dlp -x URL

which will get just-audio if it's there, or get merged vid+audio and extract the audio automatically otherwise