Comments (6)
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.
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.
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.
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.
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.
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)
- Default iv size should be 16 HOT 1
- Possible to merge audio clip on top of middle of video? HOT 1
- Fix for pasp atom box HOT 1
- Segfault when combining 2 files on Android. HOT 1
- Wrong duration of tracks after merging few files HOT 3
- AppendExample breaks sometime after r968 HOT 6
- New versions of the library are creating broken mp4 containers HOT 1
- Append task does not work in RC 37 HOT 2
- DefaultMp4Builder gives NPE for longer tracks HOT 1
- video is not trimmed less than 3 seconds.
- support "gnre" box
- Must handle "infinite" durations HOT 2
- Speed-up sample extraction HOT 2
- NullPointerException in MovieCreator.build HOT 2
- Patch for /trunk/isoparser/src/main/java/com/coremedia/iso/IsoFile.java HOT 1
- Problem when append 2 or more mp4
- combine videos crash the app HOT 5
- Merged Video Rotate by 90 degree HOT 1
- Support protocol H264 in transmit via IP address some Camera format h.264 ? HOT 1
- Problem with file appending for very big files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mp4parser.