Rockbox Technical Forums

Support and General Use => Audio Playback, Database and Playlists => Topic started by: jcutler121 on June 02, 2021, 01:26:42 PM

Title: Gapless playback for Ipod Classic 5g not working
Post by: jcutler121 on June 02, 2021, 01:26:42 PM
I am new to Rockbox and have installed it on a Ipod Classic 5g. It is working fine except for gapless playback. I have read up on this for days trying to figure it out. The files are mp3 and encoded using LAME 3.99. I have tried a few different albums and none of them will play gapless. I am not sure what else to check. Anyone have any ideas?
Title: Re: Gapless playback for Ipod Classic 5g not working
Post by: Frankenpod on June 02, 2021, 02:43:02 PM
Slightly dumb question, really, but it's the first thing I can think of - are you completely sure the files themselves don't have 2-second-silence gaps at their start?
That can happen if a cd is not ripped the right way for gapless recordings (i.e. disc-at-once rather than track-at-once).  Obviously rockbox is only going to be able to avoid adding additional gaps, it's not going to skip over gaps  that are already encoded into a track.  (Maybe that's a bit too obvious a point, but aside from that I don't know what the cause of the issue you are having is - gapless seems to work fine for me on my 7th gen).


(If you do have the 2 second silence at the start of the tracks there are utilities that can strip them out)
Title: Re: Gapless playback for Ipod Classic 5g not working
Post by: jcutler121 on June 02, 2021, 04:11:24 PM
I will check but the albums are all live albums that played without gaps when it was just an ipod using itunes.
Title: Re: Gapless playback for Ipod Classic 5g not working
Post by: Frankenpod on June 02, 2021, 05:13:39 PM
Just listened to a live album on a rockboxed ipod 7g and no gaps, not even a click or a pop at the track transition.

Don't really know what is going on in your case.  Hopefully a dev will come along with more suggestions.

What format are you using?  Is it a big gap of silence or a momentary click?

Title: Re: Gapless playback for Ipod Classic 5g not working
Post by: jcutler121 on June 02, 2021, 10:49:50 PM
Forgot to add that this is happening in a new car I just bought. I tried it with just ear buds and it plays gapless so it has to do with the car. I had a 2017 Elantra that I could plugin my Ipod touch and it worked great. Had gapless playback. I bought a 2022 Tucson and they took away the ipod connectivity. I assume they removed it because of Android Auto and Carplay and I can't stand either of them. The gap with the rockbox ipod is 3 to 4 seconds. I have a SanDisk sport and the gap is only a second in the car so I thought getting an Ipod and putting rockbox on it might fix that problem but maybe not. Are there any settings I can try to fix the gapless in the car?
Title: Re: Gapless playback for Ipod Classic 5g not working
Post by: saratoga on June 02, 2021, 11:38:11 PM
Forgot to add that this is happening in a new car I just bought. I tried it with just ear buds and it plays gapless so it has to do with the car. I had a 2017 Elantra that I could plugin my Ipod touch and it worked great.

Are you plugging in the iPod as an external hard drive and then decoding using the car stereo?  If so, you aren't using Rockbox and so won't have gapless playback. 
Title: Re: Gapless playback for Ipod Classic 5g not working
Post by: jcutler121 on June 03, 2021, 10:33:41 AM
I am not sure what you mean by decoding. The usb port on the truck won't read an ipod with apple firmware so I put rockbox on the ipod and the head unit plays it. I also have used a Sandisk with their stock firmware and the gap is only 1 second compared to 4 seconds with the rockbox ipod. I probably just wasted my money on the ipod but I was trying everything I could. This was the only vehicle I looked at that didn't support an ipod and I didn't know until after I purchased it. I wouldn't have bought the truck had I known.
Title: Re: Gapless playback for Ipod Classic 5g not working
Post by: saratoga on June 03, 2021, 11:02:11 AM
You are using your iPod as an external hard disk, so rockbox is not actually decoding audio, it's just acting bas a very fancy USB disk drive. The car stereo is using its own decoders, which probably aren't gapless.

You need to use the headphone or line out analog jacks if you want rockbox to decode your audio.
Title: Re: Gapless playback for Ipod Classic 5g not working
Post by: jcutler121 on June 03, 2021, 01:21:28 PM
Got it. It's was worth a try. I'll just use the SanDisk then. Thanks for the info. I appreciate it.
Title: Re: Gapless playback for Ipod Classic 5g not working
Post by: saratoga on June 03, 2021, 01:25:49 PM
Or just get a USB flash drive if you don't want to keep an mp3 player hooked up to your car.
Title: Re: Gapless playback for Ipod Classic 5g not working
Post by: philden on June 03, 2021, 05:12:32 PM
Or you could combine the files for each live album into a single long file.
Title: Re: Gapless playback for Ipod Classic 5g not working
Post by: jcutler121 on June 04, 2021, 08:30:24 AM
Using the SanDisk player or ipod seems better than a usb drive. It loads faster I think and with rockbox it will sometimes stay on the song that was playing when I get back in the car but sometimes it doesn't. Not sure why that is.