Comments (9)
The problem may be caused by the way the chapter meta data is added to the file. For MPEG4 (m4a/m4b) this is currently handled by FFmpeg.
MPEG4 chapters come in two flavors, nicknamed after their origin: "Nero" and "Quicktime". Some players can only interpret one of the two. iTunes, for instance, can read Quicktime, but not Nero, VLC on Android only Nero. For maximum compatibility, FFmpeg attempts to write both. Which will explain why tools like MediaInfo report two chapter lists ("menus").
However, it appears that the FFmpeg chapter encoding may corrupt one of the two chapter encodings and possibly the entire file. I can reproduce the problem for the chapter list, where I only get correct output for one.
As it is unlikely to get this resolved with FFmpeg, my approach was to find a different method for adding the chapter data. And I discovered another library which supports MPEG4 chapters: https://github.com/Zeugma440/atldotnet. It looks very promising, for both Nero and Quicktime, particularly as its developer is very helpful. So I will replace FFmpeg with ATL.net for the MPEG4 chapter adding task.
(I can only award a single GitHub star to him, but he deserves many more.)
from aaxaudioconverter.
Can you upload a log file for each of the two cases: unplayable, playable on some? If it is related to meta data then log level 3 should suffice.
AAX Audio Converter uses up to three different methods to add meta data, depending on the current parameters and on the book. The log file will list all parameters, the chapter meta data and which methods it applies.
from aaxaudioconverter.
Sorry about not getting back to you promptly with the logs, just started a new job and I've been busy getting up to speed/unscrewing their documentation.
Super glad that you've been able to repro the issue. I'll still get you some logs tomorrow though for both types of result I'm seeing.
The two players I've been testing this with are Plex Media Server (which uses ffmpeg) and Media Player Classic Home Cinema (x64)/Combined Community Codec Pack
from aaxaudioconverter.
I'll still get you some logs tomorrow though for both types of result I'm seeing.
Yes, please. Can you make them log level 4? The FFmpeg output might provide additional clues.
from aaxaudioconverter.
AaxAudioConverter_2020-09-09_001.log
Here you go. This shows generation of two files with the corrupted-looking second menu in mediainfo and which will not play back in Plex.
I'm having trouble reproing the completely unplayable behavior even with all of the same files. Maybe it was something weird/transitory in memory that was cleared by a reboot or maybe it was something that only happens when you try to process a very large number of files at once. Unsure.
from aaxaudioconverter.
Thanks a lot. I have looked into it. No, there isn't the slightest hint that FFmpeg has any problems. So, this just confirms my decision to go for a totally different method and switch over to ATL.net.
or maybe it was something that only happens when you try to process a very large number of files at once.
Even then this shouldn't happen. If you encounter it again, please save the log file. Log level 3 should do. (If you remember to clear the log directory from time to time, you can leave logging on. It won't slow down the conversion much, definitely not at level 3.)
from aaxaudioconverter.
Hey, the files that are being output still won't play in certain players (Plex) so I don't think this is really resolved.
Are there currently any startup flags/options that I could use to make it try only one of the three metadata writing options at a time or just skip the metadata so I can try manually adding it later? The only way that I can think of to do that at the moment is to go to MP3 and then back to m4v and I'd rather not do that as I'd get some quality loss due to the repeated transcoding between lossy formats.
from aaxaudioconverter.
The modified chapter meta creation will come with the next version 1.15.
Until then one option is to convert to MP3. Disadvantage is that this is quite slow. With MP3, chapters are encoded as ID3v2 and that does not seem to cause problems - except that very few players are able to read ID3v2 chapter data.
The other and probably better option is to split the book into chapters, either MP3 or M4A/M4B. In that case no chapter data will be written.
from aaxaudioconverter.
Excellent to hear this as this is my only current issue - converted a library of around sixty titles and 5-7 were broken this way
from aaxaudioconverter.
Related Issues (20)
- Titelnummer bei Dateinamen hinzufügen HOT 2
- IOException: [file name] issue HOT 10
- AAX Audio Crashes but Book Lib does not
- Semicolon instead of colon HOT 2
- Insufficient Number of FFmpeg Processes Started during Conversion HOT 2
- MP3 Compression Settings Leave Hiss on Output HOT 5
- Windows 11 ARM installer support? HOT 4
- Conversion Hangs Creating Multiple Files by Chapter HOT 9
- Mac or CLI version ? HOT 1
- Loosing Last Few Seconds of File HOT 1
- AAX aborts during conversion HOT 10
- The "MAPS" "chapter" that's included sometimes seems to be corrupt HOT 6
- Conversion Hangs Creating Multiple Files HOT 17
- Single file per AAX file: Metadata track numbers for all tracks/chapters are set to "1" HOT 8
- Numbers being prepended to file name HOT 2
- Is it possible to split to MP3 by narrator? HOT 1
- Activation error HOT 1
- accept .mp4 extension HOT 3
- Idea: file splitting for mp3 HOT 1
- Add support for the arm version of Windows HOT 3
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 aaxaudioconverter.