Requirements: yt-dlp and ffmpeg. On command prompt/terminal: Get youtube details and audio only code. yt-dlp -F https://www.youtube.com/watch?v=Hibkm14x4k0 Use code, for example replace number 139 below. yt-dlp -f 139 -o - https://www.youtube.com/watch?v=Hibkm14x4k0 | ffplay -i -