Account Options

  1. Sign in
Google Groups Home
« Groups Home
Cannot add iTunes Meta Tags to file that doesn't already have some
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
donmesserli  
View profile  
 More options Jul 28 2009, 6:09 pm
From: donmesserli <donmesse...@gmail.com>
Date: Tue, 28 Jul 2009 15:09:42 -0700 (PDT)
Local: Tues, Jul 28 2009 6:09 pm
Subject: Cannot add iTunes Meta Tags to file that doesn't already have some
I've tried writing a program and using MP4TagsStore(), etc. to add
iTunes Meta Tags to a file that doesn't have any.  The tags aren't
written to the file.

I then tried doing it with the command-line tool mp4tags and the same
thing happened.

In either case, if the file already had some tags, it works.

Am I doing something wrong or is this a limitation of the library?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Edward Groenendaal  
View profile  
 More options Jul 28 2009, 7:19 pm
From: Edward Groenendaal <ed...@myreflection.org>
Date: Wed, 29 Jul 2009 11:19:30 +1200
Local: Tues, Jul 28 2009 7:19 pm
Subject: Re: [mp4v2] Cannot add iTunes Meta Tags to file that doesn't already have some

Hi,

That is interesting, and no should not be a limitation of the library.

I guess it is related to the opening of the file using MP4Modify() and  
there not being enough existing room for the metadata.

Try instrumenting the code somewhat to see what is going on, in  
particular mp4v2/src/itmf/Tags.cpp.

How are you generating these MP4s in the first place?

Cheers, Ed.

On 29/07/2009, at 10:09 AM, donmesserli wrote:

  smime.p7s
2K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
donmesserli  
View profile  
 More options Jul 29 2009, 11:20 am
From: donmesserli <donmesse...@gmail.com>
Date: Wed, 29 Jul 2009 08:20:22 -0700 (PDT)
Local: Wed, Jul 29 2009 11:20 am
Subject: Re: Cannot add iTunes Meta Tags to file that doesn't already have some
The files were converted from alac to aac using afconvert.  I will do
some debugging.  Am I right that the tags aren't actually written to
the file until MP4Close() is called?

Don

On Jul 28, 6:19 pm, Edward Groenendaal <ed...@myreflection.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
donmesserli  
View profile  
 More options Jul 31 2009, 12:01 pm
From: donmesserli <donmesse...@gmail.com>
Date: Fri, 31 Jul 2009 09:01:18 -0700 (PDT)
Local: Fri, Jul 31 2009 12:01 pm
Subject: Re: Cannot add iTunes Meta Tags to file that doesn't already have some
I've found out where it is happening...

MP4TagsStore() calls
Tags::c_store calls
Tags::storeString calls
Tags::store calls
genericAddItem which includes the code...

 MP4Atom* ilst = file.FindAtom( "moov.udta.meta.ilst" );
    if( !ilst )
        return false;

Since the atom can't be found, it returns and does nothing.
The atom isn't there because there isn't any metadata in the file yet.

It appears that I might be able to work at a lower level (i.e.
MP4File) and create the atom. Ideas?

Don

On Jul 29, 10:20 am, donmesserli <donmesse...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Edward Groenendaal  
View profile  
 More options Jul 31 2009, 3:37 pm
From: Edward Groenendaal <ed...@me.com>
Date: Sat, 01 Aug 2009 07:37:45 +1200
Local: Fri, Jul 31 2009 3:37 pm
Subject: Re: [mp4v2] Re: Cannot add iTunes Meta Tags to file that doesn't already have some
Well done on finding it.

I think we should change the code in the lib to create the atom if it  
isn't found.

I've only got iPhone ineternet access at the moment so can't work on  
this for a little while.

Cheers Ed.

On 1/08/2009, at 4:01, donmesserli <donmesse...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Don Messerli  
View profile  
 More options Aug 12 2009, 11:19 am
From: Don Messerli <donmesse...@gmail.com>
Date: Wed, 12 Aug 2009 10:19:39 -0500
Local: Wed, Aug 12 2009 11:19 am
Subject: Re: [mp4v2] Re: Cannot add iTunes Meta Tags to file that doesn't already have some

Should I add this as a new issue on the Google Code page?

Don


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kona Blend  
View profile  
 More options Aug 17 2009, 7:56 pm
From: Kona Blend <kona8l...@gmail.com>
Date: Mon, 17 Aug 2009 19:56:46 -0400
Local: Mon, Aug 17 2009 7:56 pm
Subject: Re: [mp4v2] Re: Cannot add iTunes Meta Tags to file that doesn't already have some
trunk has this fixed a while back. see r344:
http://code.google.com/p/mp4v2/source/detail?r=344

-kb

On Jul 31, 2009, at 12:01 PM, donmesserli wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeremy Noring  
View profile  
 More options Aug 17 2009, 8:11 pm
From: Jeremy Noring <kid...@gmail.com>
Date: Mon, 17 Aug 2009 17:11:22 -0700 (PDT)
Local: Mon, Aug 17 2009 8:11 pm
Subject: Re: Cannot add iTunes Meta Tags to file that doesn't already have some
On Jul 31, 12:37 pm, Edward Groenendaal <ed...@me.com> wrote:

> Well done on finding it.

> I think we should change the code in the lib to create the atom if it  
> isn't found.

> I've only got iPhone ineternet access at the moment so can't work on  
> this for a little while.

It looks like this has already been fixed in the trunk:

http://code.google.com/p/mp4v2/source/browse/trunk/src/itmf/generic.cpp

...I ran into this bug as well.  Any idea when a new release is due
out?  So far I'm loving the library, but this is my hitch so far.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »