Git Product home page Git Product logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
The value is calculated and not actually read! Please always keep in mind that 
the parser interprets the boxes. It may show things that are actually not in 
the file.

Original comment by Sebastian.Annies on 10 Jul 2011 at 7:47

from mp4parser.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
sorry - I misunderstood your comment. 

The default value is 0. But there is no value! 0 is just the default. I just 
changed it to -1 to make clear that there is no value

Original comment by Sebastian.Annies on 10 Jul 2011 at 8:03

from mp4parser.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
Hi Sebastian, thanks for looking into this.

I am not sure that I fully understand what you mean by "there is no value". The 
flags are 11, both baseDataOffset and defaultSampleSize are present.  I am 
using isoviewer-1.1-SNAPSHOT.jar to look at the file now and it looks fine. In 
other words isoviewer-1.1-SNAPSHOT.jar works pretty much as expected. It seems 
it displays all fields regardless of the flags.  

Original comment by [email protected] on 10 Jul 2011 at 9:03

from mp4parser.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
The Object has a field 'defaultSampleSize'. The type of the field is 'long'. I 
cannot make the value disappear. The field always contains a value and by 
default '0'. I could switch to 'Long' to have the possibility to put a 'null' 
into the field but I think it's ok to have a '-1' to represent 'no value 
available'.

Original comment by Sebastian.Annies on 11 Jul 2011 at 6:42

from mp4parser.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
Sebastian, I think there is some misunderstanding or miscommunication here.
What I meant is the following:
When the flags are 11, the following should be present:
 1. baseDataOffset 
 2. defaultSampleSize
The other fields such as defaultSampleDuration should not be present.

The original version of isoviewer does NOT show baseDataOffset, 
defaultSampleSize, but shows defaultSampleDuration. I thought this is incorrect.

isoviewer-1.1-SNAPSHOT.jar shows baseDataOffset, defaultSampleSize correclty, 
and shows 0 for other fields such as defaultSampleDuration.  I think this is 
not desirable, but it is OK if someone knows that 0 may mean the field is not 
present.

Original comment by [email protected] on 11 Jul 2011 at 9:10

from mp4parser.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 18, 2024
I'm not going to change anything here but will accept patches.

Original comment by Sebastian.Annies on 5 Sep 2011 at 10:27

  • Changed state: WontFix

from mp4parser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.