GithubHelp home page GithubHelp logo

Comments (6)

audiamus avatar audiamus commented on July 16, 2024

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.

HarveyOs avatar HarveyOs commented on July 16, 2024

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.

audiamus avatar audiamus commented on July 16, 2024

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.

HarveyOs avatar HarveyOs commented on July 16, 2024

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.

audiamus avatar audiamus commented on July 16, 2024

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.

audiamus avatar audiamus commented on July 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.