[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#797965: marked as done (ffmpeg destroys gapless playback on (at least) MP3s)



Your message dated Fri, 29 Apr 2022 04:43:32 +0200
with message-id <e3822f2445867c679f88fc4ea09f313ad8fa08b7.camel@scientia.org>
and subject line Re: ffmpeg destroys gapless playback on (at least) MP3s
has caused the Debian Bug report #797965,
regarding ffmpeg destroys gapless playback on (at least) MP3s
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
797965: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=797965
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: bs1770gain
Version: 0.4.5-1+b1
Severity: important
Tags: upstream


Hi.

It seems that bs1770gain somehow "destroys" gapless playback
on (at least) lame encoded MP3s.

For example, when I encode gapless WAV files via e.g.:
lame --verbose -q 0 -v -V 3 --noreplaygain --id3v2-utf16 --add-id3v2 --id3v1-only 1.wav
lame --verbose -q 0 -v -V 3 --noreplaygain --id3v2-utf16 --add-id3v2 --id3v1-only 2.wav
than the resulting 1.mp3 and 2.mp3 play flawlessly gapless
with e.g. mpv or on the ipod (mplayer or totem don't seem to
support gapless playback at all).

But once after I did e.g.:
$ bs1770gain -ismrpt --replaygain -o r/ music/
or:
$ bs1770gain -ismrpt  -o e/ music/
(with music containing the two MP3s) then the resulting MP3s in
e/ rspectively r/ no longer play gaplessly, neither with mpv
nor on the ipod.

When I do however:
$ collectiongain --regain music/
using the ReplayGain implementation from the python-rgain
package,
then the resulting files still play perfectly gapless
in mpv/ipod.


Cheers,
Chris.


PS: I've already notified upstream about this in a private
mail.

--- End Message ---
--- Begin Message ---
Hey there.

I just retried that again, both:
- with bs1770gain and
- with plain ffmpeg -i in.mp3 -acodec copy -y out.mp3


and it seems that this must have been fixed at some point in ffmpeg.

Gapless playback is at least preserved for MP3 and Opus (didn't check
other formats).

This requires of course the use of bs1770gain’s --codec and --suffix
options, otherwise stuff would be converted to FLAC in an MKV
container.

Also, when using these options to get the same codec/container, ffmpeg
seems to really copy the encoded audio stream.

The files may still differ (even with plain ffmpeg copy) because ffmpeg
seems to add it's own meta data for some reason.



Anyway, this should be fixed, thus closing.

Thanks,
Chris.

--- End Message ---

Reply to: