spotify-downloader: FFmpegError when FFmpeg is installed

System OS

Linux

Python Version

3.11 (CPython)

Install Source

GitHub

Install version / commit hash

v4.2.8 (866dadd)

Expected Behavior vs Actual Behavior

No response

Steps to reproduce - Ensure to include actual links!

  1. Download a song. I’ll be using California Gurls as an example.
$ spotdl download https://open.spotify.com/track/6tS3XVuOyu10897O3ae7bi?si=145ab15f1bdb45c2

Traceback

Processing query: https://open.spotify.com/track/6tS3XVuOyu10897O3ae7bi?si=145ab15f1bdb45c2
FFmpegError: Failed to convert Katy Perry - California Gurls, you can find error here: /home/a260/.spotdl/errors/ffmpeg_error_2024-11-07-12-03-56.txt

Other details

OS: Manjaro Linux 6.10.13-3-MANJARO Python version: 3.12(NOT 3.11) Download source: GitHub binary(the AUR package didnt work for me)

I’ve tried to use spotdl --download-ffmpeg but that resulted in the same error. Removing spotdl’s ffmpeg and then forcing it to use the system one also results in the same error. The log provided is produced by using the system-wide one.

FFMPEG Logs

### return_code:
1

### arguments:
['-nostdin', '-y', '-i', '/home/a260/.spotdl/temp/NFODb2JRXBI.webm', '-movflags', '+faststart', '-v', 'debug', '-progress', '-', '-nostats', '-codec:a', 'libmp3lame', '-b:a', '123k', '/home/a260/Katy Perry, Snoop Dogg - California Gurls.mp3']

### ffmpeg:
ffmpeg

### version:
None

### build_year:
None

### error:
ffmpeg: /tmp/_MEIoP5N7i/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /usr/lib/librubberband.so.2)
ffmpeg: /tmp/_MEIoP5N7i/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /usr/lib/libopenmpt.so.0)
ffmpeg: /tmp/_MEIoP5N7i/libstdc++.so.6: version `CXXABI_1.3.15' not found (required by /usr/lib/libvapoursynth-script.so.0)
ffmpeg: /tmp/_MEIoP5N7i/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /usr/lib/libsrt.so.1.5)
ffmpeg: /tmp/_MEIoP5N7i/libstdc++.so.6: version `CXXABI_1.3.15' not found (required by /usr/lib/libsrt.so.1.5)
ffmpeg: /tmp/_MEIoP5N7i/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /usr/lib/libx265.so.209)
ffmpeg: /tmp/_MEIoP5N7i/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /usr/lib/libshaderc_shared.so.1)
ffmpeg: /tmp/_MEIoP5N7i/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /usr/lib/libSPIRV.so.14)
ffmpeg: /tmp/_MEIoP5N7i/libgcc_s.so.1: version `GCC_13.0.0' not found (required by /usr/lib/libhwy.so.1)
ffmpeg: /tmp/_MEIoP5N7i/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /usr/lib/libglslang.so.14)
ffmpeg: /tmp/_MEIoP5N7i/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /usr/lib/libSPIRV-Tools.so)
ffmpeg: /tmp/_MEIoP5N7i/libstdc++.so.6: version `GLIBCXX_3.4.32' not found (required by /usr/lib/libSPIRV-Tools-opt.so)

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 18 (5 by maintainers)

Most upvoted comments

Telling spotdl to use its own copy of ffmpeg

can you tell more about how you did that?

Once you run the download ffmpeg command its under ~/.spotdl. Go into your config file and type the absolute path to that binary (i.e. /home/xxx/.spotdl/ffmpeg) in the ffmpeg field.