Closed jhuldtgren closed 2 years ago
That's interesting! It looks like you're using the default "command" backend, which is meant for tools like mp3gain
. There is also a separate ffmpeg backend, which you enable with backend: ffmpeg
. Is there a chance that's what you were intending to do?
You are correct, I had missed that command was only for mp3gain, using backend: ffmpeg works. I will note though that trying to provide the full path to ffmpeg (since I had to do so for mp3gain when I was using that I assumed I'd need to for ffmpeg too) will fail. Now in my case it found ffmpeg so it still works, but wondering if it should allow full path to the tools?
$ beet -vv replaygain -aW id:4360
user configuration: /home/johan/.config/beets/config.yaml
data directory: /home/johan/.config/beets
plugin paths: /home/johan/.config/beets/plugins
lyrics: Disabling google source: no API key configured.
inline: adding item field path_genre
inline: adding item field path_year
inline: adding item field path_format
inline: adding album field if_bucket
error: Selected ReplayGain backend /usr/local/bin/ffmpeg is not supported. Please select one of: command, gstreamer, audiotools, ffmpeg
You are correct, I had missed that command was only for mp3gain, using backend: ffmpeg works. I will note though that trying to provide the full path to ffmpeg (since I had to do so for mp3gain when I was using that I assumed I'd need to for ffmpeg too) will fail. Now in my case it found ffmpeg so it still works, but wondering if it should allow full path to the tools?
$ beet -vv replaygain -aW id:4360 user configuration: /home/johan/.config/beets/config.yaml data directory: /home/johan/.config/beets plugin paths: /home/johan/.config/beets/plugins lyrics: Disabling google source: no API key configured. inline: adding item field path_genre inline: adding item field path_year inline: adding item field path_format inline: adding album field if_bucket error: Selected ReplayGain backend /usr/local/bin/ffmpeg is not supported. Please select one of: command, gstreamer, audiotools, ffmpeg
Ok ignore that, it works if you do it correctly :)
This does not work:
replaygain:
auto: no
backend: /usr/local/bin/ffmpeg
but this does:
replaygain:
auto: no
backend: ffmpeg
command: /usr/local/bin/ffmpeg
Looks like this was resolved? I'm closing the issue, feel free to re-open if that's not the case.
Trying to use replaygain with ffmpeg command fails because -o is not a valid flag to ffmpeg anymore.
beet -vv will only say that it failed, running the ffmpeg command manually will indicate -o is not valid syntax.
Problem
Running this command in verbose (
-vv
) mode:Running the above ffmpeg command manually:
Setup
Here is the replaygain section of the config: