Bug 432311 - mka container not supported - quid linked to Amarok 252510 bug
Summary: mka container not supported - quid linked to Amarok 252510 bug
Status: REPORTED
Alias: None
Product: kid3
Classification: Applications
Component: general (other bugs)
Version First Reported In: 3.8.x
Platform: Manjaro Linux
: NOR wishlist
Target Milestone: ---
Assignee: Urs Fleisch
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-30 13:02 UTC by phil4000n
Modified: 2021-01-31 18:56 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description phil4000n 2021-01-30 13:02:14 UTC
SUMMARY

Kid3 3.8.4-2

Hi,
audio stream in opus, mp3, etc codecs are supported, but not in a mka container.

mka (and mkv, webm) are handy amongst other for:

album picture
chapters (usefull in audiobooks, speeches, etc.)
subtitling (usefull for hard of hearing persons, translations, language learning, etc.)
.opus, .mp3 do not allow such features.

Thanks for adding this feature.


STEPS TO REPRODUCE
1. Open an opus stream into a mka or mkv container

OBSERVED RESULT
You can't create/add tags (title, album, etc.)

EXPECTED RESULT
be able to perform the operation

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 phil4000n 2021-01-31 08:16:42 UTC
either one can add the tags to the audio stream itself OR you add them to the container.

These are two very, very different options or solutions.

I do prefer to add the tags to the stream itself, as if you convert to another container, says webm, by copying the audio stream, you copy at once the tags.
Comment 2 Urs Fleisch 2021-01-31 08:34:22 UTC
I would also like to have Matroska support in Kid3, that's why I migrated the corresponding feature request from SourceForge to GitLab https://invent.kde.org/multimedia/kid3/-/issues/435. However, Kid3 does not parse the metadata itself but uses 3rd party libraries. In the case of Matroska, adding support to TagLib would probably be the best option. There is a pull request for TagLib https://github.com/taglib/taglib/pull/967, however, it is not in a state ready for Kid3, see my comment in this pull request.
Comment 3 phil4000n 2021-01-31 18:39:38 UTC
>However, Kid3 does not parse the metadata itself but uses 3rd party libraries.
Better so.

There ought to be some read/write libraries for mka/mkv and webm.

See:

https://www.matroska.org/downloads/third_party.html
or
https://www.3delite.hu/Object%20Pascal%20Developer%20Resources/MKVTagLibrary.html

ffmpeg can tag to some extend(title, album, etc.) do it.
More brutal would be convert to for instance the mp4 container, do the changes, then convert back the mka/mkv container.
Comment 4 phil4000n 2021-01-31 18:56:14 UTC
https://github.com/Martchus/tagparser