Author |
Message |
disciple
Joined: 20 May 2006 Posts: 6781 Location: Auckland, New Zealand
|
Posted: Sat 15 Dec 2007, 02:18 Post subject:
|
|
I saw the source code for a command line mp4 tag editor for Windows - it wouldn't compile in Puppy, but I could track it down again if someone with knowledge of C or something thought it would be useful.
|
Back to top
|
|
 |
tempestuous
Joined: 10 Jun 2005 Posts: 5468 Location: Australia
|
Posted: Sat 15 Dec 2007, 06:50 Post subject:
|
|
plinej wrote: | Are there cli tools that you can use to view/edit tags in ape or m4a/mp4 formats? |
The aac/m4a/mp4 formats apparently use conventional ID3 tags, so the id3lib utilities should (?) be compatible.
I have no experience with ape, but a Google search reveals that this format uses APEv2 tags -
http://en.wikipedia.org/wiki/APE_tag
A commandline tag utility for APEv2 is Apetag from
http://www.muth.org/Robert/Apetag/
|
Back to top
|
|
 |
Dougal

Joined: 19 Oct 2005 Posts: 2504 Location: Hell more grotesque than any medieval woodcut
|
Posted: Sat 15 Dec 2007, 08:34 Post subject:
|
|
tempestuous wrote: | plinej wrote: | Are there cli tools that you can use to view/edit tags in ape or m4a/mp4 formats? |
The aac/m4a/mp4 formats apparently use conventional ID3 tags, so the id3lib utilities should (?) be compatible. |
It might be worth looking at the faad2 package, but I also know that Easytag uses a cutdown version of libmp4v2, so that might be worth looking at.
_________________ What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1554
|
Posted: Sat 15 Dec 2007, 11:13 Post subject:
|
|
I tried to tag some m4a files I have with id3tag and they seemed to take but when I tried to play them with mplayer they are now unplayable. They played just fine before I tried to tag them. I'll try and figure something out though.
|
Back to top
|
|
 |
tempestuous
Joined: 10 Jun 2005 Posts: 5468 Location: Australia
|
Posted: Sat 15 Dec 2007, 13:15 Post subject:
|
|
I did some more reading about MP4 tagging. ID3 metadata is definitely compatible, but there's some extra iTunes-related stuff in there as well. So any MP4 tagging applications problably need to be aware of this extra metadata, to avoid corrupting it.
As Dougal mentioned, Easytag can be compiled with AAC support using libmp4v2 as a dependency ... but Jason probably wants only the backend components.
The MPEG4IP project provides this libmp4v2 library, plus various utilities including the commandline tagger "mp4tags".
http://mpeg4ip.sourceforge.net/index.php
Alternatively, there is "AtomicParsley" which seems to take the tagging concept a step further by modifying the iTunes asset identification.
http://atomicparsley.sourceforge.net/
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1554
|
Posted: Sat 15 Dec 2007, 15:46 Post subject:
|
|
Thanks, I'll take a look at those projects soon.
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1554
|
Posted: Sat 15 Dec 2007, 21:53 Post subject:
|
|
Those m4a files that I tried to tag with id3tag and won't play in mplayer anymore, can't even be decoded by ffmpeg or faad2. Oh well, just test files. I did just compile AtomicParsley & Apetag so I'm going to see how well those programs work and then incorporate them into pmetatagger if they work.
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1554
|
Posted: Sun 16 Dec 2007, 13:20 Post subject:
|
|
I just added ape support via apetag. It's supposed to work with mpc files too so I'm going to try them as well. I'll have to modify the gui a bit to support m4a/mp4 files via AtomicParsley since itunes uses a lot of tagging fields. It'll probably be tabbed when m4a/mp4 filetypes are selected. When I finish that up, I'll add the features to Pcdripper too.
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1554
|
Posted: Mon 17 Dec 2007, 00:08 Post subject:
|
|
0.6 is now up.
This adds support for m4a, mp4, mpc, mpp, & ape file formats.
You'll need "apetag" in your $PATH for ape, mpc, & mpp.
You'll need "AtomicParsley" in your $PATH for m4a & mp4.
I'll attach the binaries I'm using, just unpack and put them in your $PATH.
Description |
|

Download |
Filename |
apetag.tar.gz |
Filesize |
27.18 KB |
Downloaded |
720 Time(s) |
Description |
|

Download |
Filename |
AtomicParsley.tar.gz |
Filesize |
60.75 KB |
Downloaded |
690 Time(s) |
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1554
|
Posted: Mon 17 Dec 2007, 16:33 Post subject:
|
|
I just added an option to dump the existing tags via a button click. This will save all the tag information to the directory where your file is. The file will be "Your-audio-file".ptag. This file is a just a basic text file that can be opened read & edited if need be. You can then use that ptag file to tag a new file from within pmetatagger. I'll work out a command line option to use a ptag file on a specific audio file which will bypass the gui. This will be especially useful in an audio conversion program to dump the existing tag and re-use it for the newly encoded file.
Now to restructure the program so it dumps the tags before the gui starts. Should've done that to begin with but I didn't think of the importance until now. This way you can view & dump the tags in a standard and useable way from the command line.
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1554
|
Posted: Mon 17 Dec 2007, 19:28 Post subject:
|
|
0.7 is now posted.
This has a bugfix, loading a single file from within the gui was broken, now fixed. I also added the dump tag information as noted above, and incorporated some new command line only techniques to dump the tag and use it on a different file. For more info enter at the cli:
# pmetatagger --help
One of these days I'll start work on a new pawdioconverter that will save tags by using the pmetatagger command line switches.
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1554
|
Posted: Tue 18 Dec 2007, 11:33 Post subject:
|
|
0.8 is now up.
Nothing new, just cleaned up some code and fixed a bug.
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1554
|
Posted: Tue 18 Dec 2007, 12:50 Post subject:
|
|
I read that wavpack (.wv) & optimfrog (.ofr) files accept APEv2 tags so I'll experiment with that and add the filetypes to the gui if successful. I need to find a .wma tag editor. Currently in pcdripper I'm using ffmpeg as the encoder for that format and even though ffmpeg supposedly accepts:
-year
-title
-author
-copyright
-comment
-album
-track
It seems that mplayer only notices title and author for ffmpeg encoded wma's. I don't see a way to use ffmpeg to view/edit tags though.
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1554
|
Posted: Tue 18 Dec 2007, 14:14 Post subject:
|
|
0.9 is now up.
This adds optimfrog (.ofr) & wavpack (.wv) lossless audio formats. You'll need apetag installed for them to work.
|
Back to top
|
|
 |
plinej
Joined: 13 Aug 2006 Posts: 1554
|
Posted: Tue 18 Dec 2007, 14:40 Post subject:
|
|
0.9.1 is up
I was reading the Atomic Parsley web page and noticed there was also support for m4b, m4p, & m4v files so I added them to the gui as well.
|
Back to top
|
|
 |
|