spotifydl-core
spotifydl-core copied to clipboard
cannot find ffmpeg error
Trying to download a track or podcast from Spotify using spotifydl-core via pipedream but keep on getting an error: "Cannot find ffmpeg"
What can I do? Also why does it actually need the ffmpeg package in the first place? Is it downloading the track/episode from youtube?
Looks like by setting a path to ffmpeg you can avoid above problem...
import ffmpeg from "fluent-ffmpeg"; import ffmpegInstaller from "@ffmpeg-installer/ffmpeg"; ffmpeg.setFfmpegPath(ffmpegInstaller.path, {timeout: 60000});
in ubuntu
sudo apt-get install ffmpeg
in windows with chocolately
choco install ffmpeg
ffmpeg not in package node, ffmpeg in Operating System (OS).