IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Command Line Tagger For M4A and/or AAC
Makaveli7184
post Jun 6 2013, 11:07
Post #1





Group: Members
Posts: 22
Joined: 21-June 12
Member No.: 100878



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

Also, I've came across some other tools, but faced the following problems:

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

If anyone knows something different regarding the mentioned tools, or if you can suggest other options, please don't hesitate to reply.
Thanks.
Go to the top of the page
+Quote Post
skamp
post Jun 6 2013, 11:10
Post #2





Group: Developer
Posts: 1409
Joined: 4-May 04
From: France
Member No.: 13875



I have searched and come to the same conclusions as you. I need it for m4a tagging in caudec. neroAacTag can't delete tags, and while it accepts replacing some, it returns an error with others, for some mysterious reason.


--------------------
See my profile for measurements, tools and recommendations.
Go to the top of the page
+Quote Post
pbelkner
post Jun 6 2013, 16:31
Post #3





Group: Members
Posts: 412
Joined: 13-June 10
Member No.: 81467



QUOTE (Makaveli7184 @ Jun 6 2013, 12:07) *
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 it serves your needs but have you already tried FFmpeg?
Go to the top of the page
+Quote Post
Makaveli7184
post Jun 6 2013, 18:49
Post #4





Group: Members
Posts: 22
Joined: 21-June 12
Member No.: 100878



QUOTE (pbelkner @ Jun 6 2013, 16:31) *
I don't know whether it serves your needs but have you already tried FFmpeg?

Yes, but no luck with the -metadata switch. But if anyone knows some other way to do it with ffmpeg, it'd be great...

This post has been edited by Makaveli7184: Jun 6 2013, 18:51
Go to the top of the page
+Quote Post
Makaveli7184
post Jun 16 2013, 15:25
Post #5





Group: Members
Posts: 22
Joined: 21-June 12
Member No.: 100878



Did I post in the wrong place, or are there really no tools?
I'd settle for anything (open source or not) at this point that can handle mp4/m4a custom meta fields other than neroAacTag.
Go to the top of the page
+Quote Post
nu774
post Aug 26 2013, 02:44
Post #6





Group: Developer
Posts: 514
Joined: 22-November 10
From: Japan
Member No.: 85902



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

As for neroAacTag, it seems to write moov.udta.tags as well as 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 careful than the case of ID3, since many softwares don't know about moov.udta.tags of Nero.
When you edit some tags in mp4/m4a files formerly tagged by neroAacTag, moov.udta.tags can remain untouched. In short, artist field in moov.udta.meta.ilst can be "foo", but in "moov.udta.tags" it can be "bar" after edits.
Many will show artist as "foo" in this case, but fb2k will show "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/back or something) seems only supported by moov.udta.tags, and there might be more differences.
Go to the top of the page
+Quote Post
nu774
post Aug 26 2013, 14:03
Post #7





Group: Developer
Posts: 514
Joined: 22-November 10
From: Japan
Member No.: 85902



Oh, and I have to mention of ID32 box, that can store ID3v2 tags as the name implies. I don't know how many software use it, but it seems AtomicParsley takes care of it.
AtomicParsley has an option --foobar2000Enema, which is explained as "Eliminates foobar2000's non-compliant so-out-o-spec tagging scheme", but actually it just means Nero style moov.udta.tags that I mentioned in the previous most.
Go to the top of the page
+Quote Post
nu774
post Sep 10 2013, 09:52
Post #8





Group: Developer
Posts: 514
Joined: 22-November 10
From: Japan
Member No.: 85902



QUOTE
AtomicParsley (only supports standard tags or custom 4 chars "atom" fields)

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

For details, read
CODE
atomicparsley --reverseDNS-help

Add to previous posts:
Microsoft seems to use moov.udta.Xtra in addition to moov.udta.meta.ilst of iTunes.
It seems that ID32 box is at least used by Sony music service named "Mora" in Japen (sorry I didn't know that even if I'm a Japanese rolleyes.gif ).
Go to the top of the page
+Quote Post
Makaveli7184
post Oct 5 2013, 04:31
Post #9





Group: Members
Posts: 22
Joined: 21-June 12
Member No.: 100878



QUOTE (nu774 @ Sep 10 2013, 09:52) *
QUOTE
AtomicParsley (only supports standard tags or custom 4 chars "atom" fields)

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

For details, read
CODE
atomicparsley --reverseDNS-help

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?!
Go to the top of the page
+Quote Post
nu774
post Oct 5 2013, 06:16
Post #10





Group: Developer
Posts: 514
Joined: 22-November 10
From: Japan
Member No.: 85902



QUOTE (Makaveli7184 @ Oct 5 2013, 12:31) *
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 old. Try here: https://bitbucket.org/wez/atomicparsley/
Win32 binary at:
https://bitbucket.org/jonhedgerows/atomicparsley/downloads
Go to the top of the page
+Quote Post
Makaveli7184
post Oct 5 2013, 12:12
Post #11





Group: Members
Posts: 22
Joined: 21-June 12
Member No.: 100878



QUOTE (nu774 @ Oct 5 2013, 06:16) *
QUOTE (Makaveli7184 @ Oct 5 2013, 12:31) *
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 old. 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 help, +1 for Japan!!!

BTW, I'm also looking for a command line tag reader that automatically handles the major tag formats (id3v1, id3v2, mp4/itunes, ape, ape2, flac, vorbis, etc..) in the major audio 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 set of application defined fields (i.e. 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 there?
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd July 2014 - 11:43