MP3 to M4B conversion fails[Bug]: #2024

Closed
opened 2026-04-25 00:02:33 +02:00 by adam · 9 comments
Owner

Originally created by @ashtom50 on GitHub (May 29, 2024).

What happened?

When I try to convert a book in mp3 format to m4b the conversion fails immediately and i get an error in the logs "[DownloadWorker] Ffmpeg Err: Output format mp4 is not available"
This seems to have started after upgrading to V2.10.1

What did you expect to happen?

When clicking convert I expect the audiobook to process for at least a few minutes. I then rescan my library and the book is updated as M4B.

Steps to reproduce the issue

  1. Go to audiobook in mp3 format.
  2. Go to tools and convert to M4B
  3. Click convert

Audiobookshelf version

2.10.1

How are you running audiobookshelf?

Debian/PPA

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?

Chrome

Logs

[DownloadWorker] Ffmpeg Err: Output format mp4 is not available

Additional Notes

Running through proxmox. Installed with helper script.

Originally created by @ashtom50 on GitHub (May 29, 2024). ### What happened? When I try to convert a book in mp3 format to m4b the conversion fails immediately and i get an error in the logs "[DownloadWorker] Ffmpeg Err: Output format mp4 is not available" This seems to have started after upgrading to V2.10.1 ### What did you expect to happen? When clicking convert I expect the audiobook to process for at least a few minutes. I then rescan my library and the book is updated as M4B. ### Steps to reproduce the issue 1. Go to audiobook in mp3 format. 2. Go to tools and convert to M4B 3. Click convert ### Audiobookshelf version 2.10.1 ### How are you running audiobookshelf? Debian/PPA ### 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? Chrome ### Logs ```shell [DownloadWorker] Ffmpeg Err: Output format mp4 is not available ``` ### Additional Notes Running through proxmox. Installed with helper script.
adam added the bug label 2026-04-25 00:02:33 +02:00
adam closed this issue 2026-04-25 00:02:33 +02:00
Author
Owner

@Pantechniconsole commented on GitHub (Jun 1, 2024):

Finding the same with my first install of Audiobookshelf

Audiobookshelf version
2.10.1

How are you running Audiobookshelf?
Windows 11 (Browser)

What OS is your Audiobookshelf server hosted from?
Linux Mint (Ubuntu)

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

Logs
2024-06-01 16:28:21.195 INFO Start m4b encode for f98c8916-03ee-4626-8bb8-580e3b867886 - TaskId: 7e2bce5e-8cd3-47a0-8014-8e6435b15327
2024-06-01 16:28:21.274 ERROR [DownloadWorker] Ffmpeg Err: Output format mp4 is not available
2024-06-01 16:28:21.275 INFO [AbMergeManager] Removing task 7e2bce5e-8cd3-47a0-8014-8e6435b15327

@Pantechniconsole commented on GitHub (Jun 1, 2024): Finding the same with my first install of Audiobookshelf Audiobookshelf version 2.10.1 How are you running Audiobookshelf? Windows 11 (Browser) What OS is your Audiobookshelf server hosted from? Linux Mint (Ubuntu) If the issue is being seen in the UI, what browsers are you seeing the problem on? Edge, Firefox Logs 2024-06-01 16:28:21.195 INFO Start m4b encode for f98c8916-03ee-4626-8bb8-580e3b867886 - TaskId: 7e2bce5e-8cd3-47a0-8014-8e6435b15327 2024-06-01 16:28:21.274 ERROR [DownloadWorker] Ffmpeg Err: Output format mp4 is not available 2024-06-01 16:28:21.275 INFO [AbMergeManager] Removing task 7e2bce5e-8cd3-47a0-8014-8e6435b15327
Author
Owner

@advplyr commented on GitHub (Jun 1, 2024):

Ah interesting, this may be an issue with the latest version of ffmpeg on the Debian package because a similar "Output format is not available" was brought up in #3031 relating to HLS transcoding

@advplyr commented on GitHub (Jun 1, 2024): Ah interesting, this may be an issue with the latest version of ffmpeg on the Debian package because a similar "Output format is not available" was brought up in #3031 relating to HLS transcoding
Author
Owner

@advplyr commented on GitHub (Jun 1, 2024):

Quick search and I found the wrapper we use for ffmpeg patched this issue for ffmpeg v7 recently. https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/pull/1274

The reason this only impacts the Debian package is because Windows installer is using ffmpeg 5.1 (due to an issue with ffmpeg 6 on Windows) and the Docker installs are using ffmpeg 6.

@advplyr commented on GitHub (Jun 1, 2024): Quick search and I found the wrapper we use for ffmpeg patched this issue for ffmpeg v7 recently. https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/pull/1274 The reason this only impacts the Debian package is because Windows installer is using ffmpeg 5.1 (due to an issue with ffmpeg 6 on Windows) and the Docker installs are using ffmpeg 6.
Author
Owner

@Pantechniconsole commented on GitHub (Jun 1, 2024):

It's surprising you mention it's working on Windows. I did try the Windows install earlier but the Tools tab shows "Not supported for the Windows install yet".

@Pantechniconsole commented on GitHub (Jun 1, 2024): It's surprising you mention it's working on Windows. I did try the Windows install earlier but the Tools tab shows "Not supported for the Windows install yet".
Author
Owner

@advplyr commented on GitHub (Jun 1, 2024):

M4B conversion isn't supported on Windows because Tone isn't included as a dependency. Ffmpeg does work on Windows which is used to transcode audiobooks that can't be direct played. Also used when downloading podcast episodes to embed metadata in the audio files.

@advplyr commented on GitHub (Jun 1, 2024): M4B conversion isn't supported on Windows because Tone isn't included as a dependency. Ffmpeg does work on Windows which is used to transcode audiobooks that can't be direct played. Also used when downloading podcast episodes to embed metadata in the audio files.
Author
Owner

@BlwAvg commented on GitHub (Jun 1, 2024):

https://xkcd.com/208/

Thank you for the fix.

@BlwAvg commented on GitHub (Jun 1, 2024): https://xkcd.com/208/ Thank you for the fix.
Author
Owner

@C0rn3j commented on GitHub (Jul 9, 2024):

2.11.0 is out with this issue fixed(or well, at least it's attempting to process now that I upgraded),

@advplyr can be closed I suppose.

@C0rn3j commented on GitHub (Jul 9, 2024): 2.11.0 is out with this issue fixed(or well, at least it's attempting to process now that I upgraded), @advplyr can be closed I suppose.
Author
Owner

@Pantechniconsole commented on GitHub (Jul 9, 2024):

I've been using the fix since you posted it (I applied it manually) and
it's been working fine. I'm happy to close this ticket.

ATB

On Tue, 9 Jul 2024 at 12:59, Martin @.***> wrote:

2.11.0 is out with this issue fixed(or well, at least it's attempting to
process now that I upgraded),

@advplyr https://github.com/advplyr can be closed I suppose.


Reply to this email directly, view it on GitHub
https://github.com/advplyr/audiobookshelf/issues/3029#issuecomment-2217455585,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BH7KT62JK4F7BHDN5227NYLZLPGDHAVCNFSM6AAAAABIOXUSZSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJXGQ2TKNJYGU
.
You are receiving this because you commented.Message ID:
@.***>

@Pantechniconsole commented on GitHub (Jul 9, 2024): I've been using the fix since you posted it (I applied it manually) and it's been working fine. I'm happy to close this ticket. ATB On Tue, 9 Jul 2024 at 12:59, Martin ***@***.***> wrote: > 2.11.0 is out with this issue fixed(or well, at least it's attempting to > process now that I upgraded), > > @advplyr <https://github.com/advplyr> can be closed I suppose. > > — > Reply to this email directly, view it on GitHub > <https://github.com/advplyr/audiobookshelf/issues/3029#issuecomment-2217455585>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/BH7KT62JK4F7BHDN5227NYLZLPGDHAVCNFSM6AAAAABIOXUSZSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJXGQ2TKNJYGU> > . > You are receiving this because you commented.Message ID: > ***@***.***> >
Author
Owner

@advplyr commented on GitHub (Jul 9, 2024):

Fixed in v2.11.0

@advplyr commented on GitHub (Jul 9, 2024): Fixed in [v2.11.0](https://github.com/advplyr/audiobookshelf/releases/tag/v2.11.0)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2024