Javascript required
Skip to content Skip to sidebar Skip to footer

Mac Command Line Tool Read M4a Tags

0 Members and one Guest are viewing this topic.

Command Line Tagger For M4A and/or AAC

I'one thousand looking for a CLI tagging tool that tin handle mp4/m4a and preferably aac too. The catch is that I'm looking for a "Gratis" tool that supports adding custom fields (non standard nero or itunes tags).
The best I've institute and so far is neroaactag which does support calculation custom tags through the -meta-user switch, but the problem with it is that information technology has some known bugs, is simply costless for personal use (i'm looking for something that is preferably free for not commercial distribution) and it does not support aac (adts) formats.
On the other hand, Tag (by instance/synthetic soul) is gratuitous, supports custom tagging of aac (with ape2), only not mp4/m4a.

Also, I've came across another tools, but faced the post-obit bug:

- AtomicParsley (only supports standard tags or custom iv chars "atom" fields).
- mp4box (same as above).
- mp4tags (really sometime and simply supports standard tags).

If anyone knows something different regarding the mentioned tools, or if you tin can suggest other options, please don't hesitate to reply.
Cheers.


Command Line Tagger For M4A and/or AAC

Respond #ane –
I have searched and come to the same conclusions every bit you. I need it for m4a tagging in caudec. neroAacTag tin't delete tags, and while it accepts replacing some, it returns an error with others, for some mysterious reason.

Command Line Tagger For M4A and/or AAC

Reply #2 –
If anyone knows something different regarding the mentioned tools, or if you can suggest other options, please don't hesitate to reply.

I don't know whether information technology serves your needs but accept you already tried FFmpeg?

Command Line Tagger For M4A and/or AAC

Respond #3 –
I don't know whether information technology serves your needs merely have you already tried FFmpeg?

Yes, but no luck with the -metadata switch. Only if anyone knows some other way to exercise information technology with ffmpeg, it'd be neat...

Command Line Tagger For M4A and/or AAC

Answer #4 –
Did I mail in the wrong place, or are there really no tools?
I'd settle for anything (open source or non) at this point that tin handle mp4/m4a custom meta fields other than neroAacTag.

Control Line Tagger For M4A and/or AAC

Respond #5 –
As for ID3 in ADTS, probably you could employ any ID3 tagger, but I don't recommend tagging ADTS.
If you are willing to write some script, you tin endeavor mutagen (Python library).
It can edit ID3, or moov.udta.meta.ilst in MP4. Custom tag (----:com.apple tree.iTunes:...) seems to be supported.

As for neroAacTag, it seems to write moov.udta.tags likewise every bit more common moov.udta.meta.ilst of iTunes. These two boxes share mostly duplicated content like v1/v2 tags of ID3. However, you have to be more than careful than the case of ID3, since many softwares don't know about moov.udta.tags of Nero.
When y'all edit some tags in mp4/m4a files formerly tagged past neroAacTag, moov.udta.tags can remain untouched. In brusque, creative person field in moov.udta.meta.ilst can be "foo", but in "moov.udta.tags" information technology can be "bar" after edits.
Many will show creative person as "foo" in this example, just fb2k will prove "bar" (fb2k seems to give higher priority to moov.udta.tags of Nero). Quite annoying.
I don't know the spec of moov.udta.tags. At least cover art type (front/dorsum or something) seems simply supported past moov.udta.tags, and there might be more differences.


Command Line Tagger For M4A and/or AAC

Reply #6 –
Oh, and I take to mention of ID32 box, that tin can store ID3v2 tags every bit the proper noun implies. I don't know how many software use it, but it seems AtomicParsley takes intendance of information technology.
AtomicParsley has an option --foobar2000Enema, which is explained equally "Eliminates foobar2000'southward not-compliant then-out-o-spec tagging scheme", just actually information technology just means Nero fashion moov.udta.tags that I mentioned in the previous well-nigh.

Control Line Tagger For M4A and/or AAC

Answer #seven –
AtomicParsley (only supports standard tags or custom 4 chars "atom" fields)

This is not correct, since atomicparsley really supports custom tags.
You lot could employ something similar the following:
atomicparsley foo.m4a -o bar.m4a --rDNSatom "your custom value goes here" proper name=yourCustomFieldName domain=com.apples.iTunes

For details, read
atomicparsley --reverseDNS-help

Add to previous posts:
Microsoft seems to use moov.udta.Xtra in add-on to moov.udta.meta.ilst of iTunes.
It seems that ID32 box is at least used by Sony music service named "Mora" in Japen (lamentable I didn't know that fifty-fifty if I'1000 a Japanese  ).

Command Line Tagger For M4A and/or AAC

Reply #8 –
AtomicParsley (simply supports standard tags or custom four chars "atom" fields)

This is not right, since atomicparsley really supports custom tags.
You could utilise something like the following:
atomicparsley foo.m4a -o bar.m4a --rDNSatom "your custom value goes here" name=yourCustomFieldName domain=com.apples.iTunes

For details, read
atomicparsley --reverseDNS-assist

I don't have these options. I got AP from http://atomicparsley.sourceforge.internet/, and I don't have the --rDNSatom choice nor the --reverseDNS-assistance guide... What gives?!

Command Line Tagger For M4A and/or AAC

Reply #ix –
I don't have these options. I got AP from http://atomicparsley.sourceforge.net/, and I don't have the --rDNSatom option nor the --reverseDNS-help guide... What gives?!

That one seems onetime. Effort here: https://bitbucket.org/wez/atomicparsley/
Win32 binary at:
https://bitbucket.org/jonhedgerows/atomicparsley/downloads

Command Line Tagger For M4A and/or AAC

Reply #10 –
I don't accept these options. I got AP from http://atomicparsley.sourceforge.cyberspace/, and I don't accept the --rDNSatom option nor the --reverseDNS-aid guide... What gives?!

That 1 seems erstwhile. Try here: https://bitbucket.org/wez/atomicparsley/
Win32 binary at:
https://bitbucket.org/jonhedgerows/atomicparsley/downloads

Thanks a lot nu774, you've been a huge aid, +one for Nippon!!!

BTW, I'thou also looking for a control line tag reader that automatically handles the major tag formats (id3v1, id3v2, mp4/itunes, ape, ape2, flac, vorbis, etc..) in the major sound containers (mp3, mp4/m4a, adts, flac, ogg, wav). The closest I've come is ffmpeg (through its sister tool ffprobe) which automatically reads and maps tags of various types and formats to a fix of application defined fields (i.due east. Album Artist in id3v2 = TPE2, and in iTunes = aART => both get mapped to album_artist tag in ffprobe). The problem is that ffmpeg doesn't read all tags, it misses many non-basic ones in various formats, and almost never reads 'comment' tags. So is there a universal tag reader out at that place?


Mac Command Line Tool Read M4a Tags

Source: https://hydrogenaud.io/index.php?topic=101222.0