Comments (6)
Mir ist noch nicht klar, wo die Kapitel > 255 verloren gehen. Im Moment läuft das mit FFmpeg 4.1. Der Parameter -map_chapters
wird bei "Eine Datei" nicht gesetzt, ist also default und sollte dann die Kapitel kopieren, lt FFmpeg Doku. (Bei allen anderen Modi steht der Parameter auf -1)
-activation_bytes xxxxxxxx -y -i input.aax -map_metadata -1 -vn -c:a copy output.m4a
from aaxaudioconverter.
Ich kann den Fehler jetzt reproduzieren.
Mit dem Aufruf
ffmpeg -activation_bytes xxxxxxxx -y -i input.aax -map_metadata -1 -vn -c:a copy output.mp4
werden maximal 255 Kapitel erzeugt.
Durch
ffmpeg -activation_bytes xxxxxxxx -y -i input.aax -map_metadata -0 -vn -c:a copy output.mp4
werden alle Kapitel kopiert
Nachtrag: auch bei FFmpeg V4.2.2
from aaxaudioconverter.
Das ist nicht schön. Denn ich möchte die Tag-Metadaten aus der aax-Datei loswerden, weil sie proprietäre Tags enthalten, die ich durch Standard-Tags ersetze. Man müsste mal ausprobieren, was passiert, wenn man ´-map_metadata´ auf FFMETADATA anwendet, wie in dem FFmpeg-Beispiel:
ffmpeg -i INPUT -i FFMETADATAFILE -map_metadata 1 -codec copy OUTPUT
Dann könnte ich auch die AAX-Kapitel immer über FFMETADATA kopieren.
from aaxaudioconverter.
Der Umweg über die FFMETADATA scheint zu gehen. Ich habe mal mit
ffmpeg -i INPUT -f ffmetadata FFMETADATAFILE.txt
die Meta-Daten aus der AAX geholt, artist / album_artist / comment geändert und mit
ffmpeg -activation_bytes xxxxxxxx -i INPUT -i FFMETADATAFILE.txt -map_metadata 1 -map_chapters 1 -vn -c:a copy OUTPUT
umgewandelt. Alle 378 Kapitel waren da.
from aaxaudioconverter.
Super. Das ist dann der Weg, den ich verfolgen werde.
Eine Klasse, die das FFMETADATAFILE-Format lesen und schreiben kann, habe ich heute schon mal erstellt.
from aaxaudioconverter.
Ist eingebaut, Version 1.10. Habe es nur durch Manipulation im Code testen, weil ich kein Hörbuch mit so vielen Kapiteln habe. Auffällig, dass z.B. VLC trotzdem nur 255 Kapitel anzeigt, MPC-HC aber alle, FFmpeg natürlich auch. Aufpassen beim Selbst-Testen: Durch die neue Funktion "Explizite Kapitelnamen" werden die aax-Kapitel normalerweise mit denen aus der content_meta.json
überschrieben. Option für diesen Test daher abschalten.
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.