[Bug]: Can't fastforward .aac file on Android #1028

Closed
opened 2026-04-24 23:46:12 +02:00 by adam · 6 comments
Owner

Originally created by @olek-osikowicz on GitHub (Sep 2, 2024).

What was the Problem?

As you can see on the screen recording, I tried to fastforward the book to the middle so I could resume when I finished.

https://github.com/user-attachments/assets/0333e14f-0927-4676-b5c6-f9722549bf92

Moving the slider doesn't work (backs to the beggining) neither does using the button to skip 10 seconds.

As you can hear the file is healthy, and it starts playing the book from the beggining.

I suspect it's to blame the file format.

File details

Here is the output of `ffprobe -show_format`

Input #0, aac, from './Niezwyciężony.aac':
Duration: 06:57:39.80, bitrate: 133 kb/s
Stream #0:0: Audio: aac (LC), 44100 Hz, stereo, fltp, 133 kb/s
[FORMAT]
filename=./Niezwyciężony.aac
nb_streams=1
nb_programs=0
format_name=aac
format_long_name=raw ADTS AAC (Advanced Audio Coding)
start_time=N/A
duration=25059.801256
size=417424242
bit_rate=133257
probe_score=51
[/FORMAT]

Steps to Reproduce the Issue

  1. Add .aac file to your library.
  2. Play it on android app.
  3. Try to fastforward using the sliders or skip ahead buttons.

What was Expected?

File should be played from requested timestamp.

Phone Model

Samsung Galaxy S10

Phone OS

Android 12

Audiobookshelf App Version

Android App - 0.9.76

Installation Source

Google Play Store

Additional Notes

I solved the issue by converting the file to mp3 format:

$ ffmpeg -i ./input.aac -acodec libmp3lame ./output.mp3

Then it works without an issue.

Originally created by @olek-osikowicz on GitHub (Sep 2, 2024). ### What was the Problem? As you can see on the screen recording, I tried to fastforward the book to the middle so I could resume when I finished. https://github.com/user-attachments/assets/0333e14f-0927-4676-b5c6-f9722549bf92 Moving the slider doesn't work (backs to the beggining) neither does using the button to skip 10 seconds. As you can hear the file is healthy, and it starts playing the book from the beggining. I suspect it's to blame the file format. <details><summary>File details</summary> <p> Here is the output of `ffprobe -show_format` Input #0, aac, from './Niezwyciężony.aac': Duration: 06:57:39.80, bitrate: 133 kb/s Stream #0:0: Audio: aac (LC), 44100 Hz, stereo, fltp, 133 kb/s [FORMAT] filename=./Niezwyciężony.aac nb_streams=1 nb_programs=0 format_name=aac format_long_name=raw ADTS AAC (Advanced Audio Coding) start_time=N/A duration=25059.801256 size=417424242 bit_rate=133257 probe_score=51 [/FORMAT] </p> </details> ### Steps to Reproduce the Issue 1. Add `.aac` file to your library. 2. Play it on android app. 3. Try to fastforward using the sliders or skip ahead buttons. ### What was Expected? File should be played from requested timestamp. ### Phone Model Samsung Galaxy S10 ### Phone OS Android 12 ### Audiobookshelf App Version Android App - 0.9.76 ### Installation Source Google Play Store ### Additional Notes I solved the issue by converting the file to `mp3` format: ```bash $ ffmpeg -i ./input.aac -acodec libmp3lame ./output.mp3 ``` Then it works without an issue.
adam added the bugandroid labels 2026-04-24 23:46:12 +02:00
adam closed this issue 2026-04-24 23:46:13 +02:00
Author
Owner

@nichwall commented on GitHub (Sep 2, 2024):

A file being able to play does not mean that the file supports seeking. Can you try converting the file from aac to aac using the -c copy parameter?

https://www.audiobookshelf.org/guides/ffprobe/#fixing-an-audio-file

@nichwall commented on GitHub (Sep 2, 2024): A file being able to play does not mean that the file supports seeking. Can you try converting the file from aac to aac using the `-c copy` parameter? https://www.audiobookshelf.org/guides/ffprobe/#fixing-an-audio-file
Author
Owner

@olek-osikowicz commented on GitHub (Sep 2, 2024):

I am sorry, I missed that section in the docs, however now I tried to ffmpeg -i input.aac -c copy output.aac, but it's still not seekable. Same problem with skipping.

Created separate book folder and copied the file to avoid caching.

@olek-osikowicz commented on GitHub (Sep 2, 2024): I am sorry, I missed that section in the docs, however now I tried to `ffmpeg -i input.aac -c copy output.aac`, but it's still not seekable. Same problem with skipping. Created separate book folder and copied the file to avoid caching.
Author
Owner

@olek-osikowicz commented on GitHub (Sep 2, 2024):

I forgot to add that it works perfectly fine on Desktop (web client).

@olek-osikowicz commented on GitHub (Sep 2, 2024): I forgot to add that it works perfectly fine on Desktop (web client).
Author
Owner

@AngelouDi commented on GitHub (Dec 7, 2024):

I am also experiencing the same issue and have to access the service from a browser to listen to. aac files.

@AngelouDi commented on GitHub (Dec 7, 2024): I am also experiencing the same issue and have to access the service from a browser to listen to. aac files.
Author
Owner

@randomdude583 commented on GitHub (Oct 25, 2025):

Same issue, though I am seeing it with an auto downloaded podcast. aac file, cannot seek forward (reverts to beginning), and also cannot pause/resume, also reverts to the beginning.

Works fine on the web client, just an issue on mobile.

@randomdude583 commented on GitHub (Oct 25, 2025): Same issue, though I am seeing it with an auto downloaded podcast. aac file, cannot seek forward (reverts to beginning), and also cannot pause/resume, also reverts to the beginning. Works fine on the web client, just an issue on mobile.
Author
Owner

@github-actions[bot] commented on GitHub (Feb 11, 2026):

Fixed in v0.12.0-beta.

@github-actions[bot] commented on GitHub (Feb 11, 2026): Fixed in [v0.12.0-beta](https://github.com/advplyr/audiobookshelf-app/releases/tag/v0.12.0-beta).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf-app#1028