Treieve id3 tag from mp4 video file?

Locked
American horizon
User
Posts: 5
Joined: Tue Oct 30, 2012 3:36 pm
Are you a spambot?: no

Treieve id3 tag from mp4 video file?

Post by American horizon » Tue Oct 30, 2012 3:41 pm

Hi

Is it possible to retrieve the id3tags from an mp4 video file? The official documentation tells "mp4" only under audio formats... I need to apply it on video-audio files

James Heinrich
getID3() v1 developer
Posts: 1457
Joined: Fri May 04, 2001 4:00 pm
Are you a spambot?: no
Location: Northern Ontario, Canada
Contact:

Re: Treieve id3 tag from mp4 video file?

Post by James Heinrich » Tue Oct 30, 2012 4:04 pm

MP4 doesn't support ID3 tags, so no.

But getID3() should be able to retrieve applicable metadata from either audio or video files that are labeled ".mp4" (exacty contents may vary, depending on who or what created the file, but it's almost always some derivative of QuickTime file format).

edit: I've added "mp4" as a side note to Quicktime under video format support) on the main page.

American horizon
User
Posts: 5
Joined: Tue Oct 30, 2012 3:36 pm
Are you a spambot?: no

Re: Treieve id3 tag from mp4 video file?

Post by American horizon » Tue Oct 30, 2012 5:25 pm

I've some mp4 video files that have information about title, author, genre etc etc..and i can edit it too (in windows, right click on it-->proprieties --> details tab). But i'm not sure that are effectively id3 information... uhm... What they are? There are some possibility to read it server side?

James Heinrich
getID3() v1 developer
Posts: 1457
Joined: Fri May 04, 2001 4:00 pm
Are you a spambot?: no
Location: Northern Ontario, Canada
Contact:

Re: Treieve id3 tag from mp4 video file?

Post by James Heinrich » Tue Oct 30, 2012 5:34 pm

The metadata there would (typically) be store in Quicktime comment structures. getID3 will readily read all that data.

American horizon
User
Posts: 5
Joined: Tue Oct 30, 2012 3:36 pm
Are you a spambot?: no

Re: Treieve id3 tag from mp4 video file?

Post by American horizon » Tue Oct 30, 2012 8:21 pm

Sorry i don't understand.. This information stored inside the mp4 file that i'm talking about, are called "metadata" or "id3" ?
And i also don't understand what is the relationship between quicktime and mp4

James Heinrich
getID3() v1 developer
Posts: 1457
Joined: Fri May 04, 2001 4:00 pm
Are you a spambot?: no
Location: Northern Ontario, Canada
Contact:

Re: Treieve id3 tag from mp4 video file?

Post by James Heinrich » Tue Oct 30, 2012 8:28 pm

ID3v1 and ID3v2 are two tag formats primarily used on mp3 files, which have no "official" tag format since the format was not developed with its current use in mind. You may possibly also see other tag formats (e.g. APE, Lyrics3) in use on MP3 files.

Quicktime file format, from which MP4 is derived, does has an official native tagging scheme. It's not the same format as ID3v1 or ID3v2, but it is capable of representing most of the same information.

getID3 can abstract the details of all the tagging formats for you, you can just look in [comments][title] (for example) in the returned data of any file format and find what you expect to find, without worrying about all the details of exactly where and how that information is hiding in the file.

American horizon
User
Posts: 5
Joined: Tue Oct 30, 2012 3:36 pm
Are you a spambot?: no

Re: Treieve id3 tag from mp4 video file?

Post by American horizon » Tue Oct 30, 2012 8:52 pm

Ok, thank you so much for the reply

But technically this tagging scheme used by mp4 files, have a name?

Pernod
getID3() contributor
Posts: 103
Joined: Sat Mar 21, 2009 5:30 pm
Are you a spambot?: no
Location: London, UK
Contact:

Re: Treieve id3 tag from mp4 video file?

Post by Pernod » Tue Oct 30, 2012 9:17 pm

American horizon wrote:But technically this tagging scheme used by mp4 files, have a name?
Yes, QuickTime.

American horizon
User
Posts: 5
Joined: Tue Oct 30, 2012 3:36 pm
Are you a spambot?: no

Re: Treieve id3 tag from mp4 video file?

Post by American horizon » Mon Nov 05, 2012 11:01 am

Another question. There aren't anty kind of sapport for flv files?

James Heinrich
getID3() v1 developer
Posts: 1457
Joined: Fri May 04, 2001 4:00 pm
Are you a spambot?: no
Location: Northern Ontario, Canada
Contact:

Re: Treieve id3 tag from mp4 video file?

Post by James Heinrich » Mon Nov 05, 2012 12:55 pm

Sure there is.

Locked