Playback Failed: MediaCodecAudioRenderer Error #3202

Open
opened 2026-02-20 03:06:15 -05:00 by deekerman · 3 comments
Owner

Originally created by @doctordarko on GitHub (Oct 1, 2025).

What happened?

On the Android app, this particular mp3 book refuses to start playing giving the below error. There is no such problem starting the playback from Chrome browser on the laptop, it plays error free.

However, once the playback started in the Chrome browser and 'Continue Listening' was available on the Android app, then playback continues to work on the Android.

Image

What did you expect to happen?

Ability to start streaming from any app

Steps to reproduce the issue

Audiobookshelf version

v2.29.0

How are you running audiobookshelf?

Docker

What OS is your Audiobookshelf server hosted from?

Linux

If the issue is being seen in the UI, what browsers are you seeing the problem on?

None

Logs

[INFO] FFMPEG transcoding started with command: ffmpeg -seek_timestamp 1 -f concat -safe 0 -i /metadata/streams/fd6cf579-dace-480f-9da7-a4ae7a5df870/files.txt -y -loglevel error -map 0:a -c:a copy -f hls -copyts -avoid_negative_ts make_non_negative -max_delay 5000000 -max_muxing_queue_size 2048 -hls_time 6 -hls_segment_type mpegts -start_number 0 -hls_playlist_type vod -hls_list_size 0 -hls_allow_cache 0 -hls_segment_filename /metadata/streams/fd6cf579-dace-480f-9da7-a4ae7a5df870/output-%d.ts /metadata/streams/fd6cf579-dace-480f-9da7-a4ae7a5df870/final-output.m3u8

Closing Stream fd6cf579-dace-480f-9da7-a4ae7a5df870

[FFMPEG] Transcode Killed

Deleted session data /metadata/streams/fd6cf579-dace-480f-9da7-a4ae7a5df870

Additional Notes

No response

Originally created by @doctordarko on GitHub (Oct 1, 2025). ### What happened? On the Android app, this particular mp3 book refuses to start playing giving the below error. There is no such problem starting the playback from Chrome browser on the laptop, it plays error free. However, once the playback started in the Chrome browser and 'Continue Listening' was available on the Android app, then playback continues to work on the Android. <img width="338" height="130" alt="Image" src="https://github.com/user-attachments/assets/4d4847fc-0175-43d2-aa60-3a53dc1f74b9" /> ### What did you expect to happen? Ability to start streaming from any app ### Steps to reproduce the issue 1. ### Audiobookshelf version v2.29.0 ### How are you running audiobookshelf? Docker ### What OS is your Audiobookshelf server hosted from? Linux ### If the issue is being seen in the UI, what browsers are you seeing the problem on? None ### Logs ```shell [INFO] FFMPEG transcoding started with command: ffmpeg -seek_timestamp 1 -f concat -safe 0 -i /metadata/streams/fd6cf579-dace-480f-9da7-a4ae7a5df870/files.txt -y -loglevel error -map 0:a -c:a copy -f hls -copyts -avoid_negative_ts make_non_negative -max_delay 5000000 -max_muxing_queue_size 2048 -hls_time 6 -hls_segment_type mpegts -start_number 0 -hls_playlist_type vod -hls_list_size 0 -hls_allow_cache 0 -hls_segment_filename /metadata/streams/fd6cf579-dace-480f-9da7-a4ae7a5df870/output-%d.ts /metadata/streams/fd6cf579-dace-480f-9da7-a4ae7a5df870/final-output.m3u8 Closing Stream fd6cf579-dace-480f-9da7-a4ae7a5df870 [FFMPEG] Transcode Killed Deleted session data /metadata/streams/fd6cf579-dace-480f-9da7-a4ae7a5df870 ``` ### Additional Notes _No response_
Author
Owner

@Vito0912 commented on GitHub (Oct 2, 2025):

Can you provide the ffprobe of this file?

@Vito0912 commented on GitHub (Oct 2, 2025): Can you provide the ffprobe of this file?
Author
Owner

@doctordarko commented on GitHub (Oct 2, 2025):

Can you provide the ffprobe of this file?

[mp3 @ 0x61a4d8203680] Skipping 5 bytes of junk at 25333. [mp3 @ 0x61a4d8203680] Estimating duration from bitrate, this may be inaccurate Input #0, mp3, from 'pt 1.mp3': Metadata: album : pt 1 artist : artist comment : - genre : Audiobook title : pt 1 track : 1 Duration: 07:48:14.05, start: 0.000000, bitrate: 256 kb/s Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 256 kb/s Stream #0:1: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 214x214 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn (attached pic) Metadata: comment : Cover (front)

@doctordarko commented on GitHub (Oct 2, 2025): > Can you provide the ffprobe of this file? `[mp3 @ 0x61a4d8203680] Skipping 5 bytes of junk at 25333. [mp3 @ 0x61a4d8203680] Estimating duration from bitrate, this may be inaccurate Input #0, mp3, from 'pt 1.mp3': Metadata: album : pt 1 artist : artist comment : - genre : Audiobook title : pt 1 track : 1 Duration: 07:48:14.05, start: 0.000000, bitrate: 256 kb/s Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 256 kb/s Stream #0:1: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 214x214 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn (attached pic) Metadata: comment : Cover (front)`
Author
Owner

@Vito0912 commented on GitHub (Oct 3, 2025):

I am not sure if it's because of this, but the headers for the file seem not to be correct, such as a proper length header

@Vito0912 commented on GitHub (Oct 3, 2025): I am not sure if it's because of this, but the headers for the file seem not to be correct, such as a proper length header
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/audiobookshelf#3202
No description provided.