Comments (7)
I did a little test. I wondered if it just had something to do with how your code handles JUST the .m4b extension while trying to stitch everything together to make a new .m4b file with chapters and everything.
So, I cheated. I didn't convert anything. I just changed the file extension from .m4b to .mp3 reloaded the book into ABS. I then re-ran the generate .m4b process by pushing the "Start Download" button again. And BINGO! This time, it worked as expected. A 400+ MB file was generated with chapters in the correct order and cover embedded. So, well done!
It's a little hacky, but it looks like I know what to do in the future to make this work.
Hopefully, this was helpful.
What do you think?
from audiobookshelf.
I came across this issue as well with m4b files, but didn't dig into it too much. Thanks for experimenting and finding that out, that will give me a starting place in fixing that issue.
from audiobookshelf.
I just tried this trick again (change file extension to .mp3) with a different book that had .FLAC as the source files and it worked there too! However, I noticed something that makes me wonder.
At first, I thought the generate m4b process didn't "touch" the source files at all; just repackaged them into the m4b format. But when the source FLAC files total up to 6.1GB and the generated file is only 504MB, then I know that I thought wrong.
Would you mind telling me how the conversion is taking place? What settings are being used? Out of curiosity: Is there a way to change the settings? Or turn off compression?
Thank you.
from audiobookshelf.
The source file does not get manipulated at all. It is using Ffmpeg and the source is an input, Ffmpeg doesn't modify input files.
You can see the exact command that is being run to generate the m4b if you open the log, then start the m4b download, and look for a log that starts with this: [DownloadWorker] FFMPEG concat started with command:
That command is doing all the work. There are 2 text files that are generated that you will see in the command, files.txt
and metadata.txt
. These files are stored in /metadata/downloads/{download id}/..
and automatically deleted when the download expires, times out, or fails.
from audiobookshelf.
Are you still seeing this issue?
from audiobookshelf.
I'll check.
from audiobookshelf.
We'll re-open if this is reproducible
from audiobookshelf.
Related Issues (20)
- [Bug]: [FfmpegHelpers] downloadPodcastEpisode: Error Error: ffmpeg exited with code 227: Conversion failed!
- [Enhancement]: Theming system for web app HOT 2
- [Bug]: Can't add/edit series HOT 5
- [Bug]: OIDC fails with LastLogin.io/Obligator HOT 1
- [Enhancement]: Should we support ability to set default user type on auto register instead of hardcoded it? HOT 4
- [Enhancement]: Really hope to add the function to skip the intro and outro of audiobooks. HOT 2
- [Bug]: Weekly Library Scan does not honor Metadata order of Precedence HOT 1
- [Bug]: no matching manifest for linux/arm/v7 HOT 1
- [Bug]: Error in v2.8.1 HOT 12
- [Bug]: SMTP relay fails to connect to Prontonmail bridge
- [Enhancement]: Split upload filewise
- Moving audio file to subdirectory marks original entry as "missing" HOT 3
- [Enhancement]: Native custom branding
- [Enhancement]: Toggle to display subtitle in library
- [Bug]: When enabling/diabling library watcher, change does not take effect until server restart
- [Enhancement]: normalize audio HOT 2
- Can the piped audio out for audiobookshelf be linked to snapclient? HOT 1
- [Bug]: 2.8.1 (Docker) Library Scan Fails Getting Repeated "alert number 12" in log file HOT 1
- [Bug]: Podcasts duplicate in UIs HOT 4
- [Bug]: Audiobookshelf errors when scanning titles containing an apostrophe in Windows share HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audiobookshelf.