-
Notifications
You must be signed in to change notification settings - Fork 346
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
Click in between playback of files (mp3, opus) AKA not gapless #601
Labels
Comments
On 2019/08/02 06:45, Diomendius ***@***.***> wrote:
I have not yet tested the Opus files, but I have checked that they produce no gaps when decoded with `opusdec`, although for some reason `ffmpeg` doesn't skip some padding at the start of the files.
I debugged Vorbis already; this is a MPD bug which I have fixed, and
the patch will be pushed to git soon.
|
That's good to hear. Does the bug affect MP3/Vorbis/Opus equally, or are you talking about something specific to Vorbis? |
MaxKellermann
added a commit
that referenced
this issue
Aug 2, 2019
The "end of stream" packet is not special; it contains normal data, and thus we should pass it to OnOggPacket(). This fixes one part of #601
Only Vorbis and Opus. |
MaxKellermann
added a commit
that referenced
this issue
Aug 3, 2019
The Xing/LAME frame indicates how many frames there are, but that excludes the initial Xing/LAME frame. Therefore, it should not be counted. This fixes an off-by-one bug which caused the last frame to be skipped, fixing one part of #601
MaxKellermann
added a commit
that referenced
this issue
Aug 3, 2019
libmad requires padding the input buffer with "MAD_BUFFER_GUARD" zero bytes at the end of the file, or else it is unable to decode the last frame. This fixes yet another bug which prevented this plugin from decoding the last frame, see #601
Awesome, thanks for the fix. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
I got a sample of a Telemann sonata encoded in FLAC 16/44.1 and split it into two. The two tracks play back gaplessly in FLAC form, but if I encode them into mp3 or opus they aren't gapless anymore. The files are in https://mega.nz/#F!amAQ1CCZ!ltKHdQo4kib8McMYbvd-VA.
Describe the bug
Make a queue like so:
01.split-track01.flac
01.split-track02.flac
02.split-track01.mp3
02.split-track02.mp3
03.split-track01.opus
03.split-track02.opus
Listen to them in order. On my machine there was no audible click between the FLAC files. There was an audible click in between the 01 and 02 versions of the opus-encoded and mp3-encoded files.
Expected Behavior
No click for any of the files. This is the case if I use cmus or mpv.
Actual Behavior
There is a click
Version
Log
The text was updated successfully, but these errors were encountered: