Skip to content
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

Embedded art messes with bitrate estimation which seems to mess with mpd's seeking ability #2056

Open
oblitzitate opened this issue Jun 1, 2024 · 1 comment
Labels
incomplete Incomplete bug report; submitter refused to post information he was asked for waiting Waiting for more information from reporter

Comments

@oblitzitate
Copy link

Bug report

Describe the bug

Given an audio file (e.g. Travis Scott - The Plan) in .opus format with variable bit rate (VBR), I used the beets' embedart plugin to embed an art in the audio file. This results in the audio file's estimated bitrate increasing drastically, which seems to mess with mpd's ability to seek position throughout an audio playback.

This is the command I used to read the audio file's bitrate: ffprobe -v error -show_entries format=bit_rate -of default=noprint_wrappers=1:nokey=1 input.opus

When I use beet clearart to clear the embedded art from the audio file, mpd's seeking ability works properly again on that audio file.

I tested if this issue occurred in other programs like mpv, but they don't seem to have this issue.

Expected Behavior

Be able to seek along any position in the audio playback

Actual Behavior

Can't seek some positions in the audio playback when the audio file has embedded art in it.

Version

Music Player Daemon 0.23.15 (v0.23.15)

Configuration

music_directory "~/music"
playlist_directory "~/playlists"
db_file  "~/.local/share/mpd/db"
log_file "~/.local/share/mpd/log"
pid_file "~/.local/share/mpd/pid"
state_file "~/.local/share/mpd/state"
sticker_file "~/.local/share/sticker.sql"
auto_update "yes"
input {
    plugin "curl"
}
audio_output {
    type "pipewire"
    name "PipeWire Sound Server"
}

Log

@MaxKellermann
Copy link
Member

This bug report is incomplete because you chose not to post a log.
Also to reproduce your problem, a demo file is needed.

@MaxKellermann MaxKellermann added waiting Waiting for more information from reporter incomplete Incomplete bug report; submitter refused to post information he was asked for labels Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
incomplete Incomplete bug report; submitter refused to post information he was asked for waiting Waiting for more information from reporter
Projects
None yet
Development

No branches or pull requests

2 participants