spotify-downloader: "FFmpegError: Failed to convert..." Error on downloading with --output flag
System OS
Termux (Android)
Python Version
3.12 (CPython)
Install Source
pip / PyPi
Install version / commit hash
4.2.11
Expected Behavior vs Actual Behavior
Expected - Songs from the playlist are downloaded to the specificed location.
Actual - Using the --output flag throws error
Steps to reproduce - Ensure to include actual links!
- Download all required dependencies
- Install spotdl on termux using pip
- Execute this command - spotdl download https://open.spotify.com/playlist/0ckGVCa6itvpuzD2zoJ7fI --output “/storage/emulated/0/music/music2/” --ffmpeg “/data/data/com.termux/files/home/.spotdl/ffmpeg”
Traceback
~ $ spotdl download https://open.spotify.com/playlist/0ckGVCa6itvpuzD2zoJ7fI --output "/storage/emulated/0/music/music2/" --ffmpeg "/data/data/com.termux/files/home/.spotdl/ffmpeg"
Processing query:
https://open.spotify.com/playlist/0ckGVCa6itvpuzD2zoJ7fI
Skipping track: None local tracks and track are not supported
Skipping track: None local tracks and track are not supported
Skipping track: None local tracks and track are not supported
Skipping track: None local tracks and track are not supported
Found 59 songs in Music (Playlist)
FFmpegError: Failed to convert Kubbi - Pathfinder, you can find
error here:
/data/data/com.termux/files/home/.spotdl/errors/ffmpeg_error_2025-
01-26-22-10-44.txt
FFmpegError: Failed to convert Kubbi - Formed By Glaciers, you can
find error here:
/data/data/com.termux/files/home/.spotdl/errors/ffmpeg_error_2025-
01-26-22-11-06.txt
Other details
- Phones is rooted
- Downloading without the --output flag, downloads the playlist perfectly without any error
- FFMPEG Crash Log - ffmpeg_error_2025-01-26-22-11-06.txt
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 16 (7 by maintainers)
Fixed it by running it with sudo
You shouldn’t need to specify an ffmpeg path if installed with spotDL. Also I’m not sure if what you were specifying was the ffmpeg binary (executable) or not.
When you run
--log-level DEBUG, the debug logging items are printed to STDOUT (i.e. printed in your command line). You should simply copy and paste the traceback, which should be significantly larger.The FFmpeg crash log doesn’t have any info for some reason.