sunnypra / mp4parser

Automatically exported from code.google.com/p/mp4parser
0 stars 0 forks source link

Can not edit tag info of MP4 file #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I try to edit metadata of a MP4 file, the taginfo is stored in file 
successfully. But after that I can not play that MP4 files. 

One more point, if I change the comment value but keep the comment size. For 
example change it from "abcdef" to be "fedcba" it works, can play output file 
also.

Please help me to check it

Original issue reported on code.google.com by th...@synergixtaskhub.com on 14 Dec 2011 at 3:08

Attachments:

GoogleCodeExporter commented 9 years ago
Please help me soon friend, I can not find any mp4parser except you.

Original comment by th...@synergixtaskhub.com on 14 Dec 2011 at 3:10

GoogleCodeExporter commented 9 years ago
Are you using the IsoViewer or the IsoParser? 
The problem will most likely be that the additional data changes the offset of 
the actual video data which is referenced from within the file. You will also 
need to modify the ChunkOffsetBox to correct that.

Original comment by Sebastian.Annies on 15 Dec 2011 at 9:40

GoogleCodeExporter commented 9 years ago
Yes, I'm using isoviewer-1.2.jar

Original comment by th...@synergixtaskhub.com on 21 Dec 2011 at 4:53

GoogleCodeExporter commented 9 years ago
But how can I alter ChunkOffsetBox friends ?
Cann you note down some points

Original comment by th...@synergixtaskhub.com on 21 Dec 2011 at 4:55

GoogleCodeExporter commented 9 years ago
It's no defect. isoviewer is not a metadata editor. It edits boxes. If by your 
edit the offsets in the file become corrupt it's nothing the isoviewer should 
correct by himself.
Closing the defect. If you still require assistance please send a message to 
the mp4parser discussion group.

Original comment by Sebastian.Annies on 12 Mar 2012 at 7:15