-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"FFmpegError: Failed to convert..." Error on downloading with --output flag #2287
Comments
Could you please re-run your command but append |
Also where is your ffmpeg installed to? How did you install it? It is an executable binary? |
I installed ffmpeg using the spotdl --download-ffmpeg command. So in the --output flag, i just set the location as /data/data/com.termux/files/home/.spotdl/ffmpeg |
I appended the command, but there’s no debug log in the spotdl directory. The only logs I see are FFmpeg error logs. Where can I find the debug logs? Sorry if this is a silly question. |
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 The FFmpeg crash log doesn't have any info for some reason. |
|
[18:18:21] DEBUG MainThread - FFmpeg path: downloader.py:147 Looks like ffmpeg is on your PATH already. Remove this if you want to use spotDL's. Or, update this one. |
I removed it. But the error persists
|
Can you upload |
|
So weird that there is still no error. I can't seem to find error code -31 either.. FFmpeg is only available for the following OS distros. Can you try install your own for your device?
|
Does the folder you're trying to download to exist already? |
I don't know which one to install. I'm on Android. |
Yes. But I've already tried without creating the folder. Then I get a different error.
|
I've already mentioned this before, but I don't have any problems whatsoever when not using the --output flag. The errors start showing as soon as I use the --output flag to specify a path. |
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!
Traceback
Other details
ffmpeg_error_2025-01-26-22-11-06.txt
The text was updated successfully, but these errors were encountered: