write to a mp4 file?

Post Reply
UidX
User
Posts: 2
Joined: Sun Jan 06, 2013 2:32 pm
Are you a spambot?: no

write to a mp4 file?

Post by UidX » Sun Jan 06, 2013 2:38 pm

Hi, i did a $getid3->analyze to the file i'm trying to write
and the "fileformat" turns out to be "mp4".

i read the write.php and i saw this line of code:
switch (isset($this->ThisFileInfo['fileformat']) ? $this->ThisFileInfo['fileformat'] : '') {
and it seemed as if mp4 is not supported for writing..

is there anyway i can use getid3 to write tags on mp4?
and if i can, what format ($tagwriter->tagformats) should i use?

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

Re: write to a mp4 file?

Post by James Heinrich » Sun Jan 06, 2013 2:57 pm

No.

As noted on the top of http://www.getid3.org/
getID3() can write:
  • ID3v1 (v1 & v1.1)
  • ID3v2 (v2.3, v2.4)
  • APE (v2)
  • Ogg Vorbis comments
  • FLAC comments
MP4 is basically Quicktime and is not supported for writing.

Post Reply