Question about gapless playback

Need help with MPD?
Post Reply
Posts: 1
Joined: July 7th, 2019, 3:46 am

Question about gapless playback

Post by bigzero2201 »

I have read that to get gapless playback working in mpd I need to firstly encode my files as mp3, and secondly I need to encode them with lame so that it adds a special header to the file. Is this correct?
Forum team
Posts: 1179
Joined: January 15th, 2013, 3:43 pm

Re: Question about gapless playback

Post by max »

Not quite.
If you want to have MP3 files, then you should use LAME, because only LAME adds metadata to the files which allow MPD to do gapless MP3 playback.
But that doesn't imply that you must use MP3 for gapless playback. Other codecs are always gapless (Vorbis!), and don't need this kind of metadata.

So, actually, MP3 is a bad choice for gapless playback, but its problems can be solved. But in any case, it's still better to use other codecs which don't have this problem in the first place. There are other reasons not to use MP3; MP3 is probably the worst choice of all. MP3 was good 25 years ago, but it's obsolete legacy techology these days. Hey, (Ogg) Vorbis is nearly 20 years old, and people still use MP3?
Post Reply