stife / mp4parser

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

Size of box "stco" #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Open the attached file foo1.mp4 and examing box "stco". It shows the size = 
16.
2.Open the second attached file foo1.mp4 and examine box "fooo". It shows size 
= 32.

The two files are identical except the tag of a box. The tag is "stco" for the 
first file and "fooo" for the second file.

The expected size is 32 for the box.

Original issue reported on code.google.com by hz01...@gmail.com on 24 Jun 2011 at 4:58

Attachments:

GoogleCodeExporter commented 9 years ago
Dear H, 

the problem  with different sizes comes from a specialty of the IsoViewer. It 
tries to automatically recalculate the 'stco' box so that you may change some 
boxes' length and still have a valid MP4 file that players will accept. 
Obviously this calculation goes wrong! Please compile the current trunk by 
yourself (if you can) - the automatic stco box is deactivated there. 

BUT: These file are suspicious. I cannot read and write the files without 
introducing a change but I should easily be able to read the files writes and 
they should be byte-wise equal.

I'll look into that tomorrow.

the moment there is something wrong

Original comment by Sebastian.Annies on 24 Jun 2011 at 6:19

GoogleCodeExporter commented 9 years ago
Thanks a lot, Sabastia, for your prompt response.

Those files are just test files so please do not take them too seriously. 
However, the box structures of these fils should be correct.

I will try to compile the files.  It has been a while since I last compiled a 
java project.

BTW, I joined the discussion group but my message to 
mp4parser-discussion@googlegroups.com was rejected.

Hong

Original comment by hz01...@gmail.com on 24 Jun 2011 at 6:48

GoogleCodeExporter commented 9 years ago
Hi Sabastia,

I tried to retrieve the soruce code form:
http://mp4parser.googtecode.com/svn/trunk/mp4parser-read-only
but kepting getting errors.  Is the above url still valid?

Hong

Original comment by hz01...@gmail.com on 25 Jun 2011 at 12:11

GoogleCodeExporter commented 9 years ago
you got a spelling problem in the url. 

regarding foo1.mp4:
 The hdlr box contains a non-null-terminated string. This was causing a little problem in my tests since my parser will correct that. 

Please describe your problem with the google group! Do you think it is a 
problem I can correct? 

Original comment by Sebastian.Annies on 26 Jun 2011 at 4:04

GoogleCodeExporter commented 9 years ago
I am sorry for the spelling error.  I used OCR to convert the url image on the 
source page to text, apparent the OCR mistakes "l" as "t".
I tried again but got the following error:
URL 'http://mp4parser.googlecode.com/svn/trunk/mp4parser-read-only' doesn't 
exist

I have realized the discussion group issue is probably related to which the 
email address that I use to send out.  The sent email address needs be exactly 
the same as the one registered at google.

Original comment by hz01...@gmail.com on 26 Jun 2011 at 5:36

GoogleCodeExporter commented 9 years ago
svn co http://mp4parser.googlecode.com/svn/trunk/  mp4parser-read-only

mp4parser-read-only was as the argument to the svn checkout 

 http://mp4parser.googlecode.com/svn/trunk/ exists.

Original comment by Sebastian.Annies on 26 Jun 2011 at 5:45

GoogleCodeExporter commented 9 years ago
Hi Sebastian,

Attached is the file related to our discussion.

Original comment by hz01...@gmail.com on 5 Jul 2011 at 5:54

Attachments:

GoogleCodeExporter commented 9 years ago
I don't know what to do here. Closing.

Original comment by Sebastian.Annies on 4 Nov 2011 at 10:38